@relyio/cli 0.6.0 → 0.7.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/index.js +86 -187
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1505,8 +1505,8 @@ function isBuiltInRole(roleId) {
|
|
|
1505
1505
|
return BUILT_IN_ROLES.includes(roleId);
|
|
1506
1506
|
}
|
|
1507
1507
|
var FallbackChainSchema, BaseFieldConfigSchema, ShortTextConfigSchema, LongTextConfigSchema, RichTextConfigSchema, EmailConfigSchema, UrlConfigSchema, SlugConfigSchema, IntegerConfigSchema, DecimalConfigSchema, BooleanConfigSchema, EnumConfigSchema, DateConfigSchema, DateTimeConfigSchema, ReferenceStrengthSchema, OnTargetDeleteSchema, ReferenceTargetSchema, ReferenceConfigSchema, AI_INSTRUCTIONS_MAX_CHARS, AIConfigSchema, FieldAIConfigSchema, AssetAIConfigSchema, BaseUIConfigSchema, TextUIOptionsSchema, LongTextUIOptionsSchema, RichTextUIOptionsSchema, SlugUIOptionsSchema, NumericUIOptionsSchema, BooleanUIOptionsSchema, EnumUIOptionsSchema, DateUIOptionsSchema, DateTimeUIOptionsSchema, ReferenceUIOptionsSchema, TagsUIOptionsSchema, ListUIOptionsSchema, ComponentUIOptionsSchema, UIConfigSchema, RuleConditionSchema, RuleConditionsSchema, VisibilityRuleSchema, RequirementRuleSchema, ValidationRuleSchema, ReadOnlyRuleSchema, FieldRuleSchema, LocalizationConfigSchema, FieldSchema, TagsConfigSchema, ListConfigSchema, BUILT_IN_ROLES, ROLE_ACTIONS, RoleActionSchema, BuiltInRoleSchema, roleIdPattern, RoleIdSchema, accessTagPattern, AccessTagSchema, AccessTagsArraySchema, ResourcePermissionSchema, FieldVisibilitySchema, RolePermissionsSchema, RoleSchema, RolesArraySchema, FILTER_OPERATORS, FilterOperatorSchema, TEXT_OPERATORS, LONG_TEXT_OPERATORS, NUMERIC_OPERATORS, BOOLEAN_OPERATORS, ENUM_OPERATORS, DATE_OPERATORS, REFERENCE_OPERATORS, TAGS_OPERATORS, FIELD_TYPE_OPERATORS, TimeUnitSchema, RelativeDateValueSchema, COLUMN_RENDERERS, ColumnRendererSchema;
|
|
1508
|
-
var
|
|
1509
|
-
"../../domain/schema/dist/chunk-
|
|
1508
|
+
var init_chunk_6DD2XLHF = __esm({
|
|
1509
|
+
"../../domain/schema/dist/chunk-6DD2XLHF.js"() {
|
|
1510
1510
|
init_chunk_6PLZZWGE();
|
|
1511
1511
|
init_chunk_JH6U6ENN();
|
|
1512
1512
|
FallbackChainSchema = z.object({
|
|
@@ -2527,9 +2527,9 @@ function resolveAssetType(def) {
|
|
|
2527
2527
|
};
|
|
2528
2528
|
}
|
|
2529
2529
|
var FieldsetSchema, stageIdPattern, WorkflowEscalationSchema, WorkflowAutoAssignSchema, WorkflowStageSchema, WorkflowConfigSchema, ContentTypeWorkflowSchema, ASSET_KINDS, FORBIDDEN_ASSET_TYPE_FIELD_TYPES, IMAGE_OUTPUT_FORMATS, IMAGE_FIT_MODES, CF_IMAGES_LIMITS, DEFAULT_IMAGE_SOURCE, UNKNOWN_INPUT_MESSAGE, INPUT_CYCLE_MESSAGE, FitSchema, OutputFormatSchema, ImageTransformSchema, ImageUploadConfigSchema, VideoUploadConfigSchema, FileUploadConfigSchema, ImageExifConfigSchema, VariantDefinitionSchema, ImageSourceConfigSchema, ImageKindConfigSchema, VideoPosterConfigSchema, VideoCaptionsConfigSchema, VideoDownloadConfigSchema, VideoWatermarkConfigSchema, VideoKindConfigSchema, FileScanConfigSchema, FileKindConfigSchema, AssetTypeSchema;
|
|
2530
|
-
var
|
|
2531
|
-
"../../domain/schema/dist/chunk-
|
|
2532
|
-
|
|
2530
|
+
var init_chunk_CPSW6QTD = __esm({
|
|
2531
|
+
"../../domain/schema/dist/chunk-CPSW6QTD.js"() {
|
|
2532
|
+
init_chunk_6DD2XLHF();
|
|
2533
2533
|
FieldsetSchema = z.object({
|
|
2534
2534
|
id: z.string().regex(
|
|
2535
2535
|
/^[a-zA-Z][a-zA-Z0-9_]*$/,
|
|
@@ -3092,11 +3092,11 @@ function filterValueWith(range, relativeDate) {
|
|
|
3092
3092
|
// ISO date string
|
|
3093
3093
|
]);
|
|
3094
3094
|
}
|
|
3095
|
-
var QUERY_BLOCKS, queryBlocksOf, QUERY_BLOCKS_SPELLED, queryRunsBlock, QUERY_FILTER_OPERATORS, isQueryFilterOperator, QUERY_FILTER_OPERATOR_NAMES, SPELLED, FIELD_PATH, AGGREGATE_OPERATORS, isAggregateOperator, AGGREGATE_OPERATOR_NAMES, INCLUDE_MODIFIER_NAMES, INCLUDE_MODIFIERS, isIncludeModifier, INCLUDE_EXPRESSION, SUPPORTED, MAX_SELECT_OPERATION_ARGUMENT, withoutArguments, SELECT_STRING_OPERATIONS, isSelectStringOperationName, SELECT_STRING_OPERATION_NAMES, OPERATION_SPELLING, NON_NEGATIVE_INTEGER, VIEW_SLUG_PATTERN, VIEW_SLUG_MESSAGE, SCHEMA_VIEW_FILTER_GROUP_REFUSAL, SAVED_VIEW_FILTER_GROUP_REFUSAL, RangeValueSchema,
|
|
3096
|
-
var
|
|
3097
|
-
"../../domain/schema/dist/chunk-
|
|
3095
|
+
var QUERY_BLOCKS, queryBlocksOf, QUERY_BLOCKS_SPELLED, queryRunsBlock, QUERY_FILTER_OPERATORS, isQueryFilterOperator, QUERY_FILTER_OPERATOR_NAMES, SPELLED, FIELD_PATH, AGGREGATE_OPERATORS, isAggregateOperator, AGGREGATE_OPERATOR_NAMES, INCLUDE_MODIFIER_NAMES, INCLUDE_MODIFIERS, isIncludeModifier, INCLUDE_EXPRESSION, SUPPORTED, MAX_SELECT_OPERATION_ARGUMENT, withoutArguments, SELECT_STRING_OPERATIONS, isSelectStringOperationName, SELECT_STRING_OPERATION_NAMES, OPERATION_SPELLING, NON_NEGATIVE_INTEGER, VIEW_SLUG_PATTERN, VIEW_SLUG_MESSAGE, SCHEMA_VIEW_FILTER_GROUP_REFUSAL, SAVED_VIEW_FILTER_GROUP_REFUSAL, RangeValueSchema, ColumnConfigSchema, MetadataFieldConfigSchema, MetadataLineConfigSchema, TableSettingsSchema, ViewScopeSchema, contentTypeScope, contentTypesScope, allScope, entryTypeScope, DeclaredViewScopeSchema, DeclaredFilterValueSchema, SchemaViewFilterSchema, SchemaViewDefinitionSchema;
|
|
3096
|
+
var init_chunk_7RCGVRNT = __esm({
|
|
3097
|
+
"../../domain/schema/dist/chunk-7RCGVRNT.js"() {
|
|
3098
3098
|
init_chunk_46JQ2NQ5();
|
|
3099
|
-
|
|
3099
|
+
init_chunk_6DD2XLHF();
|
|
3100
3100
|
QUERY_BLOCKS = ["fetch", "aggregate", "search"];
|
|
3101
3101
|
queryBlocksOf = (query) => QUERY_BLOCKS.filter((block) => Boolean(query[block]));
|
|
3102
3102
|
QUERY_BLOCKS_SPELLED = QUERY_BLOCKS.join(", ");
|
|
@@ -3202,48 +3202,7 @@ var init_chunk_5WZPX5RR = __esm({
|
|
|
3202
3202
|
from: z.union([z.string(), z.number(), z.date()]),
|
|
3203
3203
|
to: z.union([z.string(), z.number(), z.date()])
|
|
3204
3204
|
});
|
|
3205
|
-
|
|
3206
|
-
FilterConditionSchema = z.object({
|
|
3207
|
-
/**
|
|
3208
|
-
* Unique ID for this condition (for UI state management)
|
|
3209
|
-
* Accepts any string (UUID, or generated IDs like "filter-1")
|
|
3210
|
-
*/
|
|
3211
|
-
id: z.string().optional(),
|
|
3212
|
-
/**
|
|
3213
|
-
* The field ID to filter on
|
|
3214
|
-
* For system fields: 'id', 'status', 'createdAt', 'updatedAt', etc.
|
|
3215
|
-
* For custom fields: the field ID from the schema
|
|
3216
|
-
*/
|
|
3217
|
-
fieldId: z.string().min(1),
|
|
3218
|
-
/**
|
|
3219
|
-
* The field type - needed for validation and MongoDB path resolution
|
|
3220
|
-
* Use 'system' for system fields
|
|
3221
|
-
*/
|
|
3222
|
-
fieldType: z.string(),
|
|
3223
|
-
/**
|
|
3224
|
-
* The content type this field belongs to
|
|
3225
|
-
* Required for custom fields, null for system fields
|
|
3226
|
-
*/
|
|
3227
|
-
contentType: z.string().nullish(),
|
|
3228
|
-
/**
|
|
3229
|
-
* The filter operator
|
|
3230
|
-
*/
|
|
3231
|
-
operator: FilterOperatorSchema,
|
|
3232
|
-
/**
|
|
3233
|
-
* The filter value
|
|
3234
|
-
* Type depends on operator and field type
|
|
3235
|
-
*/
|
|
3236
|
-
value: FilterValueSchema.optional()
|
|
3237
|
-
});
|
|
3238
|
-
LogicalOperatorSchema = z.enum(["and", "or"]);
|
|
3239
|
-
FilterGroupSchema = z.lazy(
|
|
3240
|
-
() => z.object({
|
|
3241
|
-
// Accepts any string (UUID, or generated IDs like "group-1", "root-group")
|
|
3242
|
-
id: z.string().optional(),
|
|
3243
|
-
operator: LogicalOperatorSchema,
|
|
3244
|
-
conditions: z.array(z.union([FilterConditionSchema, FilterGroupSchema]))
|
|
3245
|
-
})
|
|
3246
|
-
);
|
|
3205
|
+
filterValueWith(RangeValueSchema, RelativeDateValueSchema);
|
|
3247
3206
|
ColumnConfigSchema = z.object({
|
|
3248
3207
|
/**
|
|
3249
3208
|
* Unique ID for this column
|
|
@@ -3396,106 +3355,6 @@ var init_chunk_5WZPX5RR = __esm({
|
|
|
3396
3355
|
}).strict(),
|
|
3397
3356
|
SCHEMA_VIEW_FILTER_GROUP_REFUSAL
|
|
3398
3357
|
);
|
|
3399
|
-
ViewDSLSchema = z.object({
|
|
3400
|
-
/**
|
|
3401
|
-
* View scope - what content types this view applies to
|
|
3402
|
-
*/
|
|
3403
|
-
scope: ViewScopeSchema,
|
|
3404
|
-
/**
|
|
3405
|
-
* Filter configuration
|
|
3406
|
-
* If not provided or empty, no filters are applied
|
|
3407
|
-
*/
|
|
3408
|
-
filters: FilterGroupSchema.optional(),
|
|
3409
|
-
/**
|
|
3410
|
-
* Table settings
|
|
3411
|
-
* If not provided, uses default table settings
|
|
3412
|
-
*/
|
|
3413
|
-
tableSettings: TableSettingsSchema.optional(),
|
|
3414
|
-
/**
|
|
3415
|
-
* Sort configuration
|
|
3416
|
-
*/
|
|
3417
|
-
sort: z.object({
|
|
3418
|
-
field: z.string(),
|
|
3419
|
-
direction: z.enum(["asc", "desc"])
|
|
3420
|
-
}).optional(),
|
|
3421
|
-
/**
|
|
3422
|
-
* Pagination defaults
|
|
3423
|
-
*/
|
|
3424
|
-
pagination: z.object({
|
|
3425
|
-
limit: z.number().int().positive().default(20),
|
|
3426
|
-
offset: z.number().int().min(0).default(0)
|
|
3427
|
-
}).optional()
|
|
3428
|
-
});
|
|
3429
|
-
ViewVisibilitySchema = z.enum(["private", "shared"]);
|
|
3430
|
-
ViewSourceSchema = z.enum(["schema", "user"]);
|
|
3431
|
-
z.object({
|
|
3432
|
-
/**
|
|
3433
|
-
* Unique view ID
|
|
3434
|
-
*/
|
|
3435
|
-
id: z.string().uuid(),
|
|
3436
|
-
/**
|
|
3437
|
-
* Project ID this view belongs to
|
|
3438
|
-
*/
|
|
3439
|
-
projectId: z.string().uuid(),
|
|
3440
|
-
/**
|
|
3441
|
-
* Dataset ID this view belongs to
|
|
3442
|
-
*/
|
|
3443
|
-
datasetId: z.string().uuid(),
|
|
3444
|
-
/**
|
|
3445
|
-
* View name (user-facing)
|
|
3446
|
-
*/
|
|
3447
|
-
name: z.string().min(1).max(100),
|
|
3448
|
-
/**
|
|
3449
|
-
* URL-friendly slug for the view (unique per dataset)
|
|
3450
|
-
* Used in Studio URLs like /studio/views/:slug
|
|
3451
|
-
*/
|
|
3452
|
-
slug: z.string().regex(VIEW_SLUG_PATTERN, VIEW_SLUG_MESSAGE),
|
|
3453
|
-
/**
|
|
3454
|
-
* Optional description
|
|
3455
|
-
*/
|
|
3456
|
-
description: z.string().max(500).optional(),
|
|
3457
|
-
/**
|
|
3458
|
-
* View icon (emoji or icon name)
|
|
3459
|
-
*/
|
|
3460
|
-
icon: z.string().optional(),
|
|
3461
|
-
/**
|
|
3462
|
-
* View color (for UI)
|
|
3463
|
-
*/
|
|
3464
|
-
color: z.string().optional(),
|
|
3465
|
-
/**
|
|
3466
|
-
* The ViewDSL configuration
|
|
3467
|
-
*/
|
|
3468
|
-
config: ViewDSLSchema,
|
|
3469
|
-
/**
|
|
3470
|
-
* View source - where this view was defined
|
|
3471
|
-
*/
|
|
3472
|
-
source: ViewSourceSchema,
|
|
3473
|
-
/**
|
|
3474
|
-
* View visibility (only applies to user-created views)
|
|
3475
|
-
*/
|
|
3476
|
-
visibility: ViewVisibilitySchema.optional(),
|
|
3477
|
-
/**
|
|
3478
|
-
* User ID who created this view (for user-created views)
|
|
3479
|
-
*/
|
|
3480
|
-
createdBy: z.string().uuid().optional(),
|
|
3481
|
-
/**
|
|
3482
|
-
* Schema view ID (for schema-defined views, to track updates)
|
|
3483
|
-
*/
|
|
3484
|
-
schemaViewId: z.string().optional(),
|
|
3485
|
-
/**
|
|
3486
|
-
* Sort order in the sidebar
|
|
3487
|
-
*/
|
|
3488
|
-
sortOrder: z.number().int().min(0).optional(),
|
|
3489
|
-
/**
|
|
3490
|
-
* Whether this view is pinned to the sidebar
|
|
3491
|
-
*/
|
|
3492
|
-
pinned: z.boolean().optional(),
|
|
3493
|
-
/**
|
|
3494
|
-
* Timestamps
|
|
3495
|
-
*/
|
|
3496
|
-
createdAt: z.date().optional(),
|
|
3497
|
-
updatedAt: z.date().optional()
|
|
3498
|
-
});
|
|
3499
3358
|
SchemaViewDefinitionSchema = z.object({
|
|
3500
3359
|
/**
|
|
3501
3360
|
* Unique ID for this view (within the schema)
|
|
@@ -3532,15 +3391,20 @@ var init_chunk_5WZPX5RR = __esm({
|
|
|
3532
3391
|
*/
|
|
3533
3392
|
filters: z.array(SchemaViewFilterSchema).optional(),
|
|
3534
3393
|
/**
|
|
3535
|
-
* Columns to display (field IDs)
|
|
3394
|
+
* Columns to display (field IDs). Display configuration, never part of a list read, so these
|
|
3395
|
+
* name field IDs as written (`title`), not the entries list's Properties — unlike `filters`
|
|
3396
|
+
* and `sort` (REL-1696).
|
|
3536
3397
|
*/
|
|
3537
3398
|
columns: z.array(z.string()).optional(),
|
|
3538
3399
|
/**
|
|
3539
|
-
* Metadata line fields (field IDs)
|
|
3400
|
+
* Metadata line fields (field IDs). Display configuration like `columns`, named the same way.
|
|
3540
3401
|
*/
|
|
3541
3402
|
metadataFields: z.array(z.string()).max(3).optional(),
|
|
3542
3403
|
/**
|
|
3543
|
-
* Default sort
|
|
3404
|
+
* Default sort. The Studio puts it in the entries read beside the filters (ADR 0008), so its
|
|
3405
|
+
* `field` names the entries list's Property — `_metadata.updatedAt`, `fields.title` — and
|
|
3406
|
+
* deploy refuses one the entries list does not sort by, as it refuses a filter it cannot
|
|
3407
|
+
* narrow by (REL-1696).
|
|
3544
3408
|
*/
|
|
3545
3409
|
sort: z.object({
|
|
3546
3410
|
field: z.string(),
|
|
@@ -3708,12 +3572,12 @@ function isCommonProtocol(protocol) {
|
|
|
3708
3572
|
return commonProtocols.includes(protocol.toLowerCase());
|
|
3709
3573
|
}
|
|
3710
3574
|
var QUERY_ENDPOINT_SEGMENT, QUERY_ENDPOINT_PATTERN, PARAMETER_EXPRESSION_SOURCE, parameterExpressionMatcher, ANCHORED_PARAMETER_EXPRESSION, parseDefault, parseParameterExpression, collectParameterExpressions, endpointPathParameters, ParameterExpressionStringSchema, QUERY_PARAMETER_TYPES, QueryParameterTypeSchema, QueryParameterScalarSchema, QueryParameterSchema, typeOfDefault, declareQueryParameters, SEARCH_SCORE_SORT_KEYS, isSearchScoreSortKey, QUERY_SYSTEM_FIELDS, isQuerySystemField, QUERY_STORAGE_PATH_PREFIX, QUERY_SYSTEM_ROOTS, SEARCH_SELECT_COLUMNS, isSearchSelectColumn, parseDynamicParameter, ParameterizedLimitSchema, ParameterizedOffsetSchema, ScalarSchema, WhereOperatorObjectSchema, FilterOperatorObjectSchema, HavingOperatorObjectSchema, WhereValueSchema, WhereConditionSchema, SortConditionSchema, EnhancedIncludeObjectSchema, IncludeDefinitionSchema, SelectMappingSchema, FilterDefinitionSchema, FullTextSearchSchema, ContentTypesSchema, SearchBlockSchema, AggregationMetricSchema, QueryCardinalitySchema, QueryCachePolicySchema, FetchBlockSchema, AggregateBlockSchema, IncludeSubQueriesSchema, QueryDefinitionSchema, CACHE_POLICY_STRING, normalizeQueryCachePolicy, CONTENT_API_ROUTE_SEGMENTS, RESERVED_TYPE_IDS, getComponentIdFromType, ComponentSchema, ContentTypeSchema, SettingsGroupSchema, SchemaDefinitionSchema, SavedViewFilterSchema;
|
|
3711
|
-
var
|
|
3712
|
-
"../../domain/schema/dist/chunk-
|
|
3713
|
-
|
|
3714
|
-
|
|
3575
|
+
var init_chunk_HPVV5V4C = __esm({
|
|
3576
|
+
"../../domain/schema/dist/chunk-HPVV5V4C.js"() {
|
|
3577
|
+
init_chunk_CPSW6QTD();
|
|
3578
|
+
init_chunk_7RCGVRNT();
|
|
3715
3579
|
init_chunk_W6RFZ2TV();
|
|
3716
|
-
|
|
3580
|
+
init_chunk_6DD2XLHF();
|
|
3717
3581
|
QUERY_ENDPOINT_SEGMENT = "api";
|
|
3718
3582
|
QUERY_ENDPOINT_PATTERN = new RegExp(
|
|
3719
3583
|
String.raw`^\/${QUERY_ENDPOINT_SEGMENT}\/([a-zA-Z0-9\-_/]|\{[a-zA-Z][a-zA-Z0-9_]*\})*$`
|
|
@@ -4601,7 +4465,22 @@ var init_chunk_GHHX2DKQ = __esm({
|
|
|
4601
4465
|
z.record(z.string(), z.unknown()),
|
|
4602
4466
|
SAVED_VIEW_FILTER_GROUP_REFUSAL
|
|
4603
4467
|
);
|
|
4604
|
-
|
|
4468
|
+
z.object({
|
|
4469
|
+
/** Which entries the View lists: one content type, several, one entry type, or all of them. */
|
|
4470
|
+
scope: ViewScopeSchema,
|
|
4471
|
+
/** Columns, metadata line, default page size and row density. */
|
|
4472
|
+
tableSettings: TableSettingsSchema.optional(),
|
|
4473
|
+
/** The order the entries are listed in unless the reader asks for another. */
|
|
4474
|
+
sort: z.object({
|
|
4475
|
+
field: z.string(),
|
|
4476
|
+
direction: z.enum(["asc", "desc"])
|
|
4477
|
+
}).optional(),
|
|
4478
|
+
/** The default page. */
|
|
4479
|
+
pagination: z.object({
|
|
4480
|
+
limit: z.number().int().positive().default(20),
|
|
4481
|
+
offset: z.number().int().min(0).default(0)
|
|
4482
|
+
}).optional(),
|
|
4483
|
+
/** The Filters, joined by AND; none lists every entry the scope holds. */
|
|
4605
4484
|
filters: refusingFilterGroups(
|
|
4606
4485
|
z.array(SavedViewFilterSchema),
|
|
4607
4486
|
SAVED_VIEW_FILTER_GROUP_REFUSAL
|
|
@@ -4609,6 +4488,12 @@ var init_chunk_GHHX2DKQ = __esm({
|
|
|
4609
4488
|
});
|
|
4610
4489
|
}
|
|
4611
4490
|
});
|
|
4491
|
+
|
|
4492
|
+
// ../../domain/schema/dist/chunk-IJSOONHT.js
|
|
4493
|
+
var init_chunk_IJSOONHT = __esm({
|
|
4494
|
+
"../../domain/schema/dist/chunk-IJSOONHT.js"() {
|
|
4495
|
+
}
|
|
4496
|
+
});
|
|
4612
4497
|
function emptyDefinition() {
|
|
4613
4498
|
return {
|
|
4614
4499
|
contentTypes: {},
|
|
@@ -4685,9 +4570,9 @@ var init_chunk_EGQAMYAG = __esm({
|
|
|
4685
4570
|
}
|
|
4686
4571
|
});
|
|
4687
4572
|
|
|
4688
|
-
// ../../domain/schema/dist/chunk-
|
|
4689
|
-
var
|
|
4690
|
-
"../../domain/schema/dist/chunk-
|
|
4573
|
+
// ../../domain/schema/dist/chunk-NGOOYRLJ.js
|
|
4574
|
+
var init_chunk_NGOOYRLJ = __esm({
|
|
4575
|
+
"../../domain/schema/dist/chunk-NGOOYRLJ.js"() {
|
|
4691
4576
|
}
|
|
4692
4577
|
});
|
|
4693
4578
|
|
|
@@ -4708,28 +4593,35 @@ var init_chunk_QSWR2YJN = __esm({
|
|
|
4708
4593
|
}
|
|
4709
4594
|
});
|
|
4710
4595
|
|
|
4711
|
-
// ../../domain/schema/dist/chunk-
|
|
4712
|
-
var
|
|
4713
|
-
"../../domain/schema/dist/chunk-
|
|
4714
|
-
|
|
4596
|
+
// ../../domain/schema/dist/chunk-BLVEM2X5.js
|
|
4597
|
+
var init_chunk_BLVEM2X5 = __esm({
|
|
4598
|
+
"../../domain/schema/dist/chunk-BLVEM2X5.js"() {
|
|
4599
|
+
init_chunk_CPSW6QTD();
|
|
4715
4600
|
init_chunk_QSWR2YJN();
|
|
4716
|
-
|
|
4601
|
+
init_chunk_6DD2XLHF();
|
|
4717
4602
|
init_chunk_6PLZZWGE();
|
|
4718
4603
|
}
|
|
4719
4604
|
});
|
|
4720
4605
|
|
|
4721
|
-
// ../../domain/schema/dist/chunk-
|
|
4606
|
+
// ../../domain/schema/dist/chunk-57HAIHG3.js
|
|
4607
|
+
var init_chunk_57HAIHG3 = __esm({
|
|
4608
|
+
"../../domain/schema/dist/chunk-57HAIHG3.js"() {
|
|
4609
|
+
}
|
|
4610
|
+
});
|
|
4611
|
+
|
|
4612
|
+
// ../../domain/schema/dist/chunk-CIGYSWUJ.js
|
|
4722
4613
|
var TABLE_SYSTEM_FIELD_KINDS;
|
|
4723
|
-
var
|
|
4724
|
-
"../../domain/schema/dist/chunk-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4614
|
+
var init_chunk_CIGYSWUJ = __esm({
|
|
4615
|
+
"../../domain/schema/dist/chunk-CIGYSWUJ.js"() {
|
|
4616
|
+
init_chunk_NGOOYRLJ();
|
|
4617
|
+
init_chunk_BLVEM2X5();
|
|
4618
|
+
init_chunk_57HAIHG3();
|
|
4619
|
+
init_chunk_6DD2XLHF();
|
|
4728
4620
|
init_chunk_6PLZZWGE();
|
|
4729
4621
|
TABLE_SYSTEM_FIELD_KINDS = {
|
|
4730
4622
|
id: "text",
|
|
4731
4623
|
contentType: "choice",
|
|
4732
|
-
status: "
|
|
4624
|
+
status: "choice",
|
|
4733
4625
|
createdAt: "date",
|
|
4734
4626
|
updatedAt: "date",
|
|
4735
4627
|
publishedAt: "date",
|
|
@@ -4742,13 +4634,18 @@ var init_chunk_FTFPIW7B = __esm({
|
|
|
4742
4634
|
workflowStageId: "choice",
|
|
4743
4635
|
workflowPaused: "boolean",
|
|
4744
4636
|
workflowPausedReason: "choice",
|
|
4637
|
+
workflowPriority: "choice",
|
|
4638
|
+
workflowAssignedTo: "reference",
|
|
4639
|
+
workflowSubmittedBy: "reference",
|
|
4640
|
+
workflowDueDate: "date",
|
|
4641
|
+
workflowSubmittedAt: "date",
|
|
4745
4642
|
"validation.isValid": "boolean",
|
|
4746
4643
|
publishedBy: "reference"
|
|
4747
4644
|
};
|
|
4748
4645
|
({
|
|
4749
4646
|
...TABLE_SYSTEM_FIELD_KINDS,
|
|
4750
|
-
"file.status": "
|
|
4751
|
-
"file.backend": "
|
|
4647
|
+
"file.status": "choice",
|
|
4648
|
+
"file.backend": "choice",
|
|
4752
4649
|
"file.mimeType": "text",
|
|
4753
4650
|
"file.fileName": "text",
|
|
4754
4651
|
"file.size": "number",
|
|
@@ -5393,17 +5290,19 @@ function notComparedWarning(part, refusals) {
|
|
|
5393
5290
|
var USAGE_CONTAINERS, BaseValidator, ValidationUtils, NamingValidator, StructuralValidator, FieldConfigValidator, CrossReferenceValidator, ComponentValidator, ComponentFieldTypeValidator, ComponentValidationUtils, ComponentReusabilityValidator, ComponentFieldStructureValidator, ComponentUsageContextValidator, ComponentNestingValidator, FieldsetValidator, CONTENT_TYPE_PROPS, COMPONENT_PROPS, GROUP_PROPS, QUERY_BASIC_PROPS, QUERY_OPTIONAL_PROPS, QUERY_DSL_BLOCKS, LOCALE_PROPS, ROLE_PROPS, WORKFLOW_STAGE_PROPS, VIEW_PROPS, FIELDSET_PROPS, ASSET_TYPE_PROPS, ASSET_KIND_BLOCKS, ASSET_KIND_KEY_MARKER, FILE_LOCALIZATION_MARKER, FIELD_REQUIRED_CHANGE_KEY, SchemaDiffer, ADDED_LABEL, CROSS_VERSION_CHECKS, CROSS_VERSION_CODES, EvolutionValidator, HierarchicalContentValidator, FieldRulesValidator, LocalizationValidator, LocaleConfigValidator, SettingsGroupsValidator, SingletonContentTypesValidator, FORBIDDEN_TYPES, AssetTypesValidator, FieldUIValidator, BENEATH, ANY_JOIN, DslQueryValidator, DataIntegrityValidator, RolesValidator, EVOLUTION_VALIDATOR_KEY, CROSS_VERSION_CHECKS_SKIPPED, ValidationPipeline, SchemaValidator, FIELD_SECTIONS, OPERATION_TIER, DEPLOY_VALIDATION_CONFIG;
|
|
5394
5291
|
var init_dist2 = __esm({
|
|
5395
5292
|
"../../domain/schema/dist/index.js"() {
|
|
5396
|
-
|
|
5293
|
+
init_chunk_HPVV5V4C();
|
|
5294
|
+
init_chunk_IJSOONHT();
|
|
5397
5295
|
init_chunk_EGQAMYAG();
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5296
|
+
init_chunk_CIGYSWUJ();
|
|
5297
|
+
init_chunk_NGOOYRLJ();
|
|
5298
|
+
init_chunk_BLVEM2X5();
|
|
5299
|
+
init_chunk_CPSW6QTD();
|
|
5402
5300
|
init_chunk_QSWR2YJN();
|
|
5403
|
-
|
|
5301
|
+
init_chunk_7RCGVRNT();
|
|
5404
5302
|
init_chunk_46JQ2NQ5();
|
|
5405
5303
|
init_chunk_W6RFZ2TV();
|
|
5406
|
-
|
|
5304
|
+
init_chunk_57HAIHG3();
|
|
5305
|
+
init_chunk_6DD2XLHF();
|
|
5407
5306
|
init_chunk_6PLZZWGE();
|
|
5408
5307
|
init_chunk_JH6U6ENN();
|
|
5409
5308
|
USAGE_CONTAINERS = [
|
|
@@ -21610,7 +21509,7 @@ var init_banner = __esm({
|
|
|
21610
21509
|
init_dev_cockpit_context();
|
|
21611
21510
|
init_dev_cockpit_format();
|
|
21612
21511
|
init_startup_info();
|
|
21613
|
-
CLI_VERSION2 = "0.
|
|
21512
|
+
CLI_VERSION2 = "0.7.0" ;
|
|
21614
21513
|
BRAND_GLYPH = "\u25B6";
|
|
21615
21514
|
BRAND_NAME = "RelyIO";
|
|
21616
21515
|
LABEL_WIDTH = 9;
|
|
@@ -31240,7 +31139,7 @@ function sandboxCommands(program2) {
|
|
|
31240
31139
|
}
|
|
31241
31140
|
|
|
31242
31141
|
// src/commands/version.ts
|
|
31243
|
-
var CLI_VERSION = "0.
|
|
31142
|
+
var CLI_VERSION = "0.7.0" ;
|
|
31244
31143
|
async function handleVersion(_options) {
|
|
31245
31144
|
console.log(heading("RelyIO CLI Version Information"));
|
|
31246
31145
|
const versionInfo = [
|
|
@@ -35514,7 +35413,7 @@ Examples:
|
|
|
35514
35413
|
}
|
|
35515
35414
|
|
|
35516
35415
|
// src/index.ts
|
|
35517
|
-
var CLI_VERSION3 = "0.
|
|
35416
|
+
var CLI_VERSION3 = "0.7.0" ;
|
|
35518
35417
|
var program = new Command();
|
|
35519
35418
|
program.name("relyio").description("RelyIO CLI - Content Management, Simplified").version(CLI_VERSION3);
|
|
35520
35419
|
registerGlobalOptions(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relyio/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "RelyIO is coming soon — this package is not ready for general use yet.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "team@relyio.com"
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"@relyio/api-contract": "0.1.0",
|
|
68
68
|
"@relyio/codegen-core": "1.0.0",
|
|
69
69
|
"@relyio/codegen-python": "0.1.0",
|
|
70
|
-
"@relyio/device-auth": "0.0.0",
|
|
71
70
|
"@relyio/codegen-typescript": "1.0.0",
|
|
72
71
|
"@relyio/eslint-config": "0.0.0",
|
|
72
|
+
"@relyio/device-auth": "0.0.0",
|
|
73
73
|
"@relyio/schema": "0.0.1",
|
|
74
|
-
"@relyio/
|
|
75
|
-
"@relyio/
|
|
74
|
+
"@relyio/tenancy": "0.1.0",
|
|
75
|
+
"@relyio/sdk": "0.11.0"
|
|
76
76
|
},
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|