openxiangda-contracts 2.89.1 → 2.91.0
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/dist/browser.d.ts +1 -0
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +1 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/native-compiler/compiler.d.ts.map +1 -1
- package/dist/native-compiler/compiler.js +32 -5
- package/dist/native-compiler/compiler.js.map +1 -1
- package/dist/native-compiler/index.cjs +4 -4
- package/dist/native-compiler/index.d.ts +1 -0
- package/dist/native-compiler/index.d.ts.map +1 -1
- package/dist/native-compiler/index.js +4 -4
- package/dist/native-compiler/organization-authorization.d.ts +81 -0
- package/dist/native-compiler/organization-authorization.d.ts.map +1 -0
- package/dist/native-compiler/organization-authorization.js +189 -0
- package/dist/native-compiler/organization-authorization.js.map +1 -0
- package/dist/native-compiler/role-membership-batch.d.ts +2 -1
- package/dist/native-compiler/role-membership-batch.d.ts.map +1 -1
- package/dist/native-compiler/role-membership-batch.js +3 -2
- package/dist/native-compiler/role-membership-batch.js.map +1 -1
- package/dist/native-version.d.ts +4 -0
- package/dist/native-version.d.ts.map +1 -1
- package/dist/native-version.js +4 -0
- package/dist/native-version.js.map +1 -1
- package/dist/native.d.ts +19 -0
- package/dist/native.d.ts.map +1 -1
- package/dist/native.js.map +1 -1
- package/dist/notification.d.ts +13 -0
- package/dist/notification.d.ts.map +1 -1
- package/dist/schemas.d.ts +226 -14
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +10 -6
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +6 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/workflow-legacy-adoption.d.ts +42 -0
- package/dist/workflow-legacy-adoption.d.ts.map +1 -0
- package/dist/workflow-legacy-adoption.js +2 -0
- package/dist/workflow-legacy-adoption.js.map +1 -0
- package/package.json +1 -1
package/dist/schemas.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { directoryRoleSourceSchema } from './native-compiler/organization-authorization.js';
|
|
1
2
|
import { workflowDefinitionSchema, workflowBindingSchema } from './native-compiler/workflow-schema.js';
|
|
2
3
|
export { workflowDefinitionSchema, workflowBindingSchema, workflowBusinessStepNodeSchema } from './native-compiler/workflow-schema.js';
|
|
3
4
|
import { DATA_RESOURCE_MAX_FIELDS, WORKFLOW_LAUNCH_MAX_INPUTS } from './native-compiler/data-capacity.js';
|
|
@@ -2593,6 +2594,7 @@ export const dataResourceSchema = {
|
|
|
2593
2594
|
appCode: nonEmptyString,
|
|
2594
2595
|
code: dataResourceCode,
|
|
2595
2596
|
name: nonEmptyString,
|
|
2597
|
+
organization: { type: "object", additionalProperties: false, required: ["mode"], properties: { mode: { enum: ["none", "owned", "inherited-down"] } } },
|
|
2596
2598
|
recordComments: {
|
|
2597
2599
|
type: 'object', additionalProperties: false, required: ['read', 'create'],
|
|
2598
2600
|
properties: {
|
|
@@ -4883,12 +4885,12 @@ const eventSubscriptionPlatformAccessSchema = {
|
|
|
4883
4885
|
},
|
|
4884
4886
|
},
|
|
4885
4887
|
},
|
|
4886
|
-
notification: {
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4888
|
+
notification: { oneOf: [
|
|
4889
|
+
{ type: "object", additionalProperties: false, required: ["mode"], properties: { mode: { const: "business-standard" } } },
|
|
4890
|
+
{ type: "object", additionalProperties: false, required: ["mode", "taskCodes"], properties: {
|
|
4891
|
+
mode: { const: "business-task" }, taskCodes: { type: "array", minItems: 1, maxItems: 16, uniqueItems: true, items: { type: "string", pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$", maxLength: 128 } },
|
|
4892
|
+
} },
|
|
4893
|
+
] },
|
|
4892
4894
|
managedFileCopies: managedFileCopiesSchema,
|
|
4893
4895
|
},
|
|
4894
4896
|
};
|
|
@@ -6877,6 +6879,7 @@ const appRoleDeclarationSchema = {
|
|
|
6877
6879
|
code: stableCode,
|
|
6878
6880
|
name: nonEmptyString,
|
|
6879
6881
|
description: { type: "string", maxLength: 2000 },
|
|
6882
|
+
organizationReach: { enum: ["self", "subtree"] },
|
|
6880
6883
|
capabilities: {
|
|
6881
6884
|
type: "array",
|
|
6882
6885
|
uniqueItems: true,
|
|
@@ -8222,6 +8225,7 @@ export const configurationBundleSchema = {
|
|
|
8222
8225
|
maxItems: 100,
|
|
8223
8226
|
items: appScopeSourceSchema,
|
|
8224
8227
|
},
|
|
8228
|
+
directoryRoleSources: { type: "array", maxItems: 32, items: directoryRoleSourceSchema },
|
|
8225
8229
|
roleMembershipSources: {
|
|
8226
8230
|
type: "array",
|
|
8227
8231
|
maxItems: 100,
|