simetra 0.3.0-next.5 → 0.3.0-next.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.
@@ -751,7 +751,7 @@ export declare const catalogSchema: z.ZodObject<{
751
751
  dimension: z.ZodString;
752
752
  }, z.core.$strict>]>>>;
753
753
  ownership: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>>;
754
- containerBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
754
+ containerBinding: z.ZodOptional<z.ZodString>;
755
755
  rightsContainer: z.ZodOptional<z.ZodBoolean>;
756
756
  storage: z.ZodOptional<z.ZodObject<{
757
757
  maxBytes: z.ZodInt;
@@ -1130,7 +1130,7 @@ export declare const documentSchema: z.ZodObject<{
1130
1130
  dimension: z.ZodString;
1131
1131
  }, z.core.$strict>]>>>;
1132
1132
  ownership: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>>;
1133
- containerBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
1133
+ containerBinding: z.ZodOptional<z.ZodString>;
1134
1134
  standardAttributeOverrides: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1135
1135
  title: z.ZodOptional<z.ZodObject<{
1136
1136
  uk: z.ZodOptional<z.ZodString>;
@@ -2213,6 +2213,12 @@ export declare const customActionsSchema: z.ZodDefault<z.ZodArray<z.ZodObject<{
2213
2213
  */
2214
2214
  export declare const rightsCarrierSchema: z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
2215
2215
  type RightsCarrier = z.infer<typeof rightsCarrierSchema>;
2216
+ /**
2217
+ * Прив'язка до контейнера прав (Р-К1-6): один реквізит-посилання. Ланцюжок
2218
+ * об'єктів будується прив'язкою кожного проміжного об'єкта, а не шляхом у
2219
+ * одному полі: кожен крок — власний об'єкт зі своїми політиками.
2220
+ */
2221
+ export declare const containerBindingSchema: z.ZodString;
2216
2222
  /** Власники рядка (спека прав §4.2): порожній перелік — це відсутність поля. */
2217
2223
  export declare const ownershipSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
2218
2224
  /**
@@ -3969,11 +3975,11 @@ export declare const pgEnumSchema: z.ZodObject<{
3969
3975
  en: z.ZodOptional<z.ZodString>;
3970
3976
  }, z.core.$strict>>;
3971
3977
  id: z.ZodOptional<z.ZodUUID>;
3978
+ name: z.ZodString;
3972
3979
  description: z.ZodOptional<z.ZodObject<{
3973
3980
  uk: z.ZodOptional<z.ZodString>;
3974
3981
  en: z.ZodOptional<z.ZodString>;
3975
3982
  }, z.core.$strict>>;
3976
- name: z.ZodString;
3977
3983
  schema: z.ZodOptional<z.ZodString>;
3978
3984
  $schema: z.ZodOptional<z.ZodString>;
3979
3985
  physicalName: z.ZodOptional<z.ZodString>;
@@ -4029,11 +4035,11 @@ export declare const eventSubscriptionSchema: z.ZodObject<{
4029
4035
  en: z.ZodOptional<z.ZodString>;
4030
4036
  }, z.core.$strict>>;
4031
4037
  id: z.ZodOptional<z.ZodUUID>;
4038
+ name: z.ZodString;
4032
4039
  description: z.ZodOptional<z.ZodObject<{
4033
4040
  uk: z.ZodOptional<z.ZodString>;
4034
4041
  en: z.ZodOptional<z.ZodString>;
4035
4042
  }, z.core.$strict>>;
4036
- name: z.ZodString;
4037
4043
  $schema: z.ZodOptional<z.ZodString>;
4038
4044
  physicalName: z.ZodOptional<z.ZodString>;
4039
4045
  }, z.core.$strict>;
@@ -5432,8 +5438,8 @@ export declare const runtimeConstraintSchema: z.ZodObject<{
5432
5438
  name: z.ZodString;
5433
5439
  kind: z.ZodEnum<{
5434
5440
  check: "check";
5435
- primaryKey: "primaryKey";
5436
5441
  unique: "unique";
5442
+ primaryKey: "primaryKey";
5437
5443
  foreignKey: "foreignKey";
5438
5444
  }>;
5439
5445
  columns: z.ZodArray<z.ZodString>;
@@ -5615,8 +5621,8 @@ export declare const runtimeSectionSchema: z.ZodObject<{
5615
5621
  name: z.ZodString;
5616
5622
  kind: z.ZodEnum<{
5617
5623
  check: "check";
5618
- primaryKey: "primaryKey";
5619
5624
  unique: "unique";
5625
+ primaryKey: "primaryKey";
5620
5626
  foreignKey: "foreignKey";
5621
5627
  }>;
5622
5628
  columns: z.ZodArray<z.ZodString>;
@@ -6274,8 +6280,8 @@ export declare const runtimeObjectSchema: z.ZodObject<{
6274
6280
  name: z.ZodString;
6275
6281
  kind: z.ZodEnum<{
6276
6282
  check: "check";
6277
- primaryKey: "primaryKey";
6278
6283
  unique: "unique";
6284
+ primaryKey: "primaryKey";
6279
6285
  foreignKey: "foreignKey";
6280
6286
  }>;
6281
6287
  columns: z.ZodArray<z.ZodString>;
@@ -6333,8 +6339,8 @@ export declare const runtimeObjectSchema: z.ZodObject<{
6333
6339
  name: z.ZodString;
6334
6340
  kind: z.ZodEnum<{
6335
6341
  check: "check";
6336
- primaryKey: "primaryKey";
6337
6342
  unique: "unique";
6343
+ primaryKey: "primaryKey";
6338
6344
  foreignKey: "foreignKey";
6339
6345
  }>;
6340
6346
  columns: z.ZodArray<z.ZodString>;
@@ -6714,8 +6720,8 @@ export declare const runtimeCatalogSchema: z.ZodObject<{
6714
6720
  name: z.ZodString;
6715
6721
  kind: z.ZodEnum<{
6716
6722
  check: "check";
6717
- primaryKey: "primaryKey";
6718
6723
  unique: "unique";
6724
+ primaryKey: "primaryKey";
6719
6725
  foreignKey: "foreignKey";
6720
6726
  }>;
6721
6727
  columns: z.ZodArray<z.ZodString>;
@@ -6773,8 +6779,8 @@ export declare const runtimeCatalogSchema: z.ZodObject<{
6773
6779
  name: z.ZodString;
6774
6780
  kind: z.ZodEnum<{
6775
6781
  check: "check";
6776
- primaryKey: "primaryKey";
6777
6782
  unique: "unique";
6783
+ primaryKey: "primaryKey";
6778
6784
  foreignKey: "foreignKey";
6779
6785
  }>;
6780
6786
  columns: z.ZodArray<z.ZodString>;
@@ -1202,6 +1202,12 @@ const customActionsSchema = z.array(customActionSchema).default([]).meta({ descr
1202
1202
  * «коментар задачі належить виконавцю задачі».
1203
1203
  */
1204
1204
  const rightsCarrierSchema = z.union([elementNameSchema, z.tuple([elementNameSchema, elementNameSchema])]).meta({ description: "An attribute of this object, or a path [attribute, attribute of its target]" });
1205
+ /**
1206
+ * Прив'язка до контейнера прав (Р-К1-6): один реквізит-посилання. Ланцюжок
1207
+ * об'єктів будується прив'язкою кожного проміжного об'єкта, а не шляхом у
1208
+ * одному полі: кожен крок — власний об'єкт зі своїми політиками.
1209
+ */
1210
+ const containerBindingSchema = elementNameSchema.meta({ description: "Attribute of this object that binds a row to its rights container, or to an object bound to one (a chain of bindings)." });
1205
1211
  /** Власники рядка (спека прав §4.2): порожній перелік — це відсутність поля. */
1206
1212
  const ownershipSchema = z.array(rightsCarrierSchema).min(1);
1207
1213
  /**
@@ -1445,7 +1451,7 @@ const catalogSchema = z.strictObject({
1445
1451
  customActions: customActionsSchema,
1446
1452
  access: accessSchema.optional(),
1447
1453
  ownership: ownershipSchema.optional().meta({ description: "Owners of a row: users or members the own extent of a grant opens the row to." }),
1448
- containerBinding: rightsCarrierSchema.optional().meta({ description: "Attribute (or a two-step path of attributes) that binds a row to its rights container: the catalog flagged rightsContainer." }),
1454
+ containerBinding: containerBindingSchema.optional().meta({ description: "Attribute that binds a row to its rights container (the catalog flagged rightsContainer) or to an object that is itself bound: a chain of bindings." }),
1449
1455
  rightsContainer: z.boolean().optional().meta({ description: "Marks the catalog as a rights container: objects bind to its rows with containerBinding, and a grant on the container covers them." }),
1450
1456
  storage: storageSchema.optional(),
1451
1457
  standardAttributeOverrides: standardAttributeOverridesSchema,
@@ -1886,7 +1892,7 @@ const documentSchema = z.strictObject({
1886
1892
  customActions: customActionsSchema,
1887
1893
  access: accessSchema.optional(),
1888
1894
  ownership: ownershipSchema.optional().meta({ description: "Owners of a row: users or members the own extent of a grant opens the row to." }),
1889
- containerBinding: rightsCarrierSchema.optional().meta({ description: "Attribute (or a two-step path of attributes) that binds a row to its rights container: the catalog flagged rightsContainer." }),
1895
+ containerBinding: containerBindingSchema.optional().meta({ description: "Attribute that binds a row to its rights container (the catalog flagged rightsContainer) or to an object that is itself bound: a chain of bindings." }),
1890
1896
  standardAttributeOverrides: standardAttributeOverridesSchema,
1891
1897
  attributes: z.array(attributeSchema).default([]).meta({ description: "Custom attributes of the document." }),
1892
1898
  tabularSections: z.array(tabularSectionSchema).default([]).meta({ description: "Tabular sections of the document." }),
@@ -8768,4 +8774,4 @@ const ASSIGNED_ONCE = [
8768
8774
  field: "primaryDataLanguage"
8769
8775
  }
8770
8776
  ];
8771
- export { APPLIED_SNAPSHOT_HASH_FUNCTION_NAME, ASSIGNED_ONCE, ATTRIBUTE_CASES, BATCH_MAX, CAST_TYPES, CENTRIFUGO_CHANNEL_MAX, COMMAND_CORE_ERRORS, COMMAND_ERROR_CODES, COMMAND_SETTING, CURRENT_USER_FUNCTION_NAME, CommandFailure, DATABASE_PROVIDERS, DEFAULT_MAIN_PRESENTATION, DEFAULT_SEARCH_MODE, DELETE_EVENTS, ELEMENT_ID_SEPARATOR, FILTER_DEPTH_MAX, FILTER_IN_MAX, FILTER_NODES_MAX, FILTER_OPERATORS, FUNCTIONS_FILE_SUFFIX, HEAD_READABLE_SETTINGS, HIERARCHY_ISOLATION_ERROR, INCLUDE_MAX, INTEGER_TEXT, JSONB_PAIRS_PER_CALL, KIND_REGISTRY, KNOWN_MARKER, LIMIT_REASONS, LOGICAL_TYPES, LOGIN_ROLE_PARENTS, LOGIN_ROLE_REQUEST_PURPOSES, LOGIN_ROLE_SETTINGS, MAX_PHYSICAL_NAME_BYTES, MEMBERSHIP_SET_FUNCTION, METADATA_KINDS, NO_SCOPE, OBJECT_MODULE_KEYS, OBJECT_OPERATIONS, OPERATION_EVENTS, ORDER_BY_MAX, PAYLOAD_MAX_BYTES, PINNED_SESSION_SETTINGS, PLATFORM_ACTIONS, PLATFORM_LOGIN_ROLES, PLATFORM_ROLES, PLATFORM_ROLES_NOT_PURPOSES, PLATFORM_SCHEMA, PLATFORM_SETTING_PREFIX, PLATFORM_STATE_TABLES, PRIVILEGED_LOGIN_REASONS, PROJECT_KEY_ORDER, PROTECTED_SESSION_SETTINGS, PROVIDER_API_ROLES, PROVIDER_EVENT_SOURCES, PROVIDER_EXPRESSION_FUNCTIONS, PROVIDER_FUNCTIONS, PROVIDER_IDENTITY_SOURCES, PROVIDER_LOGIN_ROLES, PROVIDER_OWNER_ROLES, PROVIDER_SCHEMAS, PUBLIC_READ_PURPOSES, PUBLIC_READ_ROLES, READ_BATCH_MAX, READ_BATCH_STATEMENTS_MAX, READ_COUNT_CAP, READ_LIMIT_MAX, READ_OFFSET_MAX, RESPONSE_BUDGET_BYTES, RICH_TEXT_MAX_DEPTH, RICH_TEXT_PROFILE, RICH_TEXT_WHITESPACE, RIGHTS_CLIENT_SNAPSHOT_FUNCTION_NAME, RIGHTS_COLUMNS, RIGHTS_DELTA_SECTION, RIGHTS_DIMENSION_VALUES_MAX, RIGHTS_MAINTENANCE_SETTING, RIGHTS_REQUIRE_ERROR, ROW_VERSION_EPOCH_FUNCTION_NAME, SCHEMA_RULES, SEARCH_MODES, SEARCH_PREFIX_CHARS, SESSION_CLAIMS_SETTING, SIGNAL_INVALIDATE_FUNCTION_NAME, SIGNAL_MERGE_MODE, SIGNAL_MERGE_THRESHOLD, SIGNAL_MODE_SETTING, SIGNAL_NOTIFY_CHANNEL, SIGNAL_OUTBOX, SIGNAL_PAYLOAD_MAX_BYTES, SIGNAL_TOPIC_ALLOWED_FUNCTION_NAME, SQL_DEBT_FILE, SQL_FUNCTION_CALLERS, SQL_UNIT_CLASSES, STANDARD_ACTIONS, STORAGE_ERRORS, STORAGE_FUNCTIONS, STORAGE_MAX_BYTES, STORAGE_REASONS, STORAGE_TABLES, STRUCTURAL_PATH_WORDS, SUBSCRIPTION_EVENTS, TABULAR_LINES_MAX, TOPIC_UUID_PATTERN, USER_PLATFORM_COLUMNS, UUID_TEXT, VALUE_REASONS, WireDecodeError, WireEncodeError, ZERO_UUID, acceptInvitationAction, accessDimensionSchema, accessMappingSchema, accessSchema, accumulationRegisterSchema, actionRequires, appSchemaNameSchema, assignPhysicalName, assignedOnSchema, assignmentSourceSchema, attributeSchema, authorColumns, batchSchema, castTypeSchema, catalogAdoptedFactsSchema, catalogAttributeSchema, catalogEntryAttributeSchema, catalogEntrySchema, catalogEntrySectionSchema, catalogFromSnapshot, catalogIndex, catalogRightsCarrierSchema, catalogRightsExtentSchema, catalogRightsSchema, catalogRightsSetSchema, catalogRightsSubjectSchema, catalogRoleLevelSchema, catalogRoleSchema, catalogSchema, changeSignalSchema, changesFromWire, changesToWire, channelTopic, checkRichText, chooseConstraintName, clientCatalogSchema, clipBytes, closeRequires, compositeIndexesSchema, constantSchema, customActionSchema, customActionsSchema, customTableColumnSchema, customTableSchema, dataRequestSchema, dataResponseSchema, decodeRow, decodeValues, defaultMayRepeat, defaultViolatesValueChecks, defineObjectModule, deletionMarkColumn, diffCatalogModels, documentSchema, effectiveMaxBytes, effectiveSearch, elementIdSchema, elementNameSchema, encodeAttributeValue, encodeAttributes, encodeItemValue, encodePair, encodeRow, enumValueSchema, enumerationSchema, errorFromWire, errorToWire, eventSubscriptionSchema, expectsKindLabel, extentSchema, fileObjectKey, filePlatformColumns, filterSchema, filterWithinLimits, formatMetaFile, formatProjectFile, formatSqlDebtFile, formatSqlFunctionsFile, grantEntryForm, grantEntrySchema, includeSchema, informationRegisterSchema, invalidateSignalSchema, isDate, isDateTime, isFileObjectKey, isFileObjectPrefix, isObjectOrigin, isObjectTable, isPlainObject, isRecordKeyAt, isRichTextEmpty, isScalarDefault, isSqlReservedWord, isTextEncodedType, isUuidColumn, isWithinType, jsonBytes, jsonbBuildObject, kernelHashSchema, keyColumn, keysetFilter, keysetNodesMax, kindByDir, knownFormAllowed, knownSchema, lengthLimited, lineNumberColumn, localizedStringSchema, logicalElementName, logicalObjectName, logicalTypeOf, loginRoleParentNames, makeObjectName, matchesAttributeCase, membershipSourceSchema, metadataIdSchema, metadataKindSchema, metadataRefSchema, monthColumn, namedCollections, normalDateTime, objectColumns, objectHeaderShape, objectNameSchema, objectSelectorSchema, objectTable, operationFromWire, operationSchema, operationToWire, orderBySchema, ownershipSchema, parseExpression, parsePublicRead, parseStandardElementId, parseTopic, pathFromWire, pathToWire, pgEnumSchema, pgEnumTypeName, pgTypeOf, physicalNameSchema, postsMovements, predefinedNameColumn, projectSchema, publicReadConditionalSchema, publicReadSchema, publicationCarriers, publishedColumn, qualifiedNameSchema, queryFormSchema, quoteIdent, readPartFromWire, readPartToWire, readQueryFromWire, readQuerySchema, readQueryToWire, readResultFromWire, readResultToWire, receivedChangeSchema, receivedInvalidateSchema, receivedRightsSchema, refineValueType, resourceSchema, richTextDepthOk, rightsCarrierSchema, rightsDimensionValuesSchema, rightsMemberSchema, rightsRowSchema, rightsSetSchema, rightsSignalSchema, rightsSnapshotSchema, rightsValueSchema, rightsVersionSchema, roleAssignedOnSchema, roleSchema, rowWithoutSearch, runtimeAttributeSchema, runtimeCatalogSchema, runtimeConstraintSchema, runtimeObjectSchema, runtimeOperationTargetSchema, runtimeRootCreateSchema, runtimeSectionSchema, scopeKindSchema, searchColumnName, searchNormalization, searchPrefixNormalization, searchSchema, serviceDateColumns, sessionClaimsSchema, setGrantEntrySchema, singleUuidKeyColumn, singletonColumn, sourceConditionSchema, splitKnownMarker, sqlDebtSchema, sqlFunctionDeclarationSchema, sqlFunctionsFileSchema, standardAttributeOverridesSchema, standardElementId, standardLogicalName, storageSchema, tabularParentColumn, tabularSectionSchema, toSnakeCase, truncatedPeriodExpression, updateOperationObjectSchema, userPlatformColumns, valueTypeShape, versionColumn, versionEpochSchema, versionValueSchema, walkExpr, wireChangeSchema, wireCommandErrorSchema, wireOperationSchema, wireReadPartSchema, wireReadPartsResultSchema, wireReadQuerySchema, wireReadResultSchema, wireRunResultSchema };
8777
+ export { APPLIED_SNAPSHOT_HASH_FUNCTION_NAME, ASSIGNED_ONCE, ATTRIBUTE_CASES, BATCH_MAX, CAST_TYPES, CENTRIFUGO_CHANNEL_MAX, COMMAND_CORE_ERRORS, COMMAND_ERROR_CODES, COMMAND_SETTING, CURRENT_USER_FUNCTION_NAME, CommandFailure, DATABASE_PROVIDERS, DEFAULT_MAIN_PRESENTATION, DEFAULT_SEARCH_MODE, DELETE_EVENTS, ELEMENT_ID_SEPARATOR, FILTER_DEPTH_MAX, FILTER_IN_MAX, FILTER_NODES_MAX, FILTER_OPERATORS, FUNCTIONS_FILE_SUFFIX, HEAD_READABLE_SETTINGS, HIERARCHY_ISOLATION_ERROR, INCLUDE_MAX, INTEGER_TEXT, JSONB_PAIRS_PER_CALL, KIND_REGISTRY, KNOWN_MARKER, LIMIT_REASONS, LOGICAL_TYPES, LOGIN_ROLE_PARENTS, LOGIN_ROLE_REQUEST_PURPOSES, LOGIN_ROLE_SETTINGS, MAX_PHYSICAL_NAME_BYTES, MEMBERSHIP_SET_FUNCTION, METADATA_KINDS, NO_SCOPE, OBJECT_MODULE_KEYS, OBJECT_OPERATIONS, OPERATION_EVENTS, ORDER_BY_MAX, PAYLOAD_MAX_BYTES, PINNED_SESSION_SETTINGS, PLATFORM_ACTIONS, PLATFORM_LOGIN_ROLES, PLATFORM_ROLES, PLATFORM_ROLES_NOT_PURPOSES, PLATFORM_SCHEMA, PLATFORM_SETTING_PREFIX, PLATFORM_STATE_TABLES, PRIVILEGED_LOGIN_REASONS, PROJECT_KEY_ORDER, PROTECTED_SESSION_SETTINGS, PROVIDER_API_ROLES, PROVIDER_EVENT_SOURCES, PROVIDER_EXPRESSION_FUNCTIONS, PROVIDER_FUNCTIONS, PROVIDER_IDENTITY_SOURCES, PROVIDER_LOGIN_ROLES, PROVIDER_OWNER_ROLES, PROVIDER_SCHEMAS, PUBLIC_READ_PURPOSES, PUBLIC_READ_ROLES, READ_BATCH_MAX, READ_BATCH_STATEMENTS_MAX, READ_COUNT_CAP, READ_LIMIT_MAX, READ_OFFSET_MAX, RESPONSE_BUDGET_BYTES, RICH_TEXT_MAX_DEPTH, RICH_TEXT_PROFILE, RICH_TEXT_WHITESPACE, RIGHTS_CLIENT_SNAPSHOT_FUNCTION_NAME, RIGHTS_COLUMNS, RIGHTS_DELTA_SECTION, RIGHTS_DIMENSION_VALUES_MAX, RIGHTS_MAINTENANCE_SETTING, RIGHTS_REQUIRE_ERROR, ROW_VERSION_EPOCH_FUNCTION_NAME, SCHEMA_RULES, SEARCH_MODES, SEARCH_PREFIX_CHARS, SESSION_CLAIMS_SETTING, SIGNAL_INVALIDATE_FUNCTION_NAME, SIGNAL_MERGE_MODE, SIGNAL_MERGE_THRESHOLD, SIGNAL_MODE_SETTING, SIGNAL_NOTIFY_CHANNEL, SIGNAL_OUTBOX, SIGNAL_PAYLOAD_MAX_BYTES, SIGNAL_TOPIC_ALLOWED_FUNCTION_NAME, SQL_DEBT_FILE, SQL_FUNCTION_CALLERS, SQL_UNIT_CLASSES, STANDARD_ACTIONS, STORAGE_ERRORS, STORAGE_FUNCTIONS, STORAGE_MAX_BYTES, STORAGE_REASONS, STORAGE_TABLES, STRUCTURAL_PATH_WORDS, SUBSCRIPTION_EVENTS, TABULAR_LINES_MAX, TOPIC_UUID_PATTERN, USER_PLATFORM_COLUMNS, UUID_TEXT, VALUE_REASONS, WireDecodeError, WireEncodeError, ZERO_UUID, acceptInvitationAction, accessDimensionSchema, accessMappingSchema, accessSchema, accumulationRegisterSchema, actionRequires, appSchemaNameSchema, assignPhysicalName, assignedOnSchema, assignmentSourceSchema, attributeSchema, authorColumns, batchSchema, castTypeSchema, catalogAdoptedFactsSchema, catalogAttributeSchema, catalogEntryAttributeSchema, catalogEntrySchema, catalogEntrySectionSchema, catalogFromSnapshot, catalogIndex, catalogRightsCarrierSchema, catalogRightsExtentSchema, catalogRightsSchema, catalogRightsSetSchema, catalogRightsSubjectSchema, catalogRoleLevelSchema, catalogRoleSchema, catalogSchema, changeSignalSchema, changesFromWire, changesToWire, channelTopic, checkRichText, chooseConstraintName, clientCatalogSchema, clipBytes, closeRequires, compositeIndexesSchema, constantSchema, containerBindingSchema, customActionSchema, customActionsSchema, customTableColumnSchema, customTableSchema, dataRequestSchema, dataResponseSchema, decodeRow, decodeValues, defaultMayRepeat, defaultViolatesValueChecks, defineObjectModule, deletionMarkColumn, diffCatalogModels, documentSchema, effectiveMaxBytes, effectiveSearch, elementIdSchema, elementNameSchema, encodeAttributeValue, encodeAttributes, encodeItemValue, encodePair, encodeRow, enumValueSchema, enumerationSchema, errorFromWire, errorToWire, eventSubscriptionSchema, expectsKindLabel, extentSchema, fileObjectKey, filePlatformColumns, filterSchema, filterWithinLimits, formatMetaFile, formatProjectFile, formatSqlDebtFile, formatSqlFunctionsFile, grantEntryForm, grantEntrySchema, includeSchema, informationRegisterSchema, invalidateSignalSchema, isDate, isDateTime, isFileObjectKey, isFileObjectPrefix, isObjectOrigin, isObjectTable, isPlainObject, isRecordKeyAt, isRichTextEmpty, isScalarDefault, isSqlReservedWord, isTextEncodedType, isUuidColumn, isWithinType, jsonBytes, jsonbBuildObject, kernelHashSchema, keyColumn, keysetFilter, keysetNodesMax, kindByDir, knownFormAllowed, knownSchema, lengthLimited, lineNumberColumn, localizedStringSchema, logicalElementName, logicalObjectName, logicalTypeOf, loginRoleParentNames, makeObjectName, matchesAttributeCase, membershipSourceSchema, metadataIdSchema, metadataKindSchema, metadataRefSchema, monthColumn, namedCollections, normalDateTime, objectColumns, objectHeaderShape, objectNameSchema, objectSelectorSchema, objectTable, operationFromWire, operationSchema, operationToWire, orderBySchema, ownershipSchema, parseExpression, parsePublicRead, parseStandardElementId, parseTopic, pathFromWire, pathToWire, pgEnumSchema, pgEnumTypeName, pgTypeOf, physicalNameSchema, postsMovements, predefinedNameColumn, projectSchema, publicReadConditionalSchema, publicReadSchema, publicationCarriers, publishedColumn, qualifiedNameSchema, queryFormSchema, quoteIdent, readPartFromWire, readPartToWire, readQueryFromWire, readQuerySchema, readQueryToWire, readResultFromWire, readResultToWire, receivedChangeSchema, receivedInvalidateSchema, receivedRightsSchema, refineValueType, resourceSchema, richTextDepthOk, rightsCarrierSchema, rightsDimensionValuesSchema, rightsMemberSchema, rightsRowSchema, rightsSetSchema, rightsSignalSchema, rightsSnapshotSchema, rightsValueSchema, rightsVersionSchema, roleAssignedOnSchema, roleSchema, rowWithoutSearch, runtimeAttributeSchema, runtimeCatalogSchema, runtimeConstraintSchema, runtimeObjectSchema, runtimeOperationTargetSchema, runtimeRootCreateSchema, runtimeSectionSchema, scopeKindSchema, searchColumnName, searchNormalization, searchPrefixNormalization, searchSchema, serviceDateColumns, sessionClaimsSchema, setGrantEntrySchema, singleUuidKeyColumn, singletonColumn, sourceConditionSchema, splitKnownMarker, sqlDebtSchema, sqlFunctionDeclarationSchema, sqlFunctionsFileSchema, standardAttributeOverridesSchema, standardElementId, standardLogicalName, storageSchema, tabularParentColumn, tabularSectionSchema, toSnakeCase, truncatedPeriodExpression, updateOperationObjectSchema, userPlatformColumns, valueTypeShape, versionColumn, versionEpochSchema, versionValueSchema, walkExpr, wireChangeSchema, wireCommandErrorSchema, wireOperationSchema, wireReadPartSchema, wireReadPartsResultSchema, wireReadQuerySchema, wireReadResultSchema, wireRunResultSchema };
@@ -1021,7 +1021,7 @@ export declare function checkOwnerAttributes(tx: ApplyTransaction, provider: Dat
1021
1021
  * тримає тест, а не читання маніфесту під час виконання: ярус не звертається
1022
1022
  * до файлової системи.
1023
1023
  */
1024
- export declare const PLATFORM_VERSION = "0.3.0-next.5";
1024
+ export declare const PLATFORM_VERSION = "0.3.0-next.7";
1025
1025
  /**
1026
1026
  * Структурний ключ таблиці для множин і мап: ім'я з крапкою не злипається зі
1027
1027
  * схемою, як злиплося б у `schema.name`. Складені ключі підоб'єктів — так
@@ -3893,7 +3893,7 @@ async function readSessionSearchPath(tx) {
3893
3893
  * тримає тест, а не читання маніфесту під час виконання: ярус не звертається
3894
3894
  * до файлової системи.
3895
3895
  */
3896
- const PLATFORM_VERSION = "0.3.0-next.5";
3896
+ const PLATFORM_VERSION = "0.3.0-next.7";
3897
3897
  // src/schema/apply/state.ts
3898
3898
  /**
3899
3899
  * Форма стану застосування (платформна спека §6.1). Читач приймає лише її:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simetra",
3
- "version": "0.3.0-next.5",
3
+ "version": "0.3.0-next.7",
4
4
  "description": "Metadata-driven platform for business applications on Postgres: metamodel, compiler and schema engine",
5
5
  "keywords": [
6
6
  "metadata",
@@ -135,7 +135,7 @@
135
135
  "publishConfig": {
136
136
  "access": "public"
137
137
  },
138
- "gitHead": "9da9764e9560e9eed81032929617a4faf3dce72f",
138
+ "gitHead": "6b120c1da2e623d3a4250e4e29c35ebe21ef7467",
139
139
  "scripts": {
140
140
  "build": "tsc --noEmit",
141
141
  "build:package": "tsdown",
@@ -429,32 +429,9 @@
429
429
  }
430
430
  },
431
431
  "containerBinding": {
432
- "description": "Attribute (or a two-step path of attributes) that binds a row to its rights container: the catalog flagged rightsContainer.",
433
- "anyOf": [
434
- {
435
- "type": "string",
436
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
437
- "description": "Logical element name (attribute, section, column). The casing style is checked against the project naming setting."
438
- },
439
- {
440
- "type": "array",
441
- "prefixItems": [
442
- {
443
- "type": "string",
444
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
445
- "description": "Logical element name (attribute, section, column). The casing style is checked against the project naming setting."
446
- },
447
- {
448
- "type": "string",
449
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
450
- "description": "Logical element name (attribute, section, column). The casing style is checked against the project naming setting."
451
- }
452
- ],
453
- "items": false,
454
- "minItems": 2,
455
- "maxItems": 2
456
- }
457
- ]
432
+ "description": "Attribute that binds a row to its rights container (the catalog flagged rightsContainer) or to an object that is itself bound: a chain of bindings.",
433
+ "type": "string",
434
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
458
435
  },
459
436
  "rightsContainer": {
460
437
  "description": "Marks the catalog as a rights container: objects bind to its rows with containerBinding, and a grant on the container covers them.",
@@ -447,32 +447,9 @@
447
447
  }
448
448
  },
449
449
  "containerBinding": {
450
- "description": "Attribute (or a two-step path of attributes) that binds a row to its rights container: the catalog flagged rightsContainer.",
451
- "anyOf": [
452
- {
453
- "type": "string",
454
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
455
- "description": "Logical element name (attribute, section, column). The casing style is checked against the project naming setting."
456
- },
457
- {
458
- "type": "array",
459
- "prefixItems": [
460
- {
461
- "type": "string",
462
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
463
- "description": "Logical element name (attribute, section, column). The casing style is checked against the project naming setting."
464
- },
465
- {
466
- "type": "string",
467
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
468
- "description": "Logical element name (attribute, section, column). The casing style is checked against the project naming setting."
469
- }
470
- ],
471
- "items": false,
472
- "minItems": 2,
473
- "maxItems": 2
474
- }
475
- ]
450
+ "description": "Attribute that binds a row to its rights container (the catalog flagged rightsContainer) or to an object that is itself bound: a chain of bindings.",
451
+ "type": "string",
452
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
476
453
  },
477
454
  "standardAttributeOverrides": {
478
455
  "default": {},