@appsemble/lang-sdk 0.40.3 → 0.40.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/lang-sdk",
3
- "version": "0.40.3",
3
+ "version": "0.40.4",
4
4
  "description": "Language SDK for Appsemble",
5
5
  "keywords": [
6
6
  "app",
@@ -40,7 +40,7 @@ pages:
40
40
  pages: {
41
41
  type: 'array',
42
42
  minItems: 1,
43
- description: 'The pages of the app.',
43
+ description: 'The pages grouped in this container. These may be container pages themselves.',
44
44
  items: {
45
45
  anyOf: [
46
46
  { $ref: '#/components/schemas/PageDefinition' },
@@ -21,6 +21,15 @@ export const ResourceQueryActionDefinition = extendJSONSchema(RequestActionDefin
21
21
  type: 'string',
22
22
  description: 'The view to use for the resource.',
23
23
  },
24
+ query: {
25
+ $ref: '#/components/schemas/RemapperDefinition',
26
+ description: `A remapper that results in either an object containing each property of the query
27
+ string, or a string that gets passed through as-is.
28
+
29
+ Supported query parameters are \`$filter\`, \`$orderby\`, \`$select\`, \`$top\` (the maximum number of
30
+ resources to return) and \`$skip\` (the number of resources to skip). Combine \`$top\` and \`$skip\`
31
+ with \`$orderby\` to get stable pages.`,
32
+ },
24
33
  own: {
25
34
  type: 'boolean',
26
35
  description: 'If only the resources created by the authenticated app member should be included',