@relyio/cli 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/index.js +131 -82
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -920,10 +920,10 @@ var init_exit_codes = __esm({
920
920
  }
921
921
  });
922
922
 
923
- // ../../platform/api-contract/dist/chunk-HN42AOXD.js
923
+ // ../../platform/api-contract/dist/chunk-PVEJCUTN.js
924
924
  var ERROR_CODES;
925
- var init_chunk_HN42AOXD = __esm({
926
- "../../platform/api-contract/dist/chunk-HN42AOXD.js"() {
925
+ var init_chunk_PVEJCUTN = __esm({
926
+ "../../platform/api-contract/dist/chunk-PVEJCUTN.js"() {
927
927
  ERROR_CODES = {
928
928
  MISSING_API_KEY: { status: 401 },
929
929
  INVALID_API_KEY: { status: 401 },
@@ -1002,6 +1002,25 @@ var init_chunk_HN42AOXD = __esm({
1002
1002
  * 2026-09-27 (REL-1316).
1003
1003
  */
1004
1004
  ORGANIZATION_DELETE_BLOCKED: { status: 409 },
1005
+ /**
1006
+ * Added by REL-1730, the fifth name added to §4's approved seventeen.
1007
+ *
1008
+ * A Clerk session is valid the moment someone signs up, and the User's row
1009
+ * in Manage is written later, when Clerk's `user.created` webhook arrives.
1010
+ * In between, Manage refused every request with `INVALID_API_KEY` — the code
1011
+ * a forged token gets — so only the message told "wait" from "sign in
1012
+ * again", and a new invitee landing after sign-up met exactly that window.
1013
+ * It passes Decision 3's test: a client reading it keeps the session and
1014
+ * asks again after `Retry-After`, which no other code tells it. 503 with
1015
+ * `Retry-After` because it is a wait on a dependency rather than a refused
1016
+ * credential (`INV-API-INDETERMINATE-HAS-A-STATUS`); `SERVICE_INDETERMINATE`
1017
+ * was not reused because a client cannot tell from it that the credential
1018
+ * is good and the wait is bounded by a webhook.
1019
+ *
1020
+ * A **customer-facing naming decision**, approved by the product owner on
1021
+ * 2026-10-01 (REL-1721).
1022
+ */
1023
+ USER_NOT_PROVISIONED: { status: 503 },
1005
1024
  RESOURCE_NOT_FOUND: { status: 404 },
1006
1025
  RESOURCE_CONFLICT: { status: 409 },
1007
1026
  RESOURCE_EXPIRED: { status: 410 },
@@ -1048,7 +1067,7 @@ function readError(body) {
1048
1067
  var ContractBodyError;
1049
1068
  var init_client2 = __esm({
1050
1069
  "../../platform/api-contract/dist/client/index.js"() {
1051
- init_chunk_HN42AOXD();
1070
+ init_chunk_PVEJCUTN();
1052
1071
  ContractBodyError = class extends Error {
1053
1072
  body;
1054
1073
  constructor(message, body) {
@@ -1486,8 +1505,8 @@ function isBuiltInRole(roleId) {
1486
1505
  return BUILT_IN_ROLES.includes(roleId);
1487
1506
  }
1488
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;
1489
- var init_chunk_BUTRMHUP = __esm({
1490
- "../../domain/schema/dist/chunk-BUTRMHUP.js"() {
1508
+ var init_chunk_MTW7TUIF = __esm({
1509
+ "../../domain/schema/dist/chunk-MTW7TUIF.js"() {
1491
1510
  init_chunk_6PLZZWGE();
1492
1511
  init_chunk_JH6U6ENN();
1493
1512
  FallbackChainSchema = z.object({
@@ -2508,9 +2527,9 @@ function resolveAssetType(def) {
2508
2527
  };
2509
2528
  }
2510
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;
2511
- var init_chunk_CE6CNF7I = __esm({
2512
- "../../domain/schema/dist/chunk-CE6CNF7I.js"() {
2513
- init_chunk_BUTRMHUP();
2530
+ var init_chunk_SLHDFP7X = __esm({
2531
+ "../../domain/schema/dist/chunk-SLHDFP7X.js"() {
2532
+ init_chunk_MTW7TUIF();
2514
2533
  FieldsetSchema = z.object({
2515
2534
  id: z.string().regex(
2516
2535
  /^[a-zA-Z][a-zA-Z0-9_]*$/,
@@ -3043,6 +3062,17 @@ function parseSelectExpression(expression) {
3043
3062
  }
3044
3063
  return { ok: true, path: path25, operation };
3045
3064
  }
3065
+ function isFilterGroupShape(value) {
3066
+ return value !== null && typeof value === "object" && !Array.isArray(value) && Object.hasOwn(value, "conditions");
3067
+ }
3068
+ function refusingFilterGroups(schema, message) {
3069
+ return z.preprocess((value, ctx) => {
3070
+ if (isFilterGroupShape(value)) {
3071
+ ctx.addIssue({ code: z.ZodIssueCode.custom, message, fatal: true });
3072
+ }
3073
+ return value;
3074
+ }, schema);
3075
+ }
3046
3076
  function filterValueWith(range, relativeDate) {
3047
3077
  return z.union([
3048
3078
  // Simple values
@@ -3062,11 +3092,11 @@ function filterValueWith(range, relativeDate) {
3062
3092
  // ISO date string
3063
3093
  ]);
3064
3094
  }
3065
- 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, RangeValueSchema, FilterValueSchema, FilterConditionSchema, LogicalOperatorSchema, FilterGroupSchema, ColumnConfigSchema, MetadataFieldConfigSchema, MetadataLineConfigSchema, TableSettingsSchema, ViewScopeSchema, contentTypeScope, contentTypesScope, allScope, entryTypeScope, DeclaredViewScopeSchema, DeclaredFilterValueSchema, ViewDSLSchema, ViewVisibilitySchema, ViewSourceSchema, SchemaViewDefinitionSchema;
3066
- var init_chunk_QG7U6KYM = __esm({
3067
- "../../domain/schema/dist/chunk-QG7U6KYM.js"() {
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, FilterValueSchema, FilterConditionSchema, LogicalOperatorSchema, FilterGroupSchema, ColumnConfigSchema, MetadataFieldConfigSchema, MetadataLineConfigSchema, TableSettingsSchema, ViewScopeSchema, contentTypeScope, contentTypesScope, allScope, entryTypeScope, DeclaredViewScopeSchema, DeclaredFilterValueSchema, SchemaViewFilterSchema, ViewDSLSchema, ViewVisibilitySchema, ViewSourceSchema, SchemaViewDefinitionSchema;
3096
+ var init_chunk_5WZPX5RR = __esm({
3097
+ "../../domain/schema/dist/chunk-5WZPX5RR.js"() {
3068
3098
  init_chunk_46JQ2NQ5();
3069
- init_chunk_BUTRMHUP();
3099
+ init_chunk_MTW7TUIF();
3070
3100
  QUERY_BLOCKS = ["fetch", "aggregate", "search"];
3071
3101
  queryBlocksOf = (query) => QUERY_BLOCKS.filter((block) => Boolean(query[block]));
3072
3102
  QUERY_BLOCKS_SPELLED = QUERY_BLOCKS.join(", ");
@@ -3166,6 +3196,8 @@ var init_chunk_QG7U6KYM = __esm({
3166
3196
  NON_NEGATIVE_INTEGER = /^\d+$/;
3167
3197
  VIEW_SLUG_PATTERN = /^[a-z][a-z0-9-]*$/;
3168
3198
  VIEW_SLUG_MESSAGE = "Slug must be lowercase, start with a letter, and contain only letters, numbers, and hyphens";
3199
+ SCHEMA_VIEW_FILTER_GROUP_REFUSAL = "A view's filters are a flat list, joined by AND: a filter group (an `operator` with `conditions`) is not accepted. List each of its conditions as a filter of its own, or use `isAnyOf` for an OR within one field.";
3200
+ SAVED_VIEW_FILTER_GROUP_REFUSAL = "A View's filters are flat Conditions, joined by AND: a filter group (an `operator` with `conditions`) is not accepted. Save each of its conditions as a Condition of its own, or use `in` for an OR within one Property.";
3169
3201
  RangeValueSchema = z.object({
3170
3202
  from: z.union([z.string(), z.number(), z.date()]),
3171
3203
  to: z.union([z.string(), z.number(), z.date()])
@@ -3356,6 +3388,14 @@ var init_chunk_QG7U6KYM = __esm({
3356
3388
  RangeValueSchema.strict(),
3357
3389
  RelativeDateValueSchema.strict()
3358
3390
  );
3391
+ SchemaViewFilterSchema = refusingFilterGroups(
3392
+ z.object({
3393
+ field: z.string(),
3394
+ operator: FilterOperatorSchema,
3395
+ value: DeclaredFilterValueSchema.optional()
3396
+ }).strict(),
3397
+ SCHEMA_VIEW_FILTER_GROUP_REFUSAL
3398
+ );
3359
3399
  ViewDSLSchema = z.object({
3360
3400
  /**
3361
3401
  * View scope - what content types this view applies to
@@ -3487,29 +3527,10 @@ var init_chunk_QG7U6KYM = __esm({
3487
3527
  */
3488
3528
  scope: DeclaredViewScopeSchema,
3489
3529
  /**
3490
- * Filter configuration (simplified for YAML)
3530
+ * The view's filters: a flat list, joined by AND. A filter group is refused by name
3531
+ * (REL-1630).
3491
3532
  */
3492
- filters: z.array(
3493
- z.union([
3494
- // Simple condition
3495
- z.object({
3496
- field: z.string(),
3497
- operator: FilterOperatorSchema,
3498
- value: DeclaredFilterValueSchema.optional()
3499
- }).strict(),
3500
- // Group
3501
- z.object({
3502
- operator: LogicalOperatorSchema,
3503
- conditions: z.array(
3504
- z.object({
3505
- field: z.string(),
3506
- operator: FilterOperatorSchema,
3507
- value: DeclaredFilterValueSchema.optional()
3508
- }).strict()
3509
- )
3510
- }).strict()
3511
- ])
3512
- ).optional(),
3533
+ filters: z.array(SchemaViewFilterSchema).optional(),
3513
3534
  /**
3514
3535
  * Columns to display (field IDs)
3515
3536
  */
@@ -3686,13 +3707,13 @@ function isCommonProtocol(protocol) {
3686
3707
  const commonProtocols = ["http", "https", "ftp", "ftps", "sftp", "file", "mailto", "tel"];
3687
3708
  return commonProtocols.includes(protocol.toLowerCase());
3688
3709
  }
3689
- 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;
3690
- var init_chunk_LKXAZEW4 = __esm({
3691
- "../../domain/schema/dist/chunk-LKXAZEW4.js"() {
3692
- init_chunk_CE6CNF7I();
3693
- init_chunk_QG7U6KYM();
3710
+ 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 init_chunk_GHHX2DKQ = __esm({
3712
+ "../../domain/schema/dist/chunk-GHHX2DKQ.js"() {
3713
+ init_chunk_SLHDFP7X();
3714
+ init_chunk_5WZPX5RR();
3694
3715
  init_chunk_W6RFZ2TV();
3695
- init_chunk_BUTRMHUP();
3716
+ init_chunk_MTW7TUIF();
3696
3717
  QUERY_ENDPOINT_SEGMENT = "api";
3697
3718
  QUERY_ENDPOINT_PATTERN = new RegExp(
3698
3719
  String.raw`^\/${QUERY_ENDPOINT_SEGMENT}\/([a-zA-Z0-9\-_/]|\{[a-zA-Z][a-zA-Z0-9_]*\})*$`
@@ -4576,6 +4597,16 @@ var init_chunk_LKXAZEW4 = __esm({
4576
4597
  validateContentTypeWorkflow(assetTypeId, assetType, "assetTypes");
4577
4598
  }
4578
4599
  });
4600
+ SavedViewFilterSchema = refusingFilterGroups(
4601
+ z.record(z.string(), z.unknown()),
4602
+ SAVED_VIEW_FILTER_GROUP_REFUSAL
4603
+ );
4604
+ ViewDSLSchema.omit({ filters: true }).extend({
4605
+ filters: refusingFilterGroups(
4606
+ z.array(SavedViewFilterSchema),
4607
+ SAVED_VIEW_FILTER_GROUP_REFUSAL
4608
+ ).optional()
4609
+ });
4579
4610
  }
4580
4611
  });
4581
4612
  function emptyDefinition() {
@@ -4654,33 +4685,9 @@ var init_chunk_EGQAMYAG = __esm({
4654
4685
  }
4655
4686
  });
4656
4687
 
4657
- // ../../domain/schema/dist/chunk-LDBRHF5K.js
4658
- var TABLE_SYSTEM_FIELD_KINDS;
4659
- var init_chunk_LDBRHF5K = __esm({
4660
- "../../domain/schema/dist/chunk-LDBRHF5K.js"() {
4661
- init_chunk_BUTRMHUP();
4662
- init_chunk_6PLZZWGE();
4663
- TABLE_SYSTEM_FIELD_KINDS = {
4664
- id: "text",
4665
- contentType: "choice",
4666
- status: "text",
4667
- createdAt: "date",
4668
- updatedAt: "date",
4669
- publishedAt: "date",
4670
- createdBy: "reference",
4671
- updatedBy: "reference"
4672
- };
4673
- ({
4674
- ...TABLE_SYSTEM_FIELD_KINDS,
4675
- "file.status": "text",
4676
- "file.backend": "text",
4677
- "file.mimeType": "text",
4678
- "file.fileName": "text",
4679
- "file.size": "number",
4680
- "file.extracted.width": "number",
4681
- "file.extracted.height": "number",
4682
- "file.extracted.duration": "number"
4683
- });
4688
+ // ../../domain/schema/dist/chunk-IYJ7UCPY.js
4689
+ var init_chunk_IYJ7UCPY = __esm({
4690
+ "../../domain/schema/dist/chunk-IYJ7UCPY.js"() {
4684
4691
  }
4685
4692
  });
4686
4693
 
@@ -4701,15 +4708,56 @@ var init_chunk_QSWR2YJN = __esm({
4701
4708
  }
4702
4709
  });
4703
4710
 
4704
- // ../../domain/schema/dist/chunk-GICJZDXP.js
4705
- var init_chunk_GICJZDXP = __esm({
4706
- "../../domain/schema/dist/chunk-GICJZDXP.js"() {
4707
- init_chunk_CE6CNF7I();
4711
+ // ../../domain/schema/dist/chunk-VIL5NXDT.js
4712
+ var init_chunk_VIL5NXDT = __esm({
4713
+ "../../domain/schema/dist/chunk-VIL5NXDT.js"() {
4714
+ init_chunk_SLHDFP7X();
4708
4715
  init_chunk_QSWR2YJN();
4709
- init_chunk_BUTRMHUP();
4716
+ init_chunk_MTW7TUIF();
4710
4717
  init_chunk_6PLZZWGE();
4711
4718
  }
4712
4719
  });
4720
+
4721
+ // ../../domain/schema/dist/chunk-FTFPIW7B.js
4722
+ var TABLE_SYSTEM_FIELD_KINDS;
4723
+ var init_chunk_FTFPIW7B = __esm({
4724
+ "../../domain/schema/dist/chunk-FTFPIW7B.js"() {
4725
+ init_chunk_IYJ7UCPY();
4726
+ init_chunk_VIL5NXDT();
4727
+ init_chunk_MTW7TUIF();
4728
+ init_chunk_6PLZZWGE();
4729
+ TABLE_SYSTEM_FIELD_KINDS = {
4730
+ id: "text",
4731
+ contentType: "choice",
4732
+ status: "text",
4733
+ createdAt: "date",
4734
+ updatedAt: "date",
4735
+ publishedAt: "date",
4736
+ createdBy: "reference",
4737
+ updatedBy: "reference",
4738
+ entryType: "choice",
4739
+ localeStatus: "choice",
4740
+ hasUnpublishedWork: "boolean",
4741
+ releaseId: "reference",
4742
+ workflowStageId: "choice",
4743
+ workflowPaused: "boolean",
4744
+ workflowPausedReason: "choice",
4745
+ "validation.isValid": "boolean",
4746
+ publishedBy: "reference"
4747
+ };
4748
+ ({
4749
+ ...TABLE_SYSTEM_FIELD_KINDS,
4750
+ "file.status": "text",
4751
+ "file.backend": "text",
4752
+ "file.mimeType": "text",
4753
+ "file.fileName": "text",
4754
+ "file.size": "number",
4755
+ "file.extracted.width": "number",
4756
+ "file.extracted.height": "number",
4757
+ "file.extracted.duration": "number"
4758
+ });
4759
+ }
4760
+ });
4713
4761
  function containerIndex(record) {
4714
4762
  const entries = Object.entries(record ?? {});
4715
4763
  return {
@@ -5345,16 +5393,17 @@ function notComparedWarning(part, refusals) {
5345
5393
  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;
5346
5394
  var init_dist2 = __esm({
5347
5395
  "../../domain/schema/dist/index.js"() {
5348
- init_chunk_LKXAZEW4();
5396
+ init_chunk_GHHX2DKQ();
5349
5397
  init_chunk_EGQAMYAG();
5350
- init_chunk_LDBRHF5K();
5351
- init_chunk_GICJZDXP();
5352
- init_chunk_CE6CNF7I();
5398
+ init_chunk_FTFPIW7B();
5399
+ init_chunk_IYJ7UCPY();
5400
+ init_chunk_VIL5NXDT();
5401
+ init_chunk_SLHDFP7X();
5353
5402
  init_chunk_QSWR2YJN();
5354
- init_chunk_QG7U6KYM();
5403
+ init_chunk_5WZPX5RR();
5355
5404
  init_chunk_46JQ2NQ5();
5356
5405
  init_chunk_W6RFZ2TV();
5357
- init_chunk_BUTRMHUP();
5406
+ init_chunk_MTW7TUIF();
5358
5407
  init_chunk_6PLZZWGE();
5359
5408
  init_chunk_JH6U6ENN();
5360
5409
  USAGE_CONTAINERS = [
@@ -21561,7 +21610,7 @@ var init_banner = __esm({
21561
21610
  init_dev_cockpit_context();
21562
21611
  init_dev_cockpit_format();
21563
21612
  init_startup_info();
21564
- CLI_VERSION2 = "0.5.0" ;
21613
+ CLI_VERSION2 = "0.6.0" ;
21565
21614
  BRAND_GLYPH = "\u25B6";
21566
21615
  BRAND_NAME = "RelyIO";
21567
21616
  LABEL_WIDTH = 9;
@@ -31191,7 +31240,7 @@ function sandboxCommands(program2) {
31191
31240
  }
31192
31241
 
31193
31242
  // src/commands/version.ts
31194
- var CLI_VERSION = "0.5.0" ;
31243
+ var CLI_VERSION = "0.6.0" ;
31195
31244
  async function handleVersion(_options) {
31196
31245
  console.log(heading("RelyIO CLI Version Information"));
31197
31246
  const versionInfo = [
@@ -35465,7 +35514,7 @@ Examples:
35465
35514
  }
35466
35515
 
35467
35516
  // src/index.ts
35468
- var CLI_VERSION3 = "0.5.0" ;
35517
+ var CLI_VERSION3 = "0.6.0" ;
35469
35518
  var program = new Command();
35470
35519
  program.name("relyio").description("RelyIO CLI - Content Management, Simplified").version(CLI_VERSION3);
35471
35520
  registerGlobalOptions(program);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relyio/cli",
3
- "version": "0.5.0",
3
+ "version": "0.6.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/codegen-typescript": "1.0.0",
71
70
  "@relyio/device-auth": "0.0.0",
71
+ "@relyio/codegen-typescript": "1.0.0",
72
72
  "@relyio/eslint-config": "0.0.0",
73
73
  "@relyio/schema": "0.0.1",
74
- "@relyio/tenancy": "0.1.0",
75
- "@relyio/sdk": "0.8.0"
74
+ "@relyio/sdk": "0.10.0",
75
+ "@relyio/tenancy": "0.1.0"
76
76
  },
77
77
  "publishConfig": {
78
78
  "access": "public"