Improve naming of REST pagination parameters

This commit is contained in:
Andrew Kingston 2022-01-07 11:03:31 +00:00
parent bf22c5130f
commit 54ad2237ea
1 changed files with 5 additions and 5 deletions

View File

@ -361,19 +361,19 @@
/> />
<Input <Input
label={query.fields.pagination.type === "page" label={query.fields.pagination.type === "page"
? "Page number parameter" ? "Page number parameter name "
: "Request cursor parameter"} : "Request cursor parameter name"}
bind:value={query.fields.pagination.pageParam} bind:value={query.fields.pagination.pageParam}
/> />
<Input <Input
label={query.fields.pagination.type === "page" label={query.fields.pagination.type === "page"
? "Page size parameter" ? "Page size parameter name"
: "Request limit parameter"} : "Request limit parameter name"}
bind:value={query.fields.pagination.sizeParam} bind:value={query.fields.pagination.sizeParam}
/> />
{#if query.fields.pagination.type === "cursor"} {#if query.fields.pagination.type === "cursor"}
<Input <Input
label="Response body parameter for cursor" label="Response body parameter name for cursor"
bind:value={query.fields.pagination.responseParam} bind:value={query.fields.pagination.responseParam}
/> />
{/if} {/if}