skedyul 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build-stamp +1 -1
- package/dist/cli/commands/auth/index.js +43 -23
- package/dist/cli/commands/auth/list.d.ts +1 -0
- package/dist/cli/commands/auth/list.js +55 -0
- package/dist/cli/commands/auth/login.js +38 -21
- package/dist/cli/commands/auth/logout.js +76 -8
- package/dist/cli/commands/auth/status.js +59 -28
- package/dist/cli/commands/auth/use.d.ts +1 -0
- package/dist/cli/commands/auth/use.js +75 -0
- package/dist/cli/commands/invoke-remote.d.ts +1 -0
- package/dist/cli/commands/invoke-remote.js +322 -0
- package/dist/cli/index.js +7 -0
- package/dist/cli/utils/auth.d.ts +40 -4
- package/dist/cli/utils/auth.js +232 -34
- package/dist/config/types/model.d.ts +15 -10
- package/dist/schemas.d.ts +136 -201
- package/dist/schemas.js +2 -4
- package/package.json +1 -1
package/dist/schemas.js
CHANGED
|
@@ -112,20 +112,18 @@ exports.ModelDefinitionSchema = v4_1.z.object({
|
|
|
112
112
|
exports.RelationshipCardinalitySchema = v4_1.z.enum([
|
|
113
113
|
'ONE_TO_ONE',
|
|
114
114
|
'ONE_TO_MANY',
|
|
115
|
-
'MANY_TO_ONE',
|
|
116
|
-
'MANY_TO_MANY',
|
|
117
115
|
]);
|
|
118
116
|
exports.OnDeleteBehaviorSchema = v4_1.z.enum(['NONE', 'CASCADE', 'RESTRICT']);
|
|
119
117
|
exports.RelationshipLinkSchema = v4_1.z.object({
|
|
120
118
|
model: v4_1.z.string(),
|
|
121
119
|
field: v4_1.z.string(),
|
|
122
120
|
label: v4_1.z.string(),
|
|
123
|
-
cardinality: exports.RelationshipCardinalitySchema,
|
|
124
|
-
onDelete: exports.OnDeleteBehaviorSchema.default('NONE'),
|
|
125
121
|
});
|
|
126
122
|
exports.RelationshipDefinitionSchema = v4_1.z.object({
|
|
127
123
|
source: exports.RelationshipLinkSchema,
|
|
128
124
|
target: exports.RelationshipLinkSchema,
|
|
125
|
+
cardinality: exports.RelationshipCardinalitySchema,
|
|
126
|
+
onDelete: exports.OnDeleteBehaviorSchema.default('NONE'),
|
|
129
127
|
});
|
|
130
128
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
131
129
|
// Channel Schemas
|