@appsemble/utils 0.33.4 → 0.33.7
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 +0,0 @@
|
|
|
1
|
-
export declare const GroupMemberQueryActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const GroupMemberQueryActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'id'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['group.member.query'],
|
|
10
|
-
description: "Get a list of a group's members",
|
|
11
|
-
},
|
|
12
|
-
id: {
|
|
13
|
-
description: 'The ID of a specific group to get the members from',
|
|
14
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=GroupMemberQueryActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GroupMemberRoleUpdateActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const GroupMemberRoleUpdateActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type', 'id', 'role'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['group.member.role.update'],
|
|
10
|
-
description: 'Update the role of a group member.',
|
|
11
|
-
},
|
|
12
|
-
id: {
|
|
13
|
-
description: 'The id of the group member to update the role of.',
|
|
14
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
15
|
-
},
|
|
16
|
-
role: {
|
|
17
|
-
description: 'The new role of the group member.',
|
|
18
|
-
$ref: '#/components/schemas/RemapperDefinition',
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=GroupMemberRoleUpdateActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GroupQueryActionDefinition: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseActionDefinition } from './BaseActionDefinition.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const GroupQueryActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
additionalProperties: false,
|
|
6
|
-
required: ['type'],
|
|
7
|
-
properties: {
|
|
8
|
-
type: {
|
|
9
|
-
enum: ['group.query'],
|
|
10
|
-
description: 'Get a list of all of the groups in an app.',
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=GroupQueryActionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONPointer: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONPointer = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON pointer which may be used to reference a JSON schema.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['$ref'],
|
|
8
|
-
properties: {
|
|
9
|
-
$ref: {
|
|
10
|
-
type: 'string',
|
|
11
|
-
description: 'A JSON schema reference.',
|
|
12
|
-
pattern: /^#\/definitions\//.source,
|
|
13
|
-
example: '#/definitions/MyReusableSchema',
|
|
14
|
-
},
|
|
15
|
-
default: {
|
|
16
|
-
description: 'The default value that will be used.',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=JSONPointer.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const JSONSchema = {
|
|
2
|
-
anyOf: [
|
|
3
|
-
{ $ref: '#/components/schemas/JSONPointer' },
|
|
4
|
-
{ $ref: '#/components/schemas/JSONSchemaAnyOf' },
|
|
5
|
-
{ $ref: '#/components/schemas/JSONSchemaArray' },
|
|
6
|
-
{ $ref: '#/components/schemas/JSONSchemaBoolean' },
|
|
7
|
-
{ $ref: '#/components/schemas/JSONSchemaConst' },
|
|
8
|
-
{ $ref: '#/components/schemas/JSONSchemaEnum' },
|
|
9
|
-
{ $ref: '#/components/schemas/JSONSchemaInteger' },
|
|
10
|
-
{ $ref: '#/components/schemas/JSONSchemaMultiType' },
|
|
11
|
-
{ $ref: '#/components/schemas/JSONSchemaNot' },
|
|
12
|
-
{ $ref: '#/components/schemas/JSONSchemaNull' },
|
|
13
|
-
{ $ref: '#/components/schemas/JSONSchemaNumber' },
|
|
14
|
-
{ $ref: '#/components/schemas/JSONSchemaObject' },
|
|
15
|
-
{ $ref: '#/components/schemas/JSONSchemaOneOf' },
|
|
16
|
-
{ $ref: '#/components/schemas/JSONSchemaRemapper' },
|
|
17
|
-
{ $ref: '#/components/schemas/JSONSchemaString' },
|
|
18
|
-
],
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=JSONSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaAnyOf: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaAnyOf = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema which determines the value must match one or more of the given schemas.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['anyOf'],
|
|
8
|
-
properties: {
|
|
9
|
-
anyOf: {
|
|
10
|
-
type: 'array',
|
|
11
|
-
description: 'The JSON schema must match one or more of the given schemas.',
|
|
12
|
-
items: {
|
|
13
|
-
$ref: '#/components/schemas/JSONSchema',
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
examples: {
|
|
17
|
-
type: 'array',
|
|
18
|
-
description: 'An example value which is valid according to this schema.',
|
|
19
|
-
items: {},
|
|
20
|
-
},
|
|
21
|
-
default: {
|
|
22
|
-
description: 'The default value which is used if no value is supplied.',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
//# sourceMappingURL=JSONSchemaAnyOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaArray: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaArray = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema for an array.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['type'],
|
|
8
|
-
properties: {
|
|
9
|
-
type: {
|
|
10
|
-
enum: ['array'],
|
|
11
|
-
description: 'The type of the JSON schema. An array means a list of data.',
|
|
12
|
-
},
|
|
13
|
-
example: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
description: 'An example array which is valid according to this schema.',
|
|
16
|
-
items: {
|
|
17
|
-
type: 'array',
|
|
18
|
-
items: {},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
default: {
|
|
22
|
-
type: 'array',
|
|
23
|
-
description: 'The default value which is used if no value is supplied.',
|
|
24
|
-
items: {},
|
|
25
|
-
},
|
|
26
|
-
maxItems: {
|
|
27
|
-
type: 'integer',
|
|
28
|
-
description: 'The minimum amount of items the array is allowed to have.',
|
|
29
|
-
minimum: 1,
|
|
30
|
-
},
|
|
31
|
-
minItems: {
|
|
32
|
-
type: 'integer',
|
|
33
|
-
description: 'The maximum amount of items the array is allowed to have.',
|
|
34
|
-
minimum: 0,
|
|
35
|
-
},
|
|
36
|
-
uniqueItems: {
|
|
37
|
-
type: 'boolean',
|
|
38
|
-
description: 'If true, all items in the array need to be unique',
|
|
39
|
-
default: false,
|
|
40
|
-
},
|
|
41
|
-
items: {
|
|
42
|
-
$ref: '#/components/schemas/JSONSchema',
|
|
43
|
-
description: 'This property describes what the items in an array should look like.',
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
//# sourceMappingURL=JSONSchemaArray.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaBoolean: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaBoolean = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema for a boolean.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['type'],
|
|
8
|
-
properties: {
|
|
9
|
-
type: {
|
|
10
|
-
enum: ['boolean'],
|
|
11
|
-
description: 'The type of the JSON schema. A boolean means either true or false.',
|
|
12
|
-
},
|
|
13
|
-
examples: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
items: {
|
|
16
|
-
type: 'boolean',
|
|
17
|
-
description: 'An example boolean which is valid according to this schema.',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
default: {
|
|
21
|
-
type: 'boolean',
|
|
22
|
-
description: 'The default value which is used if no value is supplied.',
|
|
23
|
-
},
|
|
24
|
-
enum: {
|
|
25
|
-
type: 'array',
|
|
26
|
-
description: 'If an enum is specified, the type can be safely removed.',
|
|
27
|
-
items: {
|
|
28
|
-
type: 'boolean',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
const: {
|
|
32
|
-
type: 'boolean',
|
|
33
|
-
description: 'If const is specified, the type can be safely removed.',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
//# sourceMappingURL=JSONSchemaBoolean.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaConst: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
// Although OpenAPI doesn’t support `const` as a value, JSON schema does.
|
|
4
|
-
export const JSONSchemaConst = extendJSONSchema(BaseJSONSchema, {
|
|
5
|
-
type: 'object',
|
|
6
|
-
description: 'A JSON schema which describes a constant',
|
|
7
|
-
additionalProperties: false,
|
|
8
|
-
required: ['const'],
|
|
9
|
-
properties: {
|
|
10
|
-
const: {
|
|
11
|
-
anyOf: [{ type: 'boolean' }, { type: 'number' }, { type: 'string' }, { enum: [null] }],
|
|
12
|
-
description: 'The given value must exactly match one the value specified here.',
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=JSONSchemaConst.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaEnum: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaEnum = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema for an enum.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['enum'],
|
|
8
|
-
properties: {
|
|
9
|
-
enum: {
|
|
10
|
-
type: 'array',
|
|
11
|
-
description: 'A specific set of values this property is allowed to have.',
|
|
12
|
-
items: {
|
|
13
|
-
anyOf: [{ type: 'boolean' }, { type: 'number' }, { type: 'string' }, { enum: [null] }],
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
enumDescriptions: {
|
|
17
|
-
type: 'array',
|
|
18
|
-
description: `An array is descriptions for the enum values.
|
|
19
|
-
|
|
20
|
-
The description is applied to the enum value at the same index.`,
|
|
21
|
-
items: { type: 'string' },
|
|
22
|
-
},
|
|
23
|
-
examples: {
|
|
24
|
-
type: 'array',
|
|
25
|
-
items: {
|
|
26
|
-
anyOf: [{ type: 'boolean' }, { type: 'number' }, { type: 'string' }, { enum: [null] }],
|
|
27
|
-
description: 'An example which is valid according to this schema.',
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
default: {
|
|
31
|
-
anyOf: [{ type: 'boolean' }, { type: 'number' }, { type: 'string' }, { enum: [null] }],
|
|
32
|
-
description: 'The default value which is used if no value is supplied.',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=JSONSchemaEnum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaInteger: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaInteger = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema for an integer.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['type'],
|
|
8
|
-
properties: {
|
|
9
|
-
type: {
|
|
10
|
-
enum: ['integer'],
|
|
11
|
-
description: 'The type of the JSON schema. An integer means a fractionless number.',
|
|
12
|
-
},
|
|
13
|
-
examples: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
items: {
|
|
16
|
-
type: 'integer',
|
|
17
|
-
description: 'An example integer which is valid according to this schema.',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
default: {
|
|
21
|
-
type: 'integer',
|
|
22
|
-
description: 'The default value which is used if no value is supplied.',
|
|
23
|
-
},
|
|
24
|
-
enum: {
|
|
25
|
-
type: 'array',
|
|
26
|
-
description: 'If an enum is specified, the type can be safely removed.',
|
|
27
|
-
items: {
|
|
28
|
-
type: 'integer',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
const: {
|
|
32
|
-
type: 'integer',
|
|
33
|
-
description: 'If const is specified, the type can be safely removed.',
|
|
34
|
-
},
|
|
35
|
-
minimum: {
|
|
36
|
-
type: 'integer',
|
|
37
|
-
description: 'The minimum value of the number.',
|
|
38
|
-
example: 0,
|
|
39
|
-
},
|
|
40
|
-
maximum: {
|
|
41
|
-
type: 'integer',
|
|
42
|
-
description: 'The maximum value of the number.',
|
|
43
|
-
example: 100,
|
|
44
|
-
},
|
|
45
|
-
multipleOf: {
|
|
46
|
-
type: 'integer',
|
|
47
|
-
description: `The value must be a multiple of this number.
|
|
48
|
-
|
|
49
|
-
For example, if this is set to 3, then the values 0, 3, 6, 9, etc. will be allowed, but not 1, 2, 4,
|
|
50
|
-
5, 7, 8, etc.
|
|
51
|
-
`,
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
//# sourceMappingURL=JSONSchemaInteger.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaMultiType: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { JSONSchemaArray } from './JSONSchemaArray.js';
|
|
3
|
-
import { JSONSchemaInteger } from './JSONSchemaInteger.js';
|
|
4
|
-
import { JSONSchemaObject } from './JSONSchemaObject.js';
|
|
5
|
-
import { JSONSchemaString } from './JSONSchemaString.js';
|
|
6
|
-
import { extendJSONSchema } from './utils.js';
|
|
7
|
-
export const JSONSchemaMultiType = extendJSONSchema(BaseJSONSchema, {
|
|
8
|
-
type: 'object',
|
|
9
|
-
description: 'A JSON schema which defines multiple types.',
|
|
10
|
-
additionalProperties: false,
|
|
11
|
-
required: ['type'],
|
|
12
|
-
properties: {
|
|
13
|
-
type: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
uniqueItems: true,
|
|
16
|
-
minItems: 2,
|
|
17
|
-
description: 'The type of the JSON schema. It’s recommended to use only one.',
|
|
18
|
-
items: {
|
|
19
|
-
enum: ['array', 'boolean', 'integer', 'null', 'number', 'string'],
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
examples: {
|
|
23
|
-
type: 'array',
|
|
24
|
-
description: 'An example which is valid according to this schema.',
|
|
25
|
-
items: {},
|
|
26
|
-
},
|
|
27
|
-
default: {
|
|
28
|
-
description: 'The default value which is used if no value is supplied.',
|
|
29
|
-
},
|
|
30
|
-
maxItems: JSONSchemaArray.properties.maxItems,
|
|
31
|
-
minItems: JSONSchemaArray.properties.minItems,
|
|
32
|
-
uniqueItems: JSONSchemaArray.properties.uniqueItems,
|
|
33
|
-
items: JSONSchemaArray.properties.items,
|
|
34
|
-
minimum: JSONSchemaInteger.properties.minimum,
|
|
35
|
-
maximum: JSONSchemaInteger.properties.maximum,
|
|
36
|
-
multipleOf: JSONSchemaInteger.properties.multipleOf,
|
|
37
|
-
maxProperties: JSONSchemaObject.properties.maxProperties,
|
|
38
|
-
minProperties: JSONSchemaObject.properties.minProperties,
|
|
39
|
-
properties: JSONSchemaObject.properties.properties,
|
|
40
|
-
required: JSONSchemaObject.properties.required,
|
|
41
|
-
additionalProperties: JSONSchemaObject.properties.additionalProperties,
|
|
42
|
-
format: JSONSchemaString.properties.format,
|
|
43
|
-
minLength: JSONSchemaString.properties.minLength,
|
|
44
|
-
maxLength: JSONSchemaString.properties.maxLength,
|
|
45
|
-
pattern: JSONSchemaString.properties.pattern,
|
|
46
|
-
},
|
|
47
|
-
});
|
|
48
|
-
//# sourceMappingURL=JSONSchemaMultiType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaNot: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaNot = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema which may not be matched.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['not'],
|
|
8
|
-
properties: {
|
|
9
|
-
not: {
|
|
10
|
-
$ref: '#/components/schemas/JSONSchema',
|
|
11
|
-
description: 'The JSON schema which the value may not match.',
|
|
12
|
-
},
|
|
13
|
-
examples: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
description: 'An example value which is valid according to this schema.',
|
|
16
|
-
items: {},
|
|
17
|
-
},
|
|
18
|
-
default: {
|
|
19
|
-
description: 'The default value which is used if no value is supplied.',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
//# sourceMappingURL=JSONSchemaNot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaNull: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
// Although OpenAPI doesn’t support `null` as a value, JSON schema does.
|
|
4
|
-
export const JSONSchemaNull = extendJSONSchema(BaseJSONSchema, {
|
|
5
|
-
type: 'object',
|
|
6
|
-
description: 'A JSON schema of type null only accepts a null value',
|
|
7
|
-
additionalProperties: false,
|
|
8
|
-
required: ['type'],
|
|
9
|
-
properties: {
|
|
10
|
-
type: {
|
|
11
|
-
enum: ['null'],
|
|
12
|
-
description: 'Only accept a null value.',
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=JSONSchemaNull.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaNumber: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaNumber = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema for a number which has fractions.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['type'],
|
|
8
|
-
properties: {
|
|
9
|
-
type: {
|
|
10
|
-
enum: ['number'],
|
|
11
|
-
description: 'The type of the JSON schema. A number represents a number which has fractions. For fractionless numbers, use `integer` instead.',
|
|
12
|
-
},
|
|
13
|
-
enum: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
description: 'If an enum is specified, the type can be safely removed.',
|
|
16
|
-
items: {
|
|
17
|
-
type: 'number',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
const: {
|
|
21
|
-
type: 'number',
|
|
22
|
-
description: 'If const is specified, the type can be safely removed.',
|
|
23
|
-
},
|
|
24
|
-
examples: {
|
|
25
|
-
type: 'array',
|
|
26
|
-
items: {
|
|
27
|
-
type: 'number',
|
|
28
|
-
description: 'An example number which is valid according to this schema.',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
default: {
|
|
32
|
-
type: 'number',
|
|
33
|
-
description: 'The default value which is used if no value is supplied.',
|
|
34
|
-
},
|
|
35
|
-
minimum: {
|
|
36
|
-
type: 'number',
|
|
37
|
-
description: 'The minimum value of the number.',
|
|
38
|
-
example: 0,
|
|
39
|
-
},
|
|
40
|
-
maximum: {
|
|
41
|
-
type: 'number',
|
|
42
|
-
description: 'The maximum value of the number.',
|
|
43
|
-
example: 100,
|
|
44
|
-
},
|
|
45
|
-
exclusiveMinimum: {
|
|
46
|
-
type: 'number',
|
|
47
|
-
description: 'The value must be bigger than this number. The given value itself is not allowed.',
|
|
48
|
-
},
|
|
49
|
-
exclusiveMaximum: {
|
|
50
|
-
type: 'number',
|
|
51
|
-
description: 'The value must be smaller than this number. The given value itself is not allowed.',
|
|
52
|
-
},
|
|
53
|
-
multipleOf: {
|
|
54
|
-
type: 'number',
|
|
55
|
-
description: `The value must be a multiple of this number.
|
|
56
|
-
|
|
57
|
-
For example, if this is set to 0.5, then the values 0, 0.5, 1, 1.5, 2, 2.5, etc. will be allowed,
|
|
58
|
-
but not 0.3, 1.7, etc.
|
|
59
|
-
`,
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
});
|
|
63
|
-
//# sourceMappingURL=JSONSchemaNumber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaObject: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaObject = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema for an object.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['type', 'additionalProperties'],
|
|
8
|
-
properties: {
|
|
9
|
-
type: {
|
|
10
|
-
enum: ['object'],
|
|
11
|
-
description: 'The type of the JSON schema.',
|
|
12
|
-
},
|
|
13
|
-
examples: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
items: {
|
|
16
|
-
type: 'object',
|
|
17
|
-
description: 'An example object which is valid according to this schema.',
|
|
18
|
-
additionalProperties: true,
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
default: {
|
|
22
|
-
type: 'object',
|
|
23
|
-
description: 'The default value which is used if no value is supplied.',
|
|
24
|
-
additionalProperties: true,
|
|
25
|
-
},
|
|
26
|
-
maxProperties: {
|
|
27
|
-
type: 'integer',
|
|
28
|
-
description: 'The maximum number of properties the object is allowed to have.',
|
|
29
|
-
minimum: 0,
|
|
30
|
-
},
|
|
31
|
-
minProperties: {
|
|
32
|
-
type: 'integer',
|
|
33
|
-
description: 'The minimum number of properties the object is must have.',
|
|
34
|
-
minimum: 1,
|
|
35
|
-
},
|
|
36
|
-
required: {
|
|
37
|
-
type: 'array',
|
|
38
|
-
description: 'A list of properties that are required.',
|
|
39
|
-
minItems: 1,
|
|
40
|
-
items: {
|
|
41
|
-
type: 'string',
|
|
42
|
-
description: 'A property name which is required on the object.',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
properties: {
|
|
46
|
-
type: 'object',
|
|
47
|
-
description: 'A mapping of object keys for the object to nested JSON schemas.',
|
|
48
|
-
additionalProperties: {
|
|
49
|
-
$ref: '#/components/schemas/JSONSchema',
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
additionalProperties: {
|
|
53
|
-
description: `Describe if this object is allowed to have properties besides those defined in \`properties\`
|
|
54
|
-
|
|
55
|
-
It’s recommended to set this to \`false\`.
|
|
56
|
-
`,
|
|
57
|
-
example: false,
|
|
58
|
-
anyOf: [
|
|
59
|
-
{
|
|
60
|
-
type: 'boolean',
|
|
61
|
-
description: `If false, the object may not have any additional properties.
|
|
62
|
-
|
|
63
|
-
If true, the object may have **any** type of additional properties. This is **not** recommended.
|
|
64
|
-
`,
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
$ref: '#/components/schemas/JSONSchema',
|
|
68
|
-
description: 'If this is a JSON schema, it describes any additional properties.',
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
});
|
|
74
|
-
//# sourceMappingURL=JSONSchemaObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaOneOf: import("openapi-types").OpenAPIV3.SchemaObject;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { BaseJSONSchema } from './BaseJSONSchema.js';
|
|
2
|
-
import { extendJSONSchema } from './utils.js';
|
|
3
|
-
export const JSONSchemaOneOf = extendJSONSchema(BaseJSONSchema, {
|
|
4
|
-
type: 'object',
|
|
5
|
-
description: 'A JSON schema which determines the value must match exactly one of the given schemas.',
|
|
6
|
-
additionalProperties: false,
|
|
7
|
-
required: ['oneOf'],
|
|
8
|
-
properties: {
|
|
9
|
-
oneOf: {
|
|
10
|
-
type: 'array',
|
|
11
|
-
description: 'The JSON schema must match exactly one of the given schemas.',
|
|
12
|
-
items: {
|
|
13
|
-
$ref: '#/components/schemas/JSONSchema',
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
example: {
|
|
17
|
-
description: 'An example value which is valid according to this schema.',
|
|
18
|
-
},
|
|
19
|
-
default: {
|
|
20
|
-
description: 'The default value which is used if no value is supplied.',
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
//# sourceMappingURL=JSONSchemaOneOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const JSONSchemaRemapper: import("openapi-types").OpenAPIV3.SchemaObject;
|