@appsemble/utils 0.33.5 → 0.33.9
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/README.md +3 -3
- package/api/components/schemas/App.js +5 -1
- package/api/components/schemas/BlockVersion.js +6 -1
- package/api/components/schemas/index.d.ts +0 -118
- package/api/components/schemas/index.js +0 -118
- package/api/paths/appTemplates.js +12 -3
- package/appMessages.d.ts +2 -2
- package/appMessages.js +1 -1
- package/authorization.d.ts +1 -11
- package/authorization.js +1 -163
- package/constants/index.d.ts +0 -2
- package/constants/index.js +0 -2
- package/formatRequestAction.d.ts +1 -1
- package/index.d.ts +2 -14
- package/index.js +2 -14
- package/miscellaneous.d.ts +5 -13
- package/miscellaneous.js +6 -33
- package/package.json +3 -2
- package/theme.d.ts +1 -1
- package/theme.js +1 -1
- package/types.d.ts +1 -1
- package/validateAppMessages.d.ts +2 -1
- package/validateAppMessages.js +2 -2
- package/allActions.d.ts +0 -3
- package/allActions.js +0 -11
- package/api/components/schemas/ActionDefinition.d.ts +0 -2
- package/api/components/schemas/ActionDefinition.js +0 -95
- package/api/components/schemas/AnalyticsActionDefinition.d.ts +0 -1
- package/api/components/schemas/AnalyticsActionDefinition.js +0 -25
- package/api/components/schemas/AppDefinition.d.ts +0 -2
- package/api/components/schemas/AppDefinition.js +0 -126
- package/api/components/schemas/AppLayoutDefinition.d.ts +0 -2
- package/api/components/schemas/AppLayoutDefinition.js +0 -46
- package/api/components/schemas/AppMemberCurrentPatchActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberCurrentPatchActionDefinition.js +0 -30
- package/api/components/schemas/AppMemberDeleteActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberDeleteActionDefinition.js +0 -20
- package/api/components/schemas/AppMemberInviteActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberInviteActionDefinition.js +0 -24
- package/api/components/schemas/AppMemberLoginActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberLoginActionDefinition.js +0 -24
- package/api/components/schemas/AppMemberLogoutActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberLogoutActionDefinition.js +0 -14
- package/api/components/schemas/AppMemberPropertiesPatchActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberPropertiesPatchActionDefinition.js +0 -26
- package/api/components/schemas/AppMemberPropertyDefinition.d.ts +0 -2
- package/api/components/schemas/AppMemberPropertyDefinition.js +0 -49
- package/api/components/schemas/AppMemberQueryActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberQueryActionDefinition.js +0 -24
- package/api/components/schemas/AppMemberRegisterActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberRegisterActionDefinition.js +0 -43
- package/api/components/schemas/AppMemberRoleUpdateActionDefinition.d.ts +0 -1
- package/api/components/schemas/AppMemberRoleUpdateActionDefinition.js +0 -27
- package/api/components/schemas/AppMembersDefinition.d.ts +0 -2
- package/api/components/schemas/AppMembersDefinition.js +0 -17
- package/api/components/schemas/ArrayRemapperDefinition.d.ts +0 -2
- package/api/components/schemas/ArrayRemapperDefinition.js +0 -22
- package/api/components/schemas/BaseActionDefinition.d.ts +0 -2
- package/api/components/schemas/BaseActionDefinition.js +0 -10
- package/api/components/schemas/BaseJSONSchema.d.ts +0 -2
- package/api/components/schemas/BaseJSONSchema.js +0 -24
- package/api/components/schemas/BasePageDefinition.d.ts +0 -2
- package/api/components/schemas/BasePageDefinition.js +0 -92
- package/api/components/schemas/BlockDefinition.d.ts +0 -2
- package/api/components/schemas/BlockDefinition.js +0 -94
- package/api/components/schemas/ConditionActionDefinition.d.ts +0 -1
- package/api/components/schemas/ConditionActionDefinition.js +0 -30
- package/api/components/schemas/ContainerDefinition.d.ts +0 -2
- package/api/components/schemas/ContainerDefinition.js +0 -52
- package/api/components/schemas/ContainerPageDefinition.d.ts +0 -1
- package/api/components/schemas/ContainerPageDefinition.js +0 -56
- package/api/components/schemas/ControllerActionDefinition.d.ts +0 -1
- package/api/components/schemas/ControllerActionDefinition.js +0 -18
- package/api/components/schemas/ControllerDefinition.d.ts +0 -2
- package/api/components/schemas/ControllerDefinition.js +0 -17
- package/api/components/schemas/CronDefinition.d.ts +0 -2
- package/api/components/schemas/CronDefinition.js +0 -20
- package/api/components/schemas/CsvParseActionDefinition.d.ts +0 -1
- package/api/components/schemas/CsvParseActionDefinition.js +0 -22
- package/api/components/schemas/CustomFontDefinition.d.ts +0 -2
- package/api/components/schemas/CustomFontDefinition.js +0 -20
- package/api/components/schemas/DialogActionDefinition.d.ts +0 -1
- package/api/components/schemas/DialogActionDefinition.js +0 -40
- package/api/components/schemas/DialogErrorActionDefinition.d.ts +0 -1
- package/api/components/schemas/DialogErrorActionDefinition.js +0 -17
- package/api/components/schemas/DialogOkActionDefinition.d.ts +0 -1
- package/api/components/schemas/DialogOkActionDefinition.js +0 -17
- package/api/components/schemas/DownloadActionDefinition.d.ts +0 -1
- package/api/components/schemas/DownloadActionDefinition.js +0 -19
- package/api/components/schemas/EachActionDefinition.d.ts +0 -1
- package/api/components/schemas/EachActionDefinition.js +0 -26
- package/api/components/schemas/EmailActionDefinition.d.ts +0 -1
- package/api/components/schemas/EmailActionDefinition.js +0 -54
- package/api/components/schemas/EventActionDefinition.d.ts +0 -1
- package/api/components/schemas/EventActionDefinition.js +0 -27
- package/api/components/schemas/EventsDefinition.d.ts +0 -2
- package/api/components/schemas/EventsDefinition.js +0 -29
- package/api/components/schemas/FilterParametersDefinition.d.ts +0 -2
- package/api/components/schemas/FilterParametersDefinition.js +0 -15
- package/api/components/schemas/FlowBackActionDefinition.d.ts +0 -1
- package/api/components/schemas/FlowBackActionDefinition.js +0 -16
- package/api/components/schemas/FlowCancelActionDefinition.d.ts +0 -1
- package/api/components/schemas/FlowCancelActionDefinition.js +0 -14
- package/api/components/schemas/FlowFinishActionDefinition.d.ts +0 -1
- package/api/components/schemas/FlowFinishActionDefinition.js +0 -16
- package/api/components/schemas/FlowNextActionDefinition.d.ts +0 -1
- package/api/components/schemas/FlowNextActionDefinition.js +0 -17
- package/api/components/schemas/FlowPageActionsDefinition.d.ts +0 -2
- package/api/components/schemas/FlowPageActionsDefinition.js +0 -23
- package/api/components/schemas/FlowPageDefinition.d.ts +0 -1
- package/api/components/schemas/FlowPageDefinition.js +0 -37
- package/api/components/schemas/FlowToActionDefinition.d.ts +0 -1
- package/api/components/schemas/FlowToActionDefinition.js +0 -21
- package/api/components/schemas/GoogleFontDefinition.d.ts +0 -2
- package/api/components/schemas/GoogleFontDefinition.js +0 -22
- package/api/components/schemas/GroupMemberDeleteActionDefinition.d.ts +0 -1
- package/api/components/schemas/GroupMemberDeleteActionDefinition.js +0 -18
- package/api/components/schemas/GroupMemberInviteActionDefinition.d.ts +0 -1
- package/api/components/schemas/GroupMemberInviteActionDefinition.js +0 -26
- package/api/components/schemas/GroupMemberQueryActionDefinition.d.ts +0 -1
- package/api/components/schemas/GroupMemberQueryActionDefinition.js +0 -18
- package/api/components/schemas/GroupMemberRoleUpdateActionDefinition.d.ts +0 -1
- package/api/components/schemas/GroupMemberRoleUpdateActionDefinition.js +0 -22
- package/api/components/schemas/GroupQueryActionDefinition.d.ts +0 -1
- package/api/components/schemas/GroupQueryActionDefinition.js +0 -14
- package/api/components/schemas/JSONPointer.d.ts +0 -1
- package/api/components/schemas/JSONPointer.js +0 -20
- package/api/components/schemas/JSONSchema.d.ts +0 -2
- package/api/components/schemas/JSONSchema.js +0 -20
- package/api/components/schemas/JSONSchemaAnyOf.d.ts +0 -1
- package/api/components/schemas/JSONSchemaAnyOf.js +0 -26
- package/api/components/schemas/JSONSchemaArray.d.ts +0 -1
- package/api/components/schemas/JSONSchemaArray.js +0 -47
- package/api/components/schemas/JSONSchemaBoolean.d.ts +0 -1
- package/api/components/schemas/JSONSchemaBoolean.js +0 -37
- package/api/components/schemas/JSONSchemaConst.d.ts +0 -1
- package/api/components/schemas/JSONSchemaConst.js +0 -16
- package/api/components/schemas/JSONSchemaEnum.d.ts +0 -1
- package/api/components/schemas/JSONSchemaEnum.js +0 -36
- package/api/components/schemas/JSONSchemaInteger.d.ts +0 -1
- package/api/components/schemas/JSONSchemaInteger.js +0 -55
- package/api/components/schemas/JSONSchemaMultiType.d.ts +0 -1
- package/api/components/schemas/JSONSchemaMultiType.js +0 -48
- package/api/components/schemas/JSONSchemaNot.d.ts +0 -1
- package/api/components/schemas/JSONSchemaNot.js +0 -23
- package/api/components/schemas/JSONSchemaNull.d.ts +0 -1
- package/api/components/schemas/JSONSchemaNull.js +0 -16
- package/api/components/schemas/JSONSchemaNumber.d.ts +0 -1
- package/api/components/schemas/JSONSchemaNumber.js +0 -63
- package/api/components/schemas/JSONSchemaObject.d.ts +0 -1
- package/api/components/schemas/JSONSchemaObject.js +0 -74
- package/api/components/schemas/JSONSchemaOneOf.d.ts +0 -1
- package/api/components/schemas/JSONSchemaOneOf.js +0 -24
- package/api/components/schemas/JSONSchemaRemapper.d.ts +0 -1
- package/api/components/schemas/JSONSchemaRemapper.js +0 -19
- package/api/components/schemas/JSONSchemaRoot.d.ts +0 -1
- package/api/components/schemas/JSONSchemaRoot.js +0 -21
- package/api/components/schemas/JSONSchemaString.d.ts +0 -1
- package/api/components/schemas/JSONSchemaString.js +0 -107
- package/api/components/schemas/LinkActionDefinition.d.ts +0 -1
- package/api/components/schemas/LinkActionDefinition.js +0 -29
- package/api/components/schemas/LinkBackActionDefinition.d.ts +0 -1
- package/api/components/schemas/LinkBackActionDefinition.js +0 -14
- package/api/components/schemas/LinkNextActionDefinition.d.ts +0 -1
- package/api/components/schemas/LinkNextActionDefinition.js +0 -14
- package/api/components/schemas/LogActionDefinition.d.ts +0 -1
- package/api/components/schemas/LogActionDefinition.js +0 -22
- package/api/components/schemas/LoopPageActionsDefinition.d.ts +0 -2
- package/api/components/schemas/LoopPageActionsDefinition.js +0 -24
- package/api/components/schemas/LoopPageDefinition.d.ts +0 -1
- package/api/components/schemas/LoopPageDefinition.js +0 -32
- package/api/components/schemas/MatchActionDefinition.d.ts +0 -1
- package/api/components/schemas/MatchActionDefinition.js +0 -35
- package/api/components/schemas/MessageActionDefinition.d.ts +0 -1
- package/api/components/schemas/MessageActionDefinition.js +0 -40
- package/api/components/schemas/NoopActionDefinition.d.ts +0 -1
- package/api/components/schemas/NoopActionDefinition.js +0 -17
- package/api/components/schemas/NotificationHookDataDefinition.d.ts +0 -2
- package/api/components/schemas/NotificationHookDataDefinition.js +0 -24
- package/api/components/schemas/NotificationHookDefinition.d.ts +0 -2
- package/api/components/schemas/NotificationHookDefinition.js +0 -32
- package/api/components/schemas/NotifyActionDefinition.d.ts +0 -1
- package/api/components/schemas/NotifyActionDefinition.js +0 -32
- package/api/components/schemas/ObjectRemapperDefinition.d.ts +0 -2
- package/api/components/schemas/ObjectRemapperDefinition.js +0 -17
- package/api/components/schemas/PageActionsDefinition.d.ts +0 -2
- package/api/components/schemas/PageActionsDefinition.js +0 -12
- package/api/components/schemas/PageDefinition.d.ts +0 -1
- package/api/components/schemas/PageDefinition.js +0 -26
- package/api/components/schemas/RemapperDefinition.d.ts +0 -2
- package/api/components/schemas/RemapperDefinition.js +0 -27
- package/api/components/schemas/RequestActionDefinition.d.ts +0 -1
- package/api/components/schemas/RequestActionDefinition.js +0 -75
- package/api/components/schemas/ResourceCountActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceCountActionDefinition.js +0 -22
- package/api/components/schemas/ResourceCreateActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceCreateActionDefinition.js +0 -18
- package/api/components/schemas/ResourceDefinition.d.ts +0 -2
- package/api/components/schemas/ResourceDefinition.js +0 -263
- package/api/components/schemas/ResourceDeleteActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceDeleteActionDefinition.js +0 -18
- package/api/components/schemas/ResourceDeleteAllActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceDeleteAllActionDefinition.js +0 -21
- package/api/components/schemas/ResourceDeleteBulkActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceDeleteBulkActionDefinition.js +0 -18
- package/api/components/schemas/ResourceGetActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceGetActionDefinition.js +0 -25
- package/api/components/schemas/ResourceHistoryDefinition.d.ts +0 -2
- package/api/components/schemas/ResourceHistoryDefinition.js +0 -14
- package/api/components/schemas/ResourceHistoryGetActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceHistoryGetActionDefinition.js +0 -18
- package/api/components/schemas/ResourceHooksDefinition.d.ts +0 -2
- package/api/components/schemas/ResourceHooksDefinition.js +0 -10
- package/api/components/schemas/ResourcePatchActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourcePatchActionDefinition.js +0 -21
- package/api/components/schemas/ResourceQueryActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceQueryActionDefinition.js +0 -26
- package/api/components/schemas/ResourceSubscriptionStatusActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceSubscriptionStatusActionDefinition.js +0 -23
- package/api/components/schemas/ResourceSubscriptionSubscribeActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceSubscriptionSubscribeActionDefinition.js +0 -23
- package/api/components/schemas/ResourceSubscriptionToggleActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceSubscriptionToggleActionDefinition.js +0 -23
- package/api/components/schemas/ResourceSubscriptionUnsubscribeActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceSubscriptionUnsubscribeActionDefinition.js +0 -23
- package/api/components/schemas/ResourceUpdateActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceUpdateActionDefinition.js +0 -18
- package/api/components/schemas/ResourceUpdatePositionsActionDefinition.d.ts +0 -1
- package/api/components/schemas/ResourceUpdatePositionsActionDefinition.js +0 -21
- package/api/components/schemas/ResourceViewDefinition.d.ts +0 -2
- package/api/components/schemas/ResourceViewDefinition.js +0 -24
- package/api/components/schemas/SecurityCronDefinition.d.ts +0 -2
- package/api/components/schemas/SecurityCronDefinition.js +0 -26
- package/api/components/schemas/SecurityDefaultDefinition.d.ts +0 -2
- package/api/components/schemas/SecurityDefaultDefinition.js +0 -34
- package/api/components/schemas/SecurityDefinition.d.ts +0 -2
- package/api/components/schemas/SecurityDefinition.js +0 -17
- package/api/components/schemas/SecurityGuestDefinition.d.ts +0 -2
- package/api/components/schemas/SecurityGuestDefinition.js +0 -26
- package/api/components/schemas/SecurityRoleDefinition.d.ts +0 -2
- package/api/components/schemas/SecurityRoleDefinition.js +0 -35
- package/api/components/schemas/ShareActionDefinition.d.ts +0 -1
- package/api/components/schemas/ShareActionDefinition.js +0 -30
- package/api/components/schemas/StaticActionDefinition.d.ts +0 -1
- package/api/components/schemas/StaticActionDefinition.js +0 -20
- package/api/components/schemas/StorageAppendActionDefinition.d.ts +0 -1
- package/api/components/schemas/StorageAppendActionDefinition.js +0 -43
- package/api/components/schemas/StorageDeleteActionDefinition.d.ts +0 -1
- package/api/components/schemas/StorageDeleteActionDefinition.js +0 -31
- package/api/components/schemas/StorageReadActionDefinition.d.ts +0 -1
- package/api/components/schemas/StorageReadActionDefinition.js +0 -32
- package/api/components/schemas/StorageSubtractActionDefinition.d.ts +0 -1
- package/api/components/schemas/StorageSubtractActionDefinition.js +0 -35
- package/api/components/schemas/StorageUpdateActionDefinition.d.ts +0 -1
- package/api/components/schemas/StorageUpdateActionDefinition.js +0 -46
- package/api/components/schemas/StorageWriteActionDefinition.d.ts +0 -1
- package/api/components/schemas/StorageWriteActionDefinition.js +0 -46
- package/api/components/schemas/SubPage.d.ts +0 -2
- package/api/components/schemas/SubPage.js +0 -36
- package/api/components/schemas/TabsPageDefinition.d.ts +0 -1
- package/api/components/schemas/TabsPageDefinition.js +0 -46
- package/api/components/schemas/Theme.d.ts +0 -2
- package/api/components/schemas/Theme.js +0 -80
- package/api/components/schemas/ThrowActionDefinition.d.ts +0 -1
- package/api/components/schemas/ThrowActionDefinition.js +0 -17
- package/api/components/schemas/WebhookDefinition.d.ts +0 -2
- package/api/components/schemas/WebhookDefinition.js +0 -17
- package/api/components/schemas/utils.d.ts +0 -13
- package/api/components/schemas/utils.js +0 -34
- package/appMembers.d.ts +0 -1
- package/appMembers.js +0 -9
- package/blockUtils.d.ts +0 -31
- package/blockUtils.js +0 -65
- package/constants/baseTheme.d.ts +0 -2
- package/constants/baseTheme.js +0 -16
- package/constants/fonts.d.ts +0 -6
- package/constants/fonts.js +0 -1607
- package/examples.d.ts +0 -23
- package/examples.js +0 -975
- package/findPageByName.d.ts +0 -2
- package/findPageByName.js +0 -15
- package/has.d.ts +0 -8
- package/has.js +0 -11
- package/ics.d.ts +0 -3
- package/ics.js +0 -41
- package/iterApp.d.ts +0 -64
- package/iterApp.js +0 -150
- package/jsonschema.d.ts +0 -54
- package/jsonschema.js +0 -185
- package/reference-schemas/actions/appMember.d.ts +0 -2
- package/reference-schemas/actions/appMember.js +0 -21
- package/reference-schemas/actions/flow.d.ts +0 -2
- package/reference-schemas/actions/flow.js +0 -13
- package/reference-schemas/actions/group.d.ts +0 -2
- package/reference-schemas/actions/group.js +0 -13
- package/reference-schemas/actions/index.d.ts +0 -7
- package/reference-schemas/actions/index.js +0 -8
- package/reference-schemas/actions/link.d.ts +0 -2
- package/reference-schemas/actions/link.js +0 -9
- package/reference-schemas/actions/miscellaneous.d.ts +0 -2
- package/reference-schemas/actions/miscellaneous.js +0 -43
- package/reference-schemas/actions/resources.d.ts +0 -2
- package/reference-schemas/actions/resources.js +0 -19
- package/reference-schemas/actions/storage.d.ts +0 -2
- package/reference-schemas/actions/storage.js +0 -15
- package/reference-schemas/remappers/arrays.d.ts +0 -2
- package/reference-schemas/remappers/arrays.js +0 -297
- package/reference-schemas/remappers/conditionals.d.ts +0 -2
- package/reference-schemas/remappers/conditionals.js +0 -167
- package/reference-schemas/remappers/config.d.ts +0 -2
- package/reference-schemas/remappers/config.js +0 -13
- package/reference-schemas/remappers/data.d.ts +0 -2
- package/reference-schemas/remappers/data.js +0 -394
- package/reference-schemas/remappers/dates.d.ts +0 -2
- package/reference-schemas/remappers/dates.js +0 -94
- package/reference-schemas/remappers/history.d.ts +0 -2
- package/reference-schemas/remappers/history.js +0 -246
- package/reference-schemas/remappers/index.d.ts +0 -12
- package/reference-schemas/remappers/index.js +0 -13
- package/reference-schemas/remappers/numbers.d.ts +0 -2
- package/reference-schemas/remappers/numbers.js +0 -30
- package/reference-schemas/remappers/objects.d.ts +0 -2
- package/reference-schemas/remappers/objects.js +0 -127
- package/reference-schemas/remappers/odata.d.ts +0 -2
- package/reference-schemas/remappers/odata.js +0 -95
- package/reference-schemas/remappers/randoms.d.ts +0 -2
- package/reference-schemas/remappers/randoms.js +0 -82
- package/reference-schemas/remappers/strings.d.ts +0 -2
- package/reference-schemas/remappers/strings.js +0 -93
- package/reference-schemas/remappers/unsorted.d.ts +0 -2
- package/reference-schemas/remappers/unsorted.js +0 -276
- package/remap.d.ts +0 -74
- package/remap.js +0 -692
- package/serverActions.d.ts +0 -2
- package/serverActions.js +0 -21
- package/string.d.ts +0 -23
- package/string.js +0 -30
- package/validation.d.ts +0 -25
- package/validation.js +0 -1231
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export const ControllerDefinition = {
|
|
2
|
-
type: 'object',
|
|
3
|
-
description: 'A controller for application logic.',
|
|
4
|
-
required: [],
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
properties: {
|
|
7
|
-
actions: {
|
|
8
|
-
type: 'object',
|
|
9
|
-
description: 'A mapping of actions that can be fired by the controller to action handlers.',
|
|
10
|
-
additionalProperties: {
|
|
11
|
-
$ref: '#/components/schemas/ActionDefinition',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
events: { $ref: '#/components/schemas/EventsDefinition' },
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=ControllerDefinition.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const CronDefinition = {
|
|
2
|
-
type: 'object',
|
|
3
|
-
required: ['schedule'],
|
|
4
|
-
description: 'A cron definition defines tasks that Appsemble will run periodically for the app.',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
properties: {
|
|
7
|
-
schedule: {
|
|
8
|
-
description: `A crontab string to define when the action should be run.
|
|
9
|
-
|
|
10
|
-
See [Crontab guru](https://crontab.guru) for details
|
|
11
|
-
`,
|
|
12
|
-
type: 'string',
|
|
13
|
-
},
|
|
14
|
-
action: {
|
|
15
|
-
description: 'The action to run when the cronjob is triggered.',
|
|
16
|
-
$ref: '#/components/schemas/ActionDefinition',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=CronDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const CsvParseActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const CsvParseActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'file'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
description: 'An action to parse the CSV files',
|
|
10
|
-
enum: ['csv.parse'],
|
|
11
|
-
},
|
|
12
|
-
file: {
|
|
13
|
-
description: 'The CSV file to be parsed',
|
|
14
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
15
|
-
},
|
|
16
|
-
delimiter: {
|
|
17
|
-
description: 'The delimiter to be used, defaults to comma(",")',
|
|
18
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=CsvParseActionDefinition.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const CustomFontDefinition = {
|
|
2
|
-
type: 'object',
|
|
3
|
-
description: 'A custom font definition.',
|
|
4
|
-
additionalProperties: false,
|
|
5
|
-
required: ['source', 'family'],
|
|
6
|
-
properties: {
|
|
7
|
-
source: {
|
|
8
|
-
description: 'Use a custom font.',
|
|
9
|
-
enum: ['custom'],
|
|
10
|
-
},
|
|
11
|
-
family: {
|
|
12
|
-
type: 'string',
|
|
13
|
-
description: `The font family to use in the app.
|
|
14
|
-
|
|
15
|
-
Make sure the font is available using custom CSS.
|
|
16
|
-
`,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=CustomFontDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DialogActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const DialogActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'blocks'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['dialog'],
|
|
10
|
-
description: `This action opens a pop-up dialog that can be used to seamlessly transition to a new set of blocks temporarily.
|
|
11
|
-
|
|
12
|
-
Dialogs can be closed by calling the [\`dialog.ok\`](#DialogOkActionDefinition) or
|
|
13
|
-
[\`dialog.error\`](#DialogErrorActionDefinition). Users can still manually close dialogs, which
|
|
14
|
-
should be supported by the app.
|
|
15
|
-
|
|
16
|
-
Blocks with the layout type \`float\` (e.g. \`action-button\`) do not work in this action.
|
|
17
|
-
`,
|
|
18
|
-
},
|
|
19
|
-
title: {
|
|
20
|
-
description: 'An optional title to set in the dialog header.',
|
|
21
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
22
|
-
},
|
|
23
|
-
closable: {
|
|
24
|
-
type: 'boolean',
|
|
25
|
-
default: true,
|
|
26
|
-
description: 'Whether users are allowed to close the dialog by clicking outside of it or on the close button.',
|
|
27
|
-
},
|
|
28
|
-
fullscreen: {
|
|
29
|
-
type: 'boolean',
|
|
30
|
-
default: false,
|
|
31
|
-
description: 'Whether the dialog should be displayed full screen as if it’s a new page, or as a pop-up.',
|
|
32
|
-
},
|
|
33
|
-
blocks: {
|
|
34
|
-
type: 'array',
|
|
35
|
-
description: 'A list of blocks to display in the dialog.',
|
|
36
|
-
items: { $ref: '#/components/schemas/BlockDefinition' },
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
//# sourceMappingURL=DialogActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DialogErrorActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const DialogErrorActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['dialog.error'],
|
|
10
|
-
description: `Close an open dialog.
|
|
11
|
-
|
|
12
|
-
The dialog action that opened the dialog will be rejected with the data passed to this action.
|
|
13
|
-
`,
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=DialogErrorActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DialogOkActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const DialogOkActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['dialog.ok'],
|
|
10
|
-
description: `Close an open dialog.
|
|
11
|
-
|
|
12
|
-
The dialog action that opened the dialog will be resolved with the data passed to this action.
|
|
13
|
-
`,
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=DialogOkActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DownloadActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const DownloadActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
required: ['type', 'filename'],
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['download'],
|
|
10
|
-
description: 'Download the data as a file.',
|
|
11
|
-
},
|
|
12
|
-
filename: {
|
|
13
|
-
type: 'string',
|
|
14
|
-
description: 'The filename to save the file as. This must include a file extension.',
|
|
15
|
-
pattern: '\\.',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
});
|
|
19
|
-
//# sourceMappingURL=DownloadActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const EachActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const EachActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'do'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['each'],
|
|
10
|
-
description: `Run an action for each entry in an array.
|
|
11
|
-
|
|
12
|
-
The actions are run in parallel.
|
|
13
|
-
|
|
14
|
-
If the input is not an array, the action will be applied to the input instead.`,
|
|
15
|
-
},
|
|
16
|
-
serial: {
|
|
17
|
-
description: 'Runs the action in series instead of parallel',
|
|
18
|
-
type: 'boolean',
|
|
19
|
-
},
|
|
20
|
-
do: {
|
|
21
|
-
description: 'This action is called for each item in the input array.',
|
|
22
|
-
$ref: '#/components/schemas/ActionDefinition',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
//# sourceMappingURL=EachActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const EmailActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const EmailActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'subject', 'body'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['email'],
|
|
10
|
-
description: `The email action can be used to send emails via the Appsemble server.
|
|
11
|
-
|
|
12
|
-
If \`to\`, \`cc\`, and \`bcc\` all end up being empty, no emails will be sent but the action will still continue as normal.
|
|
13
|
-
`,
|
|
14
|
-
},
|
|
15
|
-
to: {
|
|
16
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
17
|
-
description: 'The address the email should be sent to. Can be either in the format of `test@example.com`, or `John Doe <test@example.com>`',
|
|
18
|
-
},
|
|
19
|
-
from: {
|
|
20
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
21
|
-
description: 'The name of the sender of the email.',
|
|
22
|
-
},
|
|
23
|
-
cc: {
|
|
24
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
25
|
-
description: 'The list of additional email addresses email should be sent to. Uses the same format as `to`. Every email address in the CC is visible to all recipients.',
|
|
26
|
-
},
|
|
27
|
-
bcc: {
|
|
28
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
29
|
-
description: 'The list of additional email addresses email should be sent to. Uses the same format as `to`. Email addresses in the BCC are hidden from other recipients.',
|
|
30
|
-
},
|
|
31
|
-
subject: {
|
|
32
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
33
|
-
description: 'The subject of the email.',
|
|
34
|
-
},
|
|
35
|
-
body: {
|
|
36
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
37
|
-
description: 'The body of the email. The content of the body is converted to HTML using the Markdown syntax.',
|
|
38
|
-
},
|
|
39
|
-
attachments: {
|
|
40
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
41
|
-
description: `The attachments to include in the email.
|
|
42
|
-
|
|
43
|
-
The remapper must resolve to an object containing the following properties:
|
|
44
|
-
|
|
45
|
-
- \`target\`: The asset ID or link to download contents from to add as an attachment. This is mutually exclusive with \`content\`.
|
|
46
|
-
- \`content\`: The raw content to include as the file content. This is mutually exclusive with \`target\`.
|
|
47
|
-
- \`filename\`: The filename to include the attachment as.
|
|
48
|
-
- \`accept\` If the target is a URL, this will be set as the HTTP \`Accept\` header when downloading the file.
|
|
49
|
-
|
|
50
|
-
If the attachment is a string, it will be treated as the target.`,
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
});
|
|
54
|
-
//# sourceMappingURL=EmailActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const EventActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const EventActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'event'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['event'],
|
|
10
|
-
description: `This action allows for other blocks to emit data upon triggering the action.
|
|
11
|
-
|
|
12
|
-
This can be used to make blocks interact with each other, such as triggering the \`data-loader\`
|
|
13
|
-
block to refresh itself by sending an event action that matches the name of what the block is
|
|
14
|
-
listening to.
|
|
15
|
-
`,
|
|
16
|
-
},
|
|
17
|
-
event: {
|
|
18
|
-
type: 'string',
|
|
19
|
-
description: 'The name of the event to emit.',
|
|
20
|
-
},
|
|
21
|
-
waitFor: {
|
|
22
|
-
type: 'string',
|
|
23
|
-
description: 'If specified, the action will wait for this event to have been emitted and respond with its data.',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=EventActionDefinition.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export const EventsDefinition = {
|
|
2
|
-
type: 'object',
|
|
3
|
-
description: 'An object describing the names of the events the block can listen and emit to.',
|
|
4
|
-
additionalProperties: false,
|
|
5
|
-
minProperties: 1,
|
|
6
|
-
properties: {
|
|
7
|
-
listen: {
|
|
8
|
-
type: 'object',
|
|
9
|
-
description: `This property defines the events this block will listen on.
|
|
10
|
-
|
|
11
|
-
The key is the name of the event will listen on. The value is a user defined event name which should
|
|
12
|
-
match the name of an emitted event on the same page.
|
|
13
|
-
`,
|
|
14
|
-
minProperties: 1,
|
|
15
|
-
additionalProperties: { type: 'string' },
|
|
16
|
-
},
|
|
17
|
-
emit: {
|
|
18
|
-
type: 'object',
|
|
19
|
-
description: `This property defines the events this block will emit.
|
|
20
|
-
|
|
21
|
-
The key is the name of the event will emit. The value is a user defined event name which should
|
|
22
|
-
match the name of a event on the same page that’s being listened on.
|
|
23
|
-
`,
|
|
24
|
-
minProperties: 1,
|
|
25
|
-
additionalProperties: { type: 'string' },
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=EventsDefinition.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const FilterParametersDefinition = {
|
|
2
|
-
type: 'object',
|
|
3
|
-
description: 'An object describing the comparison that should be applied to the key in an OData filter.',
|
|
4
|
-
additionalProperties: false,
|
|
5
|
-
properties: {
|
|
6
|
-
type: {
|
|
7
|
-
enum: ['Boolean', 'String', 'Number', 'Date', 'Guid'],
|
|
8
|
-
},
|
|
9
|
-
value: { $ref: '#/components/schemas/RemapperDefinition' },
|
|
10
|
-
comparator: {
|
|
11
|
-
enum: ['eq', 'ge', 'gt', 'le', 'lt', 'ne'],
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=FilterParametersDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FlowBackActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const FlowBackActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['flow.back'],
|
|
10
|
-
description: `On [flow pages](#flow-page-definition-sub-pages), return to the previous page if
|
|
11
|
-
it is present. If this is called on the first page, nothing happens.
|
|
12
|
-
`,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=FlowBackActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FlowCancelActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const FlowCancelActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['flow.cancel'],
|
|
10
|
-
description: "On [flow pages](../guides/page-types#flow-page), cancel the ongoing flow and invoke the page's [`onFlowFinish`](#flow-page-actions-definition-on-flow-finish) action.",
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=FlowCancelActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FlowFinishActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const FlowFinishActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['flow.finish'],
|
|
10
|
-
description: `On [flow pages](../guides/page-types#flow-page), triggers the
|
|
11
|
-
[\`onFlowFinish\`](#flow-page-actions-definition-on-flow-finish) action on the page.
|
|
12
|
-
`,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=FlowFinishActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FlowNextActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const FlowNextActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['flow.next'],
|
|
10
|
-
description: `On [flow pages](#flow-page-definition-sub-pages), proceed to the next page if it
|
|
11
|
-
is present. Otherwise, the flow is considered to be complete and [\`flow.finish\`](#flowfinish) will
|
|
12
|
-
be called instead.
|
|
13
|
-
`,
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=FlowNextActionDefinition.js.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export const FlowPageActionsDefinition = {
|
|
2
|
-
type: 'object',
|
|
3
|
-
description: 'These actions are fired on a flow page.',
|
|
4
|
-
additionalProperties: false,
|
|
5
|
-
properties: {
|
|
6
|
-
onFlowCancel: {
|
|
7
|
-
$ref: '#/components/schemas/ActionDefinition',
|
|
8
|
-
description: 'This action gets triggered when `flow.cancel` gets called.',
|
|
9
|
-
},
|
|
10
|
-
onFlowFinish: {
|
|
11
|
-
$ref: '#/components/schemas/ActionDefinition',
|
|
12
|
-
description: `This action gets triggered when a flow is finished.
|
|
13
|
-
|
|
14
|
-
A flow is finished when \`flow.finish\` gets called, or when \`flow.next\` gets called on the final
|
|
15
|
-
subpage. This action has a special property in which the cumulative input data from each previous subpage gets sent, instead of the individual block that triggered this action.`,
|
|
16
|
-
},
|
|
17
|
-
onLoad: {
|
|
18
|
-
$ref: '#/components/schemas/ActionDefinition',
|
|
19
|
-
description: 'This action is fired when a page loads, highly helpful in loading data for the page',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=FlowPageActionsDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FlowPageDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { BasePageDefinition } from './BasePageDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const FlowPageDefinition = extendJSONSchema(BasePageDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'Shows a set of sub pages in a certain order which the user can navigate through.',
|
|
6
|
-
required: ['type', 'steps'],
|
|
7
|
-
additionalProperties: false,
|
|
8
|
-
properties: {
|
|
9
|
-
type: {
|
|
10
|
-
enum: ['flow'],
|
|
11
|
-
},
|
|
12
|
-
steps: {
|
|
13
|
-
type: 'array',
|
|
14
|
-
minItems: 2,
|
|
15
|
-
description: "Steps belonging to this page's flow.",
|
|
16
|
-
items: {
|
|
17
|
-
$ref: '#/components/schemas/SubPage',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
actions: {
|
|
21
|
-
$ref: '#/components/schemas/FlowPageActionsDefinition',
|
|
22
|
-
},
|
|
23
|
-
progress: {
|
|
24
|
-
description: 'The method that should be used to display the status of flow pages.',
|
|
25
|
-
enum: ['corner-dots', 'hidden'],
|
|
26
|
-
},
|
|
27
|
-
retainFlowData: {
|
|
28
|
-
type: 'boolean',
|
|
29
|
-
description: `Whether to retain the flow data when navigating away to another page outside the flow.
|
|
30
|
-
|
|
31
|
-
By default the flow page retains it's data after navigating once. Set to false to clear it.
|
|
32
|
-
`,
|
|
33
|
-
default: true,
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
//# sourceMappingURL=FlowPageDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FlowToActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const FlowToActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'step'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['flow.to'],
|
|
10
|
-
description: 'On [flow pages](#flow-page-definition-sub-pages), move to a specific step.',
|
|
11
|
-
},
|
|
12
|
-
step: {
|
|
13
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
14
|
-
description: `The name of the step to move to.
|
|
15
|
-
|
|
16
|
-
This is a remapper which gets called with the action input and context.
|
|
17
|
-
`,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
//# sourceMappingURL=FlowToActionDefinition.js.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { baseTheme, googleFonts } from '../../../constants/index.js';
|
|
2
|
-
export const GoogleFontDefinition = {
|
|
3
|
-
type: 'object',
|
|
4
|
-
description: 'A Google font definition.',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['family'],
|
|
7
|
-
properties: {
|
|
8
|
-
source: {
|
|
9
|
-
description: 'Use a font from [Google Fonts](https://fonts.google.com).',
|
|
10
|
-
enum: ['google'],
|
|
11
|
-
},
|
|
12
|
-
family: {
|
|
13
|
-
enum: googleFonts,
|
|
14
|
-
description: `The font to use in the app.
|
|
15
|
-
|
|
16
|
-
Any font available on [Google Fonts](https://fonts.google.com) may be used.
|
|
17
|
-
`,
|
|
18
|
-
default: baseTheme.font,
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=GoogleFontDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GroupMemberDeleteActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const GroupMemberDeleteActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'id'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['group.member.delete'],
|
|
10
|
-
description: 'Delete a group member from the group in which the invoking user is a member',
|
|
11
|
-
},
|
|
12
|
-
id: {
|
|
13
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
14
|
-
description: 'The id of the group member to delete',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=GroupMemberDeleteActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GroupMemberInviteActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const GroupMemberInviteActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['group.member.invite'],
|
|
10
|
-
description: 'Invite an app member to join a group.',
|
|
11
|
-
},
|
|
12
|
-
id: {
|
|
13
|
-
description: 'The ID of the group to invite the app member to.',
|
|
14
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
15
|
-
},
|
|
16
|
-
email: {
|
|
17
|
-
description: 'The email address of the user to invite.',
|
|
18
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
19
|
-
},
|
|
20
|
-
role: {
|
|
21
|
-
description: 'The role to invite the user as.',
|
|
22
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
//# sourceMappingURL=GroupMemberInviteActionDefinition.js.map
|