@relyio/sdk 0.18.0 → 0.19.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 (50) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/automations/index.cjs +18 -17
  3. package/dist/automations/index.d.cts +289 -8
  4. package/dist/automations/index.d.ts +289 -8
  5. package/dist/automations/index.js +3 -2
  6. package/dist/{chunk-ZHTJ7GXH.js → chunk-356SF5Y2.js} +84 -26
  7. package/dist/{chunk-ZAMAR3X2.cjs → chunk-5F3YYPLZ.cjs} +11249 -10771
  8. package/dist/{chunk-LSI26ZN2.cjs → chunk-DBYMG6MQ.cjs} +5 -5
  9. package/dist/{chunk-SHSK7UUY.cjs → chunk-NN45CSPZ.cjs} +177 -11
  10. package/dist/{chunk-IFKF72VJ.cjs → chunk-P23G5NXD.cjs} +122 -63
  11. package/dist/{chunk-W7JFHSFM.js → chunk-PZCDJFMA.js} +11249 -10772
  12. package/dist/{chunk-EDE2H37D.js → chunk-T7LGREB3.js} +174 -12
  13. package/dist/{chunk-R6E4HE7R.js → chunk-W2GRVXDG.js} +3 -3
  14. package/dist/client/index.cjs +4 -4
  15. package/dist/client/index.d.cts +4 -4
  16. package/dist/client/index.d.ts +4 -4
  17. package/dist/client/index.js +2 -2
  18. package/dist/{define-content-type-NEQDrvdq.d.cts → define-content-type-BZ6X8GvL.d.cts} +1324 -156
  19. package/dist/{define-content-type-fb-WCD5e.d.ts → define-content-type-C12jh8cY.d.ts} +1324 -156
  20. package/dist/{define-schema-Dlwh6l_J.d.ts → define-schema-BPlZl4a2.d.cts} +104 -3
  21. package/dist/{define-schema-DZhtvLiK.d.cts → define-schema-CK7TtYot.d.ts} +104 -3
  22. package/dist/extensions/index.cjs +26 -6
  23. package/dist/extensions/index.d.cts +5 -791
  24. package/dist/extensions/index.d.ts +5 -791
  25. package/dist/extensions/index.js +24 -4
  26. package/dist/functions/index.cjs +7 -4
  27. package/dist/functions/index.d.cts +4 -4
  28. package/dist/functions/index.d.ts +4 -4
  29. package/dist/functions/index.js +5 -2
  30. package/dist/{index-M3luH06A.d.ts → index-BxNnlc5D.d.ts} +91 -73
  31. package/dist/{index-C4LqrNd1.d.ts → index-C-MymZTe.d.ts} +1 -1
  32. package/dist/{index-DwHcL6x5.d.cts → index-D5jyIeQ5.d.cts} +91 -73
  33. package/dist/{index-Dnmt_UOo.d.cts → index-DN0l8RHw.d.cts} +1 -1
  34. package/dist/index.cjs +88 -84
  35. package/dist/index.d.cts +64 -14
  36. package/dist/index.d.ts +64 -14
  37. package/dist/index.js +4 -4
  38. package/dist/preview/index.cjs +3 -3
  39. package/dist/preview/index.js +1 -1
  40. package/dist/{register-B53i97A9.d.ts → register-BiMQKVp-.d.ts} +24 -8
  41. package/dist/{register-BYCs0FpF.d.cts → register-DeMsaurp.d.cts} +24 -8
  42. package/dist/rich-text/index.d.cts +2 -2
  43. package/dist/rich-text/index.d.ts +2 -2
  44. package/dist/schema/index.cjs +41 -40
  45. package/dist/schema/index.d.cts +7 -120
  46. package/dist/schema/index.d.ts +7 -120
  47. package/dist/schema/index.js +2 -1
  48. package/dist/types/index.d.cts +1 -1
  49. package/dist/types/index.d.ts +1 -1
  50. package/package.json +2 -2
@@ -1,123 +1,8 @@
1
- export { v as AggregateBlock, $ as AnyQueryParameters, A as AnyRecordTypeDefinition, L as CachePolicy, M as CachePolicyObject, a0 as DeclaredParameters, u as FetchBlock, J as FilterDefinition, F as FullTextSearch, H as HavingOperator, D as IncludeDefinition, E as IncludeRelationship, O as IncludeSubQueries, N as IncludeSubQuery, Z as InferQueryParams, Y as InferQueryResponse, I as InferRecordType, K as KeyedRecordTypeConfig, P as Parameterizable, X as QueryCardinality, Q as QueryConfig, s as QueryDefinition, T as QueryParameter, U as QueryParameterType, _ as QueryParameterValue, z as QueryScalar, t as QueryType, p as RecordExpiry, q as RecordFieldsOf, o as RecordTypeDefinition, d as RecordUpdateFieldsOf, R as RecordWriteFieldsOf, m as RolesAsList, k as SchemaAssetTypeNames, f as SchemaConfig, a as SchemaContentTypeNames, g as SchemaDefinition, b as SchemaEntry, l as SchemaEntryOf, c as SchemaLocaleCodes, i as SchemaQueryNames, S as SchemaRecordTypeNames, j as SchemaSettingsGroupNames, h as SchemaSingletonNames, w as SearchBlock, G as SelectMapping, B as SortCondition, C as SortDirection, V as ViewsAsList, W as WhereCondition, y as WhereOperator, x as WhereValue, r as defineQuery, n as defineRecordType, e as defineSchema } from '../define-schema-DZhtvLiK.cjs';
2
- import { A as AIConfig, c as AnyFieldDefinition, d as AnyKeyedField, e as AssetAIConfig, B as BaseFieldConfig, f as BooleanConfig, C as CodeConfig, g as CounterConfig, h as DateConfig, i as DateTimeConfig, j as DecimalConfig, E as EmailConfig, k as EnumConfig, l as FieldAIConfig, m as FieldDefinition, n as FieldRule, o as FieldType, p as FieldUIConfig, q as FileConfig, I as IntegerConfig, J as JsonConfig, r as KeyedEnumConfig, s as KeyedField, t as KeyedFieldOptions, u as KeyedFields, v as KeyedFieldsOf, K as KeyedMembers, a as KeyedMembersOf, L as ListConfig, w as LocalizationConfig, x as Localized, y as LocalizedDetails, z as LongTextConfig, N as NeverUniqueFieldConfig, O as ObjectConfig, R as ReadOnlyRule, G as ReferenceConfig, H as RequirementRule, M as RichTextConfig, P as RichTextLinks, Q as RuleCondition, S as RuleConditions, T as SequenceConfig, U as ShortTextConfig, V as SlugConfig, W as TableConfig, X as TagsConfig, Y as UrlConfig, Z as ValidationRule, _ as VisibilityRule, $ as WidgetOptions, a0 as boolean, a1 as code, a2 as counter, a3 as date, a4 as dateTime, a5 as decimal, a6 as email, a7 as enumField, a8 as file, a9 as integer, aa as json, ab as list, ac as longText, ad as object, ae as reference, af as richText, ag as sequence, ah as shortText, ai as slug, aj as table, ak as tags, al as url } from '../define-content-type-NEQDrvdq.cjs';
3
- export { cf as AllScopeConfig, aP as AnyDeclaredFieldset, as as AssetReading, ba as AssetServedBlocks, b7 as AssetTypeDefinition, bF as BUILT_IN_ROLES, bH as BUILT_IN_ROLE_ACTIONS, aq as BlockOf, bI as BuiltInRole, au as CheckInclude, at as CheckedIncludes, av as ContentReading, aT as ContentTypeDefinition, cc as ContentTypeScopeConfig, c5 as ContentTypeWorkflowConfig, cd as ContentTypesScopeConfig, D as DeclaredFields, aO as DeclaredFieldset, aU as EntryMetadata, ce as EntryTypeScopeConfig, aR as FieldMember, am as FieldSchemaContext, an as FieldValue, F as FieldValues, bL as FieldVisibility, aN as Fieldset, bd as FileKindConfig, br as FileScanConfig, b as FileUpload, bq as FileUploadConfig, bj as ImageExifConfig, bf as ImageFitMode, bb as ImageKindConfig, bg as ImageOutputFormat, bi as ImageSourceConfig, be as ImageTransform, bh as ImageUploadConfig, aw as IncludablePaths, b9 as InferAssetEntry, b8 as InferAssetType, aV as InferContentType, cr as InferJsonSchema, b4 as InferSettingsGroup, a$ as InferSingleton, cs as JsonFieldValue, ct as JsonSchema, cu as JsonValue, ap as Keyed, b6 as KeyedAssetTypeConfig, aS as KeyedContentTypeConfig, aQ as KeyedFieldsetConfig, bO as KeyedRoleConfig, bP as KeyedRoleDefinition, bQ as KeyedRoles, bR as KeyedRolesAsList, bt as KeyedRollups, b1 as KeyedSettingsGroupConfig, aY as KeyedSingletonConfig, cn as KeyedViewConfig, co as KeyedViewDefinition, cp as KeyedViews, cq as KeyedViewsAsList, c6 as KeyedWorkflowConfig, c7 as KeyedWorkflowStageConfig, c8 as KeyedWorkflowStageDefinition, c9 as KeyedWorkflowStages, aK as LocaleDefinition, aJ as LocaleOptions, aW as LocalePublicationFields, bG as ROLE_ACTIONS, ay as ReadWith, ax as Reading, cv as RecordFile, bK as ResourcePermission, bJ as RoleAction, bM as RoleConfig, bN as RoleDefinition, bu as RollupDefinition, bv as RollupKind, bw as RollupOptions, bx as RollupValues, by as RollupWhereValue, bA as RollupsOf, b2 as SettingsGroupDefinition, b3 as SettingsGroupMetadata, az as SettingsReading, ar as ShapeValue, aZ as SingletonContentTypeDefinition, a_ as SingletonMetadata, aA as SingletonReading, bz as StoredRollup, aI as TextDirection, ao as UnresolvedEntry, aB as UntypedReading, bk as VariantDefinition, bn as VideoCaptionsConfig, bo as VideoDownloadConfig, bc as VideoKindConfig, bm as VideoPosterConfig, bl as VideoUploadConfig, bp as VideoWatermarkConfig, cl as ViewConfig, cm as ViewDefinition, ck as ViewFilter, cj as ViewFilterCondition, cg as ViewFilterOperator, ci as ViewFilterRelativeDate, ch as ViewFilterValue, cb as ViewScopeConfig, c1 as WorkflowAutoAssign, c4 as WorkflowDefinition, c0 as WorkflowEscalation, c2 as WorkflowStageConfig, c3 as WorkflowStageDefinition, aH as buildFallbackChain, b5 as defineAssetType, aL as defineContentType, bU as defineContentTypeWorkflow, aC as defineLocale, bB as defineRole, b0 as defineSettingsGroup, aX as defineSingleton, ca as defineView, bS as defineWorkflow, bT as defineWorkflowStage, aM as fieldset, aF as findDefaultLocale, bY as findWorkflowStage, aG as getActiveLocales, bE as getBuiltInRoleActions, b_ as getFirstWorkflowStage, aE as getLocaleCodes, bZ as getNextWorkflowStage, bX as getWorkflowStageIds, bD as isBuiltInRole, b$ as isFinalWorkflowStage, aD as isLocaleDefinition, bC as isRoleDefinition, bV as isWorkflowDefinition, bW as isWorkflowStageDefinition, bs as rollup } from '../define-content-type-NEQDrvdq.cjs';
1
+ export { y as AggregateBlock, a6 as AnyQueryParameters, A as AnyRecordTypeDefinition, X as CachePolicy, Y as CachePolicyObject, a7 as DeclaredParameters, x as FetchBlock, F as FieldsWriteRule, U as FilterDefinition, w as FullTextSearch, H as HavingOperator, L as IncludeDefinition, M as IncludeRelationship, _ as IncludeSubQueries, Z as IncludeSubQuery, a4 as InferQueryParams, a3 as InferQueryResponse, I as InferRecordType, K as KeyedRecordTypeConfig, N as NamedPolicyRule, O as OwnerDeletedAction, $ as Parameterizable, P as PolicyRule, a2 as QueryCardinality, Q as QueryConfig, u as QueryDefinition, a0 as QueryParameter, a1 as QueryParameterType, a5 as QueryParameterValue, E as QueryScalar, v as QueryType, n as RecordExpiry, o as RecordFieldsOf, m as RecordTypeDefinition, p as RecordTypeEndUsers, q as RecordUpdateFieldsOf, r as RecordWriteFieldsOf, s as RecordWriteRule, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, j as SchemaEntry, k as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, i as SchemaRecordTypeNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, z as SearchBlock, T as SelectMapping, G as SortCondition, J as SortDirection, V as ViewsAsList, B as WhereCondition, D as WhereOperator, C as WhereValue, W as WriteRule, t as defineQuery, l as defineRecordType, d as defineSchema } from '../define-schema-BPlZl4a2.cjs';
2
+ import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, e as CounterConfig, D as DateConfig, f as DateTimeConfig, g as DecimalConfig, E as EmailConfig, h as EnumConfig, F as FieldAIConfig, i as FieldDefinition, j as FieldRule, k as FieldType, l as FieldUIConfig, m as FileConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, n as KeyedField, o as KeyedFieldOptions, p as KeyedFields, q as KeyedFieldsOf, r as KeyedMembers, s as KeyedMembersOf, L as ListConfig, t as LocalizationConfig, u as Localized, v as LocalizedDetails, w as LongTextConfig, N as NeverUniqueFieldConfig, O as ObjectConfig, x as OwnerConfig, R as ReadOnlyRule, y as ReferenceConfig, z as RequirementRule, G as RichTextConfig, H as RichTextLinks, M as RuleCondition, P as RuleConditions, S as SequenceConfig, Q as ShortTextConfig, T as SlugConfig, U as TableConfig, V as TagsConfig, W as UrlConfig, X as ValidationRule, Y as VisibilityRule, Z as WidgetOptions, _ as boolean, $ as code, a0 as counter, a1 as date, a2 as dateTime, a3 as decimal, a4 as email, a5 as enumField, a6 as file, a7 as integer, a8 as json, a9 as list, aa as longText, ab as object, ac as owner, ad as reference, ae as richText, af as sequence, ag as shortText, ah as slug, ai as table, aj as tags, ak as url } from '../define-content-type-BZ6X8GvL.cjs';
3
+ export { ch as AllScopeConfig, aQ as AnyDeclaredFieldset, at as AssetReading, bc as AssetServedBlocks, b9 as AssetTypeDefinition, bH as BUILT_IN_ROLES, bJ as BUILT_IN_ROLE_ACTIONS, ar as BlockOf, bK as BuiltInRole, cD as CONDITION_OPERATORS, av as CheckInclude, au as CheckedIncludes, cE as ConditionArgument, cF as ConditionOperator, cG as ConditionPath, cH as ConditionScalar, cI as ConditionTest, cJ as ConditionTests, cK as ConditionTree, aw as ContentReading, aV as ContentTypeDefinition, aU as ContentTypeEndUsers, ce as ContentTypeScopeConfig, c7 as ContentTypeWorkflowConfig, cf as ContentTypesScopeConfig, ao as DeclaredFields, aP as DeclaredFieldset, aW as EntryMetadata, cg as EntryTypeScopeConfig, aS as FieldMember, al as FieldSchemaContext, am as FieldValue, an as FieldValues, bN as FieldVisibility, aO as Fieldset, bf as FileKindConfig, bt as FileScanConfig, cx as FileUpload, bs as FileUploadConfig, bl as ImageExifConfig, bh as ImageFitMode, bd as ImageKindConfig, bi as ImageOutputFormat, bk as ImageSourceConfig, bg as ImageTransform, bj as ImageUploadConfig, ax as IncludablePaths, bb as InferAssetEntry, ba as InferAssetType, aX as InferContentType, ct as InferJsonSchema, b6 as InferSettingsGroup, b1 as InferSingleton, cu as JsonFieldValue, cv as JsonSchema, cw as JsonValue, aq as Keyed, b8 as KeyedAssetTypeConfig, aT as KeyedContentTypeConfig, aR as KeyedFieldsetConfig, bQ as KeyedRoleConfig, bR as KeyedRoleDefinition, bS as KeyedRoles, bT as KeyedRolesAsList, bv as KeyedRollups, b3 as KeyedSettingsGroupConfig, a_ as KeyedSingletonConfig, cp as KeyedViewConfig, cq as KeyedViewDefinition, cr as KeyedViews, cs as KeyedViewsAsList, c8 as KeyedWorkflowConfig, c9 as KeyedWorkflowStageConfig, ca as KeyedWorkflowStageDefinition, cb as KeyedWorkflowStages, aL as LocaleDefinition, aK as LocaleOptions, aY as LocalePublicationFields, cL as OpenConditionChildren, bI as ROLE_ACTIONS, az as ReadWith, ay as Reading, cy as RecordFile, bM as ResourcePermission, bL as RoleAction, bO as RoleConfig, bP as RoleDefinition, bw as RollupDefinition, bx as RollupKind, by as RollupOptions, bz as RollupValues, bA as RollupWhereValue, bC as RollupsOf, b4 as SettingsGroupDefinition, b5 as SettingsGroupMetadata, aA as SettingsReading, as as ShapeValue, a$ as SingletonContentTypeDefinition, b0 as SingletonMetadata, aB as SingletonReading, bB as StoredRollup, aJ as TextDirection, ap as UnresolvedEntry, aC as UntypedReading, bm as VariantDefinition, bp as VideoCaptionsConfig, bq as VideoDownloadConfig, be as VideoKindConfig, bo as VideoPosterConfig, bn as VideoUploadConfig, br as VideoWatermarkConfig, cn as ViewConfig, co as ViewDefinition, cm as ViewFilter, cl as ViewFilterCondition, ci as ViewFilterOperator, ck as ViewFilterRelativeDate, cj as ViewFilterValue, cd as ViewScopeConfig, c3 as WorkflowAutoAssign, c6 as WorkflowDefinition, c2 as WorkflowEscalation, c4 as WorkflowStageConfig, c5 as WorkflowStageDefinition, cz as and, aI as buildFallbackChain, cA as conditionRoot, b7 as defineAssetType, aM as defineContentType, bW as defineContentTypeWorkflow, aD as defineLocale, bD as defineRole, b2 as defineSettingsGroup, aZ as defineSingleton, cc as defineView, bU as defineWorkflow, bV as defineWorkflowStage, aN as fieldset, aG as findDefaultLocale, b_ as findWorkflowStage, aH as getActiveLocales, bG as getBuiltInRoleActions, c0 as getFirstWorkflowStage, aF as getLocaleCodes, b$ as getNextWorkflowStage, bZ as getWorkflowStageIds, bF as isBuiltInRole, c1 as isFinalWorkflowStage, aE as isLocaleDefinition, bE as isRoleDefinition, bX as isWorkflowDefinition, bY as isWorkflowStageDefinition, cB as not, cC as or, bu as rollup } from '../define-content-type-BZ6X8GvL.cjs';
4
4
  import '../rich-text.d-BWc-5gX1.cjs';
5
5
 
6
- /**
7
- * A condition tree — the list grammar's operators combined with `and`, `or` and `not` over named
8
- * roots — and the one check every evaluator runs before it answers one (REL-3879).
9
- *
10
- * One language for three askers: an End user's Policy (spec 4, ADR 0027), over `owner`, `claims.*`
11
- * and the item's fields (`record.*` / `entry.*`); an Automation's If step and its trigger's `where`
12
- * (spec 3), over the event and earlier steps' outputs. A tree is plain data (ADR 0021): the builder
13
- * below returns the very object a deployed Automation or Policy stores, so the plan can diff it and
14
- * no customer code runs to decide it.
15
- *
16
- * A test names a **root** and a path under it. A root is either the item a read is about, which the
17
- * database half compiles against stored documents, or a value its caller **supplies** — a token's
18
- * Claims, an event, a step's output. Which roots exist is the caller's to say; a tree naming one it
19
- * does not supply is refused by name ({@link ConditionRefusedError}), never answered as false,
20
- * because a misspelt root that quietly fails every test reads exactly like a rule that holds of
21
- * nobody.
22
- *
23
- * What an operator *means* is not here, as for the list module's own conditions: the in-memory
24
- * evaluator (`evaluateConditionTree`) and the database half read `@relyio/queries`' catalog rows,
25
- * whose two faces `catalog-parity.mongo.test.ts` holds to one answer. An absent value is absent and
26
- * is never defaulted, so a test answers it as Mongo answers a missing field: `eq`, `in`, `gt`,
27
- * `exists` are false; `ne`, `nin`, `isEmpty`, `notContains` are true.
28
- */
29
- /**
30
- * The operators a condition tree may test with: the list grammar's, less the ones that need a fact
31
- * a value bag does not carry — a clock (`inTheLast`, `inTheNext`) or the form a path stores its date
32
- * in (`isBefore`, `isAfter`, `isOn`, `isBetween`) — and the case-sensitivity spellings of the REST
33
- * dialect. A date is compared as the text or number it is.
34
- */
35
- declare const CONDITION_OPERATORS: readonly ["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin", "exists", "isNull", "isEmpty", "hasValue", "contains", "notContains", "between"];
36
- type ConditionOperator = (typeof CONDITION_OPERATORS)[number];
37
- /** One value a test compares with. */
38
- type ConditionScalar = string | number | boolean;
39
- /** What a test is answered with, by the argument its operator takes. */
40
- type ConditionArgument = ConditionScalar | readonly ConditionScalar[] | {
41
- readonly from: string | number;
42
- readonly to: string | number;
43
- };
44
- /** One test: a path under a root, an operator, and the operator's argument. */
45
- type ConditionTest = {
46
- readonly root: string;
47
- readonly path: readonly string[];
48
- readonly operator: ConditionOperator;
49
- readonly value?: ConditionArgument;
50
- };
51
- /** Tests combined. An empty `and` holds; an empty `or` does not. */
52
- type ConditionTree = ConditionTest | {
53
- readonly and: readonly ConditionTree[];
54
- } | {
55
- readonly or: readonly ConditionTree[];
56
- } | {
57
- readonly not: ConditionTree;
58
- };
59
- /** Every test holds. */
60
- declare function and(...conditions: readonly ConditionTree[]): ConditionTree;
61
- /** Some test holds. */
62
- declare function or(...conditions: readonly ConditionTree[]): ConditionTree;
63
- /** The test does not hold. */
64
- declare function not(condition: ConditionTree): ConditionTree;
65
- /** A list is compared by its members, as Mongo compares an array field. */
66
- type MemberOf<T> = T extends ReadonlyArray<infer Member> ? Member : T;
67
- /** The values a path holding `T` is compared with: any scalar where its shape is not known. */
68
- type ComparedWith<T> = unknown extends T ? ConditionScalar : MemberOf<NonNullable<T>> extends infer Member ? Member extends ConditionScalar ? Member : never : never;
69
- /** What a path offers: one method per condition operator. */
70
- interface ConditionTests<T = unknown> {
71
- eq(value: ComparedWith<T>): ConditionTest;
72
- ne(value: ComparedWith<T>): ConditionTest;
73
- gt(value: ComparedWith<T> & (string | number)): ConditionTest;
74
- gte(value: ComparedWith<T> & (string | number)): ConditionTest;
75
- lt(value: ComparedWith<T> & (string | number)): ConditionTest;
76
- lte(value: ComparedWith<T> & (string | number)): ConditionTest;
77
- in(values: ReadonlyArray<ComparedWith<T>>): ConditionTest;
78
- nin(values: ReadonlyArray<ComparedWith<T>>): ConditionTest;
79
- /** Present (the default) or absent. */
80
- exists(present?: boolean): ConditionTest;
81
- /** Absent or `null` (the default), or neither. */
82
- isNull(nullish?: boolean): ConditionTest;
83
- /** Absent, `null`, the empty string or the empty list. */
84
- isEmpty(): ConditionTest;
85
- /** None of {@link isEmpty}'s four. */
86
- hasValue(): ConditionTest;
87
- /** Holds the text, any case. */
88
- contains(text: string): ConditionTest;
89
- notContains(text: string): ConditionTest;
90
- /** Both ends inclusive. */
91
- between(range: {
92
- readonly from: ComparedWith<T> & (string | number);
93
- readonly to: ComparedWith<T> & (string | number);
94
- }): ConditionTest;
95
- }
96
- /**
97
- * The paths under a path whose shape is not known: any name. An interface, so it may name itself.
98
- * It is an index signature, so a project with `noUncheckedIndexedAccess` reads each step as possibly
99
- * undefined — a customer's roots are typed (codegen's Claims and fields, a step's output fields).
100
- */
101
- interface OpenConditionChildren {
102
- readonly [key: string]: ConditionPath;
103
- }
104
- type ChildrenOf<T> = unknown extends T ? OpenConditionChildren : NonNullable<T> extends readonly unknown[] ? unknown : NonNullable<T> extends object ? {
105
- readonly [K in keyof NonNullable<T> & string]-?: ConditionPath<NonNullable<T>[K]>;
106
- } : unknown;
107
- /**
108
- * A path under a root: its tests, and the paths under it. Typed from `T` where the caller knows the
109
- * shape — codegen's Claims, a step's output fields — and open where it does not.
110
- *
111
- * A field named like a test (`eq`, `in`) is reached with {@link conditionRoot}'s path argument.
112
- */
113
- type ConditionPath<T = unknown> = ConditionTests<T> & ChildrenOf<T>;
114
- /**
115
- * A root to write tests against: `conditionRoot('claims').plan.eq('paid')` is
116
- * `{ root: 'claims', path: ['plan'], operator: 'eq', value: 'paid' }`. `path` starts it deeper,
117
- * which is also how a segment named like a test is reached.
118
- */
119
- declare function conditionRoot<T = unknown>(root: string, path?: readonly string[]): ConditionPath<T>;
120
-
121
6
  /**
122
7
  * Field builders for defining schema fields
123
8
  * Matches the @relyio/schema FieldSchema structure
@@ -169,6 +54,7 @@ declare const fieldBuilders_LocalizedDetails: typeof LocalizedDetails;
169
54
  declare const fieldBuilders_LongTextConfig: typeof LongTextConfig;
170
55
  declare const fieldBuilders_NeverUniqueFieldConfig: typeof NeverUniqueFieldConfig;
171
56
  declare const fieldBuilders_ObjectConfig: typeof ObjectConfig;
57
+ declare const fieldBuilders_OwnerConfig: typeof OwnerConfig;
172
58
  declare const fieldBuilders_ReadOnlyRule: typeof ReadOnlyRule;
173
59
  declare const fieldBuilders_ReferenceConfig: typeof ReferenceConfig;
174
60
  declare const fieldBuilders_RequirementRule: typeof RequirementRule;
@@ -198,6 +84,7 @@ declare const fieldBuilders_json: typeof json;
198
84
  declare const fieldBuilders_list: typeof list;
199
85
  declare const fieldBuilders_longText: typeof longText;
200
86
  declare const fieldBuilders_object: typeof object;
87
+ declare const fieldBuilders_owner: typeof owner;
201
88
  declare const fieldBuilders_reference: typeof reference;
202
89
  declare const fieldBuilders_richText: typeof richText;
203
90
  declare const fieldBuilders_sequence: typeof sequence;
@@ -207,7 +94,7 @@ declare const fieldBuilders_table: typeof table;
207
94
  declare const fieldBuilders_tags: typeof tags;
208
95
  declare const fieldBuilders_url: typeof url;
209
96
  declare namespace fieldBuilders {
210
- export { fieldBuilders_AIConfig as AIConfig, fieldBuilders_AnyFieldDefinition as AnyFieldDefinition, fieldBuilders_AnyKeyedField as AnyKeyedField, fieldBuilders_AssetAIConfig as AssetAIConfig, fieldBuilders_BaseFieldConfig as BaseFieldConfig, fieldBuilders_BooleanConfig as BooleanConfig, fieldBuilders_CodeConfig as CodeConfig, fieldBuilders_CounterConfig as CounterConfig, fieldBuilders_DateConfig as DateConfig, fieldBuilders_DateTimeConfig as DateTimeConfig, fieldBuilders_DecimalConfig as DecimalConfig, fieldBuilders_EmailConfig as EmailConfig, fieldBuilders_EnumConfig as EnumConfig, fieldBuilders_FieldAIConfig as FieldAIConfig, fieldBuilders_FieldDefinition as FieldDefinition, fieldBuilders_FieldRule as FieldRule, fieldBuilders_FieldType as FieldType, fieldBuilders_FieldUIConfig as FieldUIConfig, fieldBuilders_FileConfig as FileConfig, fieldBuilders_IntegerConfig as IntegerConfig, fieldBuilders_JsonConfig as JsonConfig, fieldBuilders_KeyedEnumConfig as KeyedEnumConfig, fieldBuilders_KeyedField as KeyedField, fieldBuilders_KeyedFieldOptions as KeyedFieldOptions, fieldBuilders_KeyedFields as KeyedFields, fieldBuilders_KeyedFieldsOf as KeyedFieldsOf, fieldBuilders_KeyedMembers as KeyedMembers, fieldBuilders_KeyedMembersOf as KeyedMembersOf, fieldBuilders_ListConfig as ListConfig, fieldBuilders_LocalizationConfig as LocalizationConfig, fieldBuilders_Localized as Localized, fieldBuilders_LocalizedDetails as LocalizedDetails, fieldBuilders_LongTextConfig as LongTextConfig, fieldBuilders_NeverUniqueFieldConfig as NeverUniqueFieldConfig, fieldBuilders_ObjectConfig as ObjectConfig, fieldBuilders_ReadOnlyRule as ReadOnlyRule, fieldBuilders_ReferenceConfig as ReferenceConfig, fieldBuilders_RequirementRule as RequirementRule, fieldBuilders_RichTextConfig as RichTextConfig, fieldBuilders_RichTextLinks as RichTextLinks, fieldBuilders_RuleCondition as RuleCondition, fieldBuilders_RuleConditions as RuleConditions, fieldBuilders_SequenceConfig as SequenceConfig, fieldBuilders_ShortTextConfig as ShortTextConfig, fieldBuilders_SlugConfig as SlugConfig, fieldBuilders_TableConfig as TableConfig, fieldBuilders_TagsConfig as TagsConfig, fieldBuilders_UrlConfig as UrlConfig, fieldBuilders_ValidationRule as ValidationRule, fieldBuilders_VisibilityRule as VisibilityRule, fieldBuilders_WidgetOptions as WidgetOptions, fieldBuilders_boolean as boolean, fieldBuilders_code as code, fieldBuilders_counter as counter, fieldBuilders_date as date, fieldBuilders_dateTime as dateTime, fieldBuilders_decimal as decimal, fieldBuilders_email as email, enumField as enum, fieldBuilders_file as file, fieldBuilders_integer as integer, fieldBuilders_json as json, fieldBuilders_list as list, fieldBuilders_longText as longText, fieldBuilders_object as object, fieldBuilders_reference as reference, fieldBuilders_richText as richText, fieldBuilders_sequence as sequence, fieldBuilders_shortText as shortText, fieldBuilders_slug as slug, fieldBuilders_table as table, fieldBuilders_tags as tags, fieldBuilders_url as url };
97
+ export { fieldBuilders_AIConfig as AIConfig, fieldBuilders_AnyFieldDefinition as AnyFieldDefinition, fieldBuilders_AnyKeyedField as AnyKeyedField, fieldBuilders_AssetAIConfig as AssetAIConfig, fieldBuilders_BaseFieldConfig as BaseFieldConfig, fieldBuilders_BooleanConfig as BooleanConfig, fieldBuilders_CodeConfig as CodeConfig, fieldBuilders_CounterConfig as CounterConfig, fieldBuilders_DateConfig as DateConfig, fieldBuilders_DateTimeConfig as DateTimeConfig, fieldBuilders_DecimalConfig as DecimalConfig, fieldBuilders_EmailConfig as EmailConfig, fieldBuilders_EnumConfig as EnumConfig, fieldBuilders_FieldAIConfig as FieldAIConfig, fieldBuilders_FieldDefinition as FieldDefinition, fieldBuilders_FieldRule as FieldRule, fieldBuilders_FieldType as FieldType, fieldBuilders_FieldUIConfig as FieldUIConfig, fieldBuilders_FileConfig as FileConfig, fieldBuilders_IntegerConfig as IntegerConfig, fieldBuilders_JsonConfig as JsonConfig, fieldBuilders_KeyedEnumConfig as KeyedEnumConfig, fieldBuilders_KeyedField as KeyedField, fieldBuilders_KeyedFieldOptions as KeyedFieldOptions, fieldBuilders_KeyedFields as KeyedFields, fieldBuilders_KeyedFieldsOf as KeyedFieldsOf, fieldBuilders_KeyedMembers as KeyedMembers, fieldBuilders_KeyedMembersOf as KeyedMembersOf, fieldBuilders_ListConfig as ListConfig, fieldBuilders_LocalizationConfig as LocalizationConfig, fieldBuilders_Localized as Localized, fieldBuilders_LocalizedDetails as LocalizedDetails, fieldBuilders_LongTextConfig as LongTextConfig, fieldBuilders_NeverUniqueFieldConfig as NeverUniqueFieldConfig, fieldBuilders_ObjectConfig as ObjectConfig, fieldBuilders_OwnerConfig as OwnerConfig, fieldBuilders_ReadOnlyRule as ReadOnlyRule, fieldBuilders_ReferenceConfig as ReferenceConfig, fieldBuilders_RequirementRule as RequirementRule, fieldBuilders_RichTextConfig as RichTextConfig, fieldBuilders_RichTextLinks as RichTextLinks, fieldBuilders_RuleCondition as RuleCondition, fieldBuilders_RuleConditions as RuleConditions, fieldBuilders_SequenceConfig as SequenceConfig, fieldBuilders_ShortTextConfig as ShortTextConfig, fieldBuilders_SlugConfig as SlugConfig, fieldBuilders_TableConfig as TableConfig, fieldBuilders_TagsConfig as TagsConfig, fieldBuilders_UrlConfig as UrlConfig, fieldBuilders_ValidationRule as ValidationRule, fieldBuilders_VisibilityRule as VisibilityRule, fieldBuilders_WidgetOptions as WidgetOptions, fieldBuilders_boolean as boolean, fieldBuilders_code as code, fieldBuilders_counter as counter, fieldBuilders_date as date, fieldBuilders_dateTime as dateTime, fieldBuilders_decimal as decimal, fieldBuilders_email as email, enumField as enum, fieldBuilders_file as file, fieldBuilders_integer as integer, fieldBuilders_json as json, fieldBuilders_list as list, fieldBuilders_longText as longText, fieldBuilders_object as object, fieldBuilders_owner as owner, fieldBuilders_reference as reference, fieldBuilders_richText as richText, fieldBuilders_sequence as sequence, fieldBuilders_shortText as shortText, fieldBuilders_slug as slug, fieldBuilders_table as table, fieldBuilders_tags as tags, fieldBuilders_url as url };
211
98
  }
212
99
 
213
100
  /**
@@ -243,4 +130,4 @@ declare namespace fieldBuilders {
243
130
 
244
131
  declare const fields: typeof fieldBuilders;
245
132
 
246
- export { AIConfig, AnyKeyedField, AssetAIConfig, BaseFieldConfig, BooleanConfig, CONDITION_OPERATORS, CodeConfig, type ConditionArgument, type ConditionOperator, type ConditionPath, type ConditionScalar, type ConditionTest, type ConditionTests, type ConditionTree, CounterConfig, DateConfig, DateTimeConfig, DecimalConfig, EmailConfig, EnumConfig, FieldAIConfig, FieldDefinition, FieldRule, FieldType, FieldUIConfig, FileConfig, IntegerConfig, JsonConfig, KeyedEnumConfig, KeyedField, KeyedFieldOptions, KeyedFields, KeyedFieldsOf, KeyedMembers, KeyedMembersOf, ListConfig, LocalizationConfig, Localized, LocalizedDetails, LongTextConfig, NeverUniqueFieldConfig, ObjectConfig, type OpenConditionChildren, ReadOnlyRule, ReferenceConfig, RequirementRule, RichTextConfig, RichTextLinks, RuleCondition, RuleConditions, SequenceConfig, ShortTextConfig, SlugConfig, TableConfig, TagsConfig, UrlConfig, ValidationRule, VisibilityRule, WidgetOptions, and, conditionRoot, fields, not, or };
133
+ export { AIConfig, AnyKeyedField, AssetAIConfig, BaseFieldConfig, BooleanConfig, CodeConfig, CounterConfig, DateConfig, DateTimeConfig, DecimalConfig, EmailConfig, EnumConfig, FieldAIConfig, FieldDefinition, FieldRule, FieldType, FieldUIConfig, FileConfig, IntegerConfig, JsonConfig, KeyedEnumConfig, KeyedField, KeyedFieldOptions, KeyedFields, KeyedFieldsOf, KeyedMembers, KeyedMembersOf, ListConfig, LocalizationConfig, Localized, LocalizedDetails, LongTextConfig, NeverUniqueFieldConfig, ObjectConfig, OwnerConfig, ReadOnlyRule, ReferenceConfig, RequirementRule, RichTextConfig, RichTextLinks, RuleCondition, RuleConditions, SequenceConfig, ShortTextConfig, SlugConfig, TableConfig, TagsConfig, UrlConfig, ValidationRule, VisibilityRule, WidgetOptions, fields };
@@ -1,123 +1,8 @@
1
- export { v as AggregateBlock, $ as AnyQueryParameters, A as AnyRecordTypeDefinition, L as CachePolicy, M as CachePolicyObject, a0 as DeclaredParameters, u as FetchBlock, J as FilterDefinition, F as FullTextSearch, H as HavingOperator, D as IncludeDefinition, E as IncludeRelationship, O as IncludeSubQueries, N as IncludeSubQuery, Z as InferQueryParams, Y as InferQueryResponse, I as InferRecordType, K as KeyedRecordTypeConfig, P as Parameterizable, X as QueryCardinality, Q as QueryConfig, s as QueryDefinition, T as QueryParameter, U as QueryParameterType, _ as QueryParameterValue, z as QueryScalar, t as QueryType, p as RecordExpiry, q as RecordFieldsOf, o as RecordTypeDefinition, d as RecordUpdateFieldsOf, R as RecordWriteFieldsOf, m as RolesAsList, k as SchemaAssetTypeNames, f as SchemaConfig, a as SchemaContentTypeNames, g as SchemaDefinition, b as SchemaEntry, l as SchemaEntryOf, c as SchemaLocaleCodes, i as SchemaQueryNames, S as SchemaRecordTypeNames, j as SchemaSettingsGroupNames, h as SchemaSingletonNames, w as SearchBlock, G as SelectMapping, B as SortCondition, C as SortDirection, V as ViewsAsList, W as WhereCondition, y as WhereOperator, x as WhereValue, r as defineQuery, n as defineRecordType, e as defineSchema } from '../define-schema-Dlwh6l_J.js';
2
- import { A as AIConfig, c as AnyFieldDefinition, d as AnyKeyedField, e as AssetAIConfig, B as BaseFieldConfig, f as BooleanConfig, C as CodeConfig, g as CounterConfig, h as DateConfig, i as DateTimeConfig, j as DecimalConfig, E as EmailConfig, k as EnumConfig, l as FieldAIConfig, m as FieldDefinition, n as FieldRule, o as FieldType, p as FieldUIConfig, q as FileConfig, I as IntegerConfig, J as JsonConfig, r as KeyedEnumConfig, s as KeyedField, t as KeyedFieldOptions, u as KeyedFields, v as KeyedFieldsOf, K as KeyedMembers, a as KeyedMembersOf, L as ListConfig, w as LocalizationConfig, x as Localized, y as LocalizedDetails, z as LongTextConfig, N as NeverUniqueFieldConfig, O as ObjectConfig, R as ReadOnlyRule, G as ReferenceConfig, H as RequirementRule, M as RichTextConfig, P as RichTextLinks, Q as RuleCondition, S as RuleConditions, T as SequenceConfig, U as ShortTextConfig, V as SlugConfig, W as TableConfig, X as TagsConfig, Y as UrlConfig, Z as ValidationRule, _ as VisibilityRule, $ as WidgetOptions, a0 as boolean, a1 as code, a2 as counter, a3 as date, a4 as dateTime, a5 as decimal, a6 as email, a7 as enumField, a8 as file, a9 as integer, aa as json, ab as list, ac as longText, ad as object, ae as reference, af as richText, ag as sequence, ah as shortText, ai as slug, aj as table, ak as tags, al as url } from '../define-content-type-fb-WCD5e.js';
3
- export { cf as AllScopeConfig, aP as AnyDeclaredFieldset, as as AssetReading, ba as AssetServedBlocks, b7 as AssetTypeDefinition, bF as BUILT_IN_ROLES, bH as BUILT_IN_ROLE_ACTIONS, aq as BlockOf, bI as BuiltInRole, au as CheckInclude, at as CheckedIncludes, av as ContentReading, aT as ContentTypeDefinition, cc as ContentTypeScopeConfig, c5 as ContentTypeWorkflowConfig, cd as ContentTypesScopeConfig, D as DeclaredFields, aO as DeclaredFieldset, aU as EntryMetadata, ce as EntryTypeScopeConfig, aR as FieldMember, am as FieldSchemaContext, an as FieldValue, F as FieldValues, bL as FieldVisibility, aN as Fieldset, bd as FileKindConfig, br as FileScanConfig, b as FileUpload, bq as FileUploadConfig, bj as ImageExifConfig, bf as ImageFitMode, bb as ImageKindConfig, bg as ImageOutputFormat, bi as ImageSourceConfig, be as ImageTransform, bh as ImageUploadConfig, aw as IncludablePaths, b9 as InferAssetEntry, b8 as InferAssetType, aV as InferContentType, cr as InferJsonSchema, b4 as InferSettingsGroup, a$ as InferSingleton, cs as JsonFieldValue, ct as JsonSchema, cu as JsonValue, ap as Keyed, b6 as KeyedAssetTypeConfig, aS as KeyedContentTypeConfig, aQ as KeyedFieldsetConfig, bO as KeyedRoleConfig, bP as KeyedRoleDefinition, bQ as KeyedRoles, bR as KeyedRolesAsList, bt as KeyedRollups, b1 as KeyedSettingsGroupConfig, aY as KeyedSingletonConfig, cn as KeyedViewConfig, co as KeyedViewDefinition, cp as KeyedViews, cq as KeyedViewsAsList, c6 as KeyedWorkflowConfig, c7 as KeyedWorkflowStageConfig, c8 as KeyedWorkflowStageDefinition, c9 as KeyedWorkflowStages, aK as LocaleDefinition, aJ as LocaleOptions, aW as LocalePublicationFields, bG as ROLE_ACTIONS, ay as ReadWith, ax as Reading, cv as RecordFile, bK as ResourcePermission, bJ as RoleAction, bM as RoleConfig, bN as RoleDefinition, bu as RollupDefinition, bv as RollupKind, bw as RollupOptions, bx as RollupValues, by as RollupWhereValue, bA as RollupsOf, b2 as SettingsGroupDefinition, b3 as SettingsGroupMetadata, az as SettingsReading, ar as ShapeValue, aZ as SingletonContentTypeDefinition, a_ as SingletonMetadata, aA as SingletonReading, bz as StoredRollup, aI as TextDirection, ao as UnresolvedEntry, aB as UntypedReading, bk as VariantDefinition, bn as VideoCaptionsConfig, bo as VideoDownloadConfig, bc as VideoKindConfig, bm as VideoPosterConfig, bl as VideoUploadConfig, bp as VideoWatermarkConfig, cl as ViewConfig, cm as ViewDefinition, ck as ViewFilter, cj as ViewFilterCondition, cg as ViewFilterOperator, ci as ViewFilterRelativeDate, ch as ViewFilterValue, cb as ViewScopeConfig, c1 as WorkflowAutoAssign, c4 as WorkflowDefinition, c0 as WorkflowEscalation, c2 as WorkflowStageConfig, c3 as WorkflowStageDefinition, aH as buildFallbackChain, b5 as defineAssetType, aL as defineContentType, bU as defineContentTypeWorkflow, aC as defineLocale, bB as defineRole, b0 as defineSettingsGroup, aX as defineSingleton, ca as defineView, bS as defineWorkflow, bT as defineWorkflowStage, aM as fieldset, aF as findDefaultLocale, bY as findWorkflowStage, aG as getActiveLocales, bE as getBuiltInRoleActions, b_ as getFirstWorkflowStage, aE as getLocaleCodes, bZ as getNextWorkflowStage, bX as getWorkflowStageIds, bD as isBuiltInRole, b$ as isFinalWorkflowStage, aD as isLocaleDefinition, bC as isRoleDefinition, bV as isWorkflowDefinition, bW as isWorkflowStageDefinition, bs as rollup } from '../define-content-type-fb-WCD5e.js';
1
+ export { y as AggregateBlock, a6 as AnyQueryParameters, A as AnyRecordTypeDefinition, X as CachePolicy, Y as CachePolicyObject, a7 as DeclaredParameters, x as FetchBlock, F as FieldsWriteRule, U as FilterDefinition, w as FullTextSearch, H as HavingOperator, L as IncludeDefinition, M as IncludeRelationship, _ as IncludeSubQueries, Z as IncludeSubQuery, a4 as InferQueryParams, a3 as InferQueryResponse, I as InferRecordType, K as KeyedRecordTypeConfig, N as NamedPolicyRule, O as OwnerDeletedAction, $ as Parameterizable, P as PolicyRule, a2 as QueryCardinality, Q as QueryConfig, u as QueryDefinition, a0 as QueryParameter, a1 as QueryParameterType, a5 as QueryParameterValue, E as QueryScalar, v as QueryType, n as RecordExpiry, o as RecordFieldsOf, m as RecordTypeDefinition, p as RecordTypeEndUsers, q as RecordUpdateFieldsOf, r as RecordWriteFieldsOf, s as RecordWriteRule, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, j as SchemaEntry, k as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, i as SchemaRecordTypeNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, z as SearchBlock, T as SelectMapping, G as SortCondition, J as SortDirection, V as ViewsAsList, B as WhereCondition, D as WhereOperator, C as WhereValue, W as WriteRule, t as defineQuery, l as defineRecordType, d as defineSchema } from '../define-schema-CK7TtYot.js';
2
+ import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, e as CounterConfig, D as DateConfig, f as DateTimeConfig, g as DecimalConfig, E as EmailConfig, h as EnumConfig, F as FieldAIConfig, i as FieldDefinition, j as FieldRule, k as FieldType, l as FieldUIConfig, m as FileConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, n as KeyedField, o as KeyedFieldOptions, p as KeyedFields, q as KeyedFieldsOf, r as KeyedMembers, s as KeyedMembersOf, L as ListConfig, t as LocalizationConfig, u as Localized, v as LocalizedDetails, w as LongTextConfig, N as NeverUniqueFieldConfig, O as ObjectConfig, x as OwnerConfig, R as ReadOnlyRule, y as ReferenceConfig, z as RequirementRule, G as RichTextConfig, H as RichTextLinks, M as RuleCondition, P as RuleConditions, S as SequenceConfig, Q as ShortTextConfig, T as SlugConfig, U as TableConfig, V as TagsConfig, W as UrlConfig, X as ValidationRule, Y as VisibilityRule, Z as WidgetOptions, _ as boolean, $ as code, a0 as counter, a1 as date, a2 as dateTime, a3 as decimal, a4 as email, a5 as enumField, a6 as file, a7 as integer, a8 as json, a9 as list, aa as longText, ab as object, ac as owner, ad as reference, ae as richText, af as sequence, ag as shortText, ah as slug, ai as table, aj as tags, ak as url } from '../define-content-type-C12jh8cY.js';
3
+ export { ch as AllScopeConfig, aQ as AnyDeclaredFieldset, at as AssetReading, bc as AssetServedBlocks, b9 as AssetTypeDefinition, bH as BUILT_IN_ROLES, bJ as BUILT_IN_ROLE_ACTIONS, ar as BlockOf, bK as BuiltInRole, cD as CONDITION_OPERATORS, av as CheckInclude, au as CheckedIncludes, cE as ConditionArgument, cF as ConditionOperator, cG as ConditionPath, cH as ConditionScalar, cI as ConditionTest, cJ as ConditionTests, cK as ConditionTree, aw as ContentReading, aV as ContentTypeDefinition, aU as ContentTypeEndUsers, ce as ContentTypeScopeConfig, c7 as ContentTypeWorkflowConfig, cf as ContentTypesScopeConfig, ao as DeclaredFields, aP as DeclaredFieldset, aW as EntryMetadata, cg as EntryTypeScopeConfig, aS as FieldMember, al as FieldSchemaContext, am as FieldValue, an as FieldValues, bN as FieldVisibility, aO as Fieldset, bf as FileKindConfig, bt as FileScanConfig, cx as FileUpload, bs as FileUploadConfig, bl as ImageExifConfig, bh as ImageFitMode, bd as ImageKindConfig, bi as ImageOutputFormat, bk as ImageSourceConfig, bg as ImageTransform, bj as ImageUploadConfig, ax as IncludablePaths, bb as InferAssetEntry, ba as InferAssetType, aX as InferContentType, ct as InferJsonSchema, b6 as InferSettingsGroup, b1 as InferSingleton, cu as JsonFieldValue, cv as JsonSchema, cw as JsonValue, aq as Keyed, b8 as KeyedAssetTypeConfig, aT as KeyedContentTypeConfig, aR as KeyedFieldsetConfig, bQ as KeyedRoleConfig, bR as KeyedRoleDefinition, bS as KeyedRoles, bT as KeyedRolesAsList, bv as KeyedRollups, b3 as KeyedSettingsGroupConfig, a_ as KeyedSingletonConfig, cp as KeyedViewConfig, cq as KeyedViewDefinition, cr as KeyedViews, cs as KeyedViewsAsList, c8 as KeyedWorkflowConfig, c9 as KeyedWorkflowStageConfig, ca as KeyedWorkflowStageDefinition, cb as KeyedWorkflowStages, aL as LocaleDefinition, aK as LocaleOptions, aY as LocalePublicationFields, cL as OpenConditionChildren, bI as ROLE_ACTIONS, az as ReadWith, ay as Reading, cy as RecordFile, bM as ResourcePermission, bL as RoleAction, bO as RoleConfig, bP as RoleDefinition, bw as RollupDefinition, bx as RollupKind, by as RollupOptions, bz as RollupValues, bA as RollupWhereValue, bC as RollupsOf, b4 as SettingsGroupDefinition, b5 as SettingsGroupMetadata, aA as SettingsReading, as as ShapeValue, a$ as SingletonContentTypeDefinition, b0 as SingletonMetadata, aB as SingletonReading, bB as StoredRollup, aJ as TextDirection, ap as UnresolvedEntry, aC as UntypedReading, bm as VariantDefinition, bp as VideoCaptionsConfig, bq as VideoDownloadConfig, be as VideoKindConfig, bo as VideoPosterConfig, bn as VideoUploadConfig, br as VideoWatermarkConfig, cn as ViewConfig, co as ViewDefinition, cm as ViewFilter, cl as ViewFilterCondition, ci as ViewFilterOperator, ck as ViewFilterRelativeDate, cj as ViewFilterValue, cd as ViewScopeConfig, c3 as WorkflowAutoAssign, c6 as WorkflowDefinition, c2 as WorkflowEscalation, c4 as WorkflowStageConfig, c5 as WorkflowStageDefinition, cz as and, aI as buildFallbackChain, cA as conditionRoot, b7 as defineAssetType, aM as defineContentType, bW as defineContentTypeWorkflow, aD as defineLocale, bD as defineRole, b2 as defineSettingsGroup, aZ as defineSingleton, cc as defineView, bU as defineWorkflow, bV as defineWorkflowStage, aN as fieldset, aG as findDefaultLocale, b_ as findWorkflowStage, aH as getActiveLocales, bG as getBuiltInRoleActions, c0 as getFirstWorkflowStage, aF as getLocaleCodes, b$ as getNextWorkflowStage, bZ as getWorkflowStageIds, bF as isBuiltInRole, c1 as isFinalWorkflowStage, aE as isLocaleDefinition, bE as isRoleDefinition, bX as isWorkflowDefinition, bY as isWorkflowStageDefinition, cB as not, cC as or, bu as rollup } from '../define-content-type-C12jh8cY.js';
4
4
  import '../rich-text.d-BWc-5gX1.js';
5
5
 
6
- /**
7
- * A condition tree — the list grammar's operators combined with `and`, `or` and `not` over named
8
- * roots — and the one check every evaluator runs before it answers one (REL-3879).
9
- *
10
- * One language for three askers: an End user's Policy (spec 4, ADR 0027), over `owner`, `claims.*`
11
- * and the item's fields (`record.*` / `entry.*`); an Automation's If step and its trigger's `where`
12
- * (spec 3), over the event and earlier steps' outputs. A tree is plain data (ADR 0021): the builder
13
- * below returns the very object a deployed Automation or Policy stores, so the plan can diff it and
14
- * no customer code runs to decide it.
15
- *
16
- * A test names a **root** and a path under it. A root is either the item a read is about, which the
17
- * database half compiles against stored documents, or a value its caller **supplies** — a token's
18
- * Claims, an event, a step's output. Which roots exist is the caller's to say; a tree naming one it
19
- * does not supply is refused by name ({@link ConditionRefusedError}), never answered as false,
20
- * because a misspelt root that quietly fails every test reads exactly like a rule that holds of
21
- * nobody.
22
- *
23
- * What an operator *means* is not here, as for the list module's own conditions: the in-memory
24
- * evaluator (`evaluateConditionTree`) and the database half read `@relyio/queries`' catalog rows,
25
- * whose two faces `catalog-parity.mongo.test.ts` holds to one answer. An absent value is absent and
26
- * is never defaulted, so a test answers it as Mongo answers a missing field: `eq`, `in`, `gt`,
27
- * `exists` are false; `ne`, `nin`, `isEmpty`, `notContains` are true.
28
- */
29
- /**
30
- * The operators a condition tree may test with: the list grammar's, less the ones that need a fact
31
- * a value bag does not carry — a clock (`inTheLast`, `inTheNext`) or the form a path stores its date
32
- * in (`isBefore`, `isAfter`, `isOn`, `isBetween`) — and the case-sensitivity spellings of the REST
33
- * dialect. A date is compared as the text or number it is.
34
- */
35
- declare const CONDITION_OPERATORS: readonly ["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin", "exists", "isNull", "isEmpty", "hasValue", "contains", "notContains", "between"];
36
- type ConditionOperator = (typeof CONDITION_OPERATORS)[number];
37
- /** One value a test compares with. */
38
- type ConditionScalar = string | number | boolean;
39
- /** What a test is answered with, by the argument its operator takes. */
40
- type ConditionArgument = ConditionScalar | readonly ConditionScalar[] | {
41
- readonly from: string | number;
42
- readonly to: string | number;
43
- };
44
- /** One test: a path under a root, an operator, and the operator's argument. */
45
- type ConditionTest = {
46
- readonly root: string;
47
- readonly path: readonly string[];
48
- readonly operator: ConditionOperator;
49
- readonly value?: ConditionArgument;
50
- };
51
- /** Tests combined. An empty `and` holds; an empty `or` does not. */
52
- type ConditionTree = ConditionTest | {
53
- readonly and: readonly ConditionTree[];
54
- } | {
55
- readonly or: readonly ConditionTree[];
56
- } | {
57
- readonly not: ConditionTree;
58
- };
59
- /** Every test holds. */
60
- declare function and(...conditions: readonly ConditionTree[]): ConditionTree;
61
- /** Some test holds. */
62
- declare function or(...conditions: readonly ConditionTree[]): ConditionTree;
63
- /** The test does not hold. */
64
- declare function not(condition: ConditionTree): ConditionTree;
65
- /** A list is compared by its members, as Mongo compares an array field. */
66
- type MemberOf<T> = T extends ReadonlyArray<infer Member> ? Member : T;
67
- /** The values a path holding `T` is compared with: any scalar where its shape is not known. */
68
- type ComparedWith<T> = unknown extends T ? ConditionScalar : MemberOf<NonNullable<T>> extends infer Member ? Member extends ConditionScalar ? Member : never : never;
69
- /** What a path offers: one method per condition operator. */
70
- interface ConditionTests<T = unknown> {
71
- eq(value: ComparedWith<T>): ConditionTest;
72
- ne(value: ComparedWith<T>): ConditionTest;
73
- gt(value: ComparedWith<T> & (string | number)): ConditionTest;
74
- gte(value: ComparedWith<T> & (string | number)): ConditionTest;
75
- lt(value: ComparedWith<T> & (string | number)): ConditionTest;
76
- lte(value: ComparedWith<T> & (string | number)): ConditionTest;
77
- in(values: ReadonlyArray<ComparedWith<T>>): ConditionTest;
78
- nin(values: ReadonlyArray<ComparedWith<T>>): ConditionTest;
79
- /** Present (the default) or absent. */
80
- exists(present?: boolean): ConditionTest;
81
- /** Absent or `null` (the default), or neither. */
82
- isNull(nullish?: boolean): ConditionTest;
83
- /** Absent, `null`, the empty string or the empty list. */
84
- isEmpty(): ConditionTest;
85
- /** None of {@link isEmpty}'s four. */
86
- hasValue(): ConditionTest;
87
- /** Holds the text, any case. */
88
- contains(text: string): ConditionTest;
89
- notContains(text: string): ConditionTest;
90
- /** Both ends inclusive. */
91
- between(range: {
92
- readonly from: ComparedWith<T> & (string | number);
93
- readonly to: ComparedWith<T> & (string | number);
94
- }): ConditionTest;
95
- }
96
- /**
97
- * The paths under a path whose shape is not known: any name. An interface, so it may name itself.
98
- * It is an index signature, so a project with `noUncheckedIndexedAccess` reads each step as possibly
99
- * undefined — a customer's roots are typed (codegen's Claims and fields, a step's output fields).
100
- */
101
- interface OpenConditionChildren {
102
- readonly [key: string]: ConditionPath;
103
- }
104
- type ChildrenOf<T> = unknown extends T ? OpenConditionChildren : NonNullable<T> extends readonly unknown[] ? unknown : NonNullable<T> extends object ? {
105
- readonly [K in keyof NonNullable<T> & string]-?: ConditionPath<NonNullable<T>[K]>;
106
- } : unknown;
107
- /**
108
- * A path under a root: its tests, and the paths under it. Typed from `T` where the caller knows the
109
- * shape — codegen's Claims, a step's output fields — and open where it does not.
110
- *
111
- * A field named like a test (`eq`, `in`) is reached with {@link conditionRoot}'s path argument.
112
- */
113
- type ConditionPath<T = unknown> = ConditionTests<T> & ChildrenOf<T>;
114
- /**
115
- * A root to write tests against: `conditionRoot('claims').plan.eq('paid')` is
116
- * `{ root: 'claims', path: ['plan'], operator: 'eq', value: 'paid' }`. `path` starts it deeper,
117
- * which is also how a segment named like a test is reached.
118
- */
119
- declare function conditionRoot<T = unknown>(root: string, path?: readonly string[]): ConditionPath<T>;
120
-
121
6
  /**
122
7
  * Field builders for defining schema fields
123
8
  * Matches the @relyio/schema FieldSchema structure
@@ -169,6 +54,7 @@ declare const fieldBuilders_LocalizedDetails: typeof LocalizedDetails;
169
54
  declare const fieldBuilders_LongTextConfig: typeof LongTextConfig;
170
55
  declare const fieldBuilders_NeverUniqueFieldConfig: typeof NeverUniqueFieldConfig;
171
56
  declare const fieldBuilders_ObjectConfig: typeof ObjectConfig;
57
+ declare const fieldBuilders_OwnerConfig: typeof OwnerConfig;
172
58
  declare const fieldBuilders_ReadOnlyRule: typeof ReadOnlyRule;
173
59
  declare const fieldBuilders_ReferenceConfig: typeof ReferenceConfig;
174
60
  declare const fieldBuilders_RequirementRule: typeof RequirementRule;
@@ -198,6 +84,7 @@ declare const fieldBuilders_json: typeof json;
198
84
  declare const fieldBuilders_list: typeof list;
199
85
  declare const fieldBuilders_longText: typeof longText;
200
86
  declare const fieldBuilders_object: typeof object;
87
+ declare const fieldBuilders_owner: typeof owner;
201
88
  declare const fieldBuilders_reference: typeof reference;
202
89
  declare const fieldBuilders_richText: typeof richText;
203
90
  declare const fieldBuilders_sequence: typeof sequence;
@@ -207,7 +94,7 @@ declare const fieldBuilders_table: typeof table;
207
94
  declare const fieldBuilders_tags: typeof tags;
208
95
  declare const fieldBuilders_url: typeof url;
209
96
  declare namespace fieldBuilders {
210
- export { fieldBuilders_AIConfig as AIConfig, fieldBuilders_AnyFieldDefinition as AnyFieldDefinition, fieldBuilders_AnyKeyedField as AnyKeyedField, fieldBuilders_AssetAIConfig as AssetAIConfig, fieldBuilders_BaseFieldConfig as BaseFieldConfig, fieldBuilders_BooleanConfig as BooleanConfig, fieldBuilders_CodeConfig as CodeConfig, fieldBuilders_CounterConfig as CounterConfig, fieldBuilders_DateConfig as DateConfig, fieldBuilders_DateTimeConfig as DateTimeConfig, fieldBuilders_DecimalConfig as DecimalConfig, fieldBuilders_EmailConfig as EmailConfig, fieldBuilders_EnumConfig as EnumConfig, fieldBuilders_FieldAIConfig as FieldAIConfig, fieldBuilders_FieldDefinition as FieldDefinition, fieldBuilders_FieldRule as FieldRule, fieldBuilders_FieldType as FieldType, fieldBuilders_FieldUIConfig as FieldUIConfig, fieldBuilders_FileConfig as FileConfig, fieldBuilders_IntegerConfig as IntegerConfig, fieldBuilders_JsonConfig as JsonConfig, fieldBuilders_KeyedEnumConfig as KeyedEnumConfig, fieldBuilders_KeyedField as KeyedField, fieldBuilders_KeyedFieldOptions as KeyedFieldOptions, fieldBuilders_KeyedFields as KeyedFields, fieldBuilders_KeyedFieldsOf as KeyedFieldsOf, fieldBuilders_KeyedMembers as KeyedMembers, fieldBuilders_KeyedMembersOf as KeyedMembersOf, fieldBuilders_ListConfig as ListConfig, fieldBuilders_LocalizationConfig as LocalizationConfig, fieldBuilders_Localized as Localized, fieldBuilders_LocalizedDetails as LocalizedDetails, fieldBuilders_LongTextConfig as LongTextConfig, fieldBuilders_NeverUniqueFieldConfig as NeverUniqueFieldConfig, fieldBuilders_ObjectConfig as ObjectConfig, fieldBuilders_ReadOnlyRule as ReadOnlyRule, fieldBuilders_ReferenceConfig as ReferenceConfig, fieldBuilders_RequirementRule as RequirementRule, fieldBuilders_RichTextConfig as RichTextConfig, fieldBuilders_RichTextLinks as RichTextLinks, fieldBuilders_RuleCondition as RuleCondition, fieldBuilders_RuleConditions as RuleConditions, fieldBuilders_SequenceConfig as SequenceConfig, fieldBuilders_ShortTextConfig as ShortTextConfig, fieldBuilders_SlugConfig as SlugConfig, fieldBuilders_TableConfig as TableConfig, fieldBuilders_TagsConfig as TagsConfig, fieldBuilders_UrlConfig as UrlConfig, fieldBuilders_ValidationRule as ValidationRule, fieldBuilders_VisibilityRule as VisibilityRule, fieldBuilders_WidgetOptions as WidgetOptions, fieldBuilders_boolean as boolean, fieldBuilders_code as code, fieldBuilders_counter as counter, fieldBuilders_date as date, fieldBuilders_dateTime as dateTime, fieldBuilders_decimal as decimal, fieldBuilders_email as email, enumField as enum, fieldBuilders_file as file, fieldBuilders_integer as integer, fieldBuilders_json as json, fieldBuilders_list as list, fieldBuilders_longText as longText, fieldBuilders_object as object, fieldBuilders_reference as reference, fieldBuilders_richText as richText, fieldBuilders_sequence as sequence, fieldBuilders_shortText as shortText, fieldBuilders_slug as slug, fieldBuilders_table as table, fieldBuilders_tags as tags, fieldBuilders_url as url };
97
+ export { fieldBuilders_AIConfig as AIConfig, fieldBuilders_AnyFieldDefinition as AnyFieldDefinition, fieldBuilders_AnyKeyedField as AnyKeyedField, fieldBuilders_AssetAIConfig as AssetAIConfig, fieldBuilders_BaseFieldConfig as BaseFieldConfig, fieldBuilders_BooleanConfig as BooleanConfig, fieldBuilders_CodeConfig as CodeConfig, fieldBuilders_CounterConfig as CounterConfig, fieldBuilders_DateConfig as DateConfig, fieldBuilders_DateTimeConfig as DateTimeConfig, fieldBuilders_DecimalConfig as DecimalConfig, fieldBuilders_EmailConfig as EmailConfig, fieldBuilders_EnumConfig as EnumConfig, fieldBuilders_FieldAIConfig as FieldAIConfig, fieldBuilders_FieldDefinition as FieldDefinition, fieldBuilders_FieldRule as FieldRule, fieldBuilders_FieldType as FieldType, fieldBuilders_FieldUIConfig as FieldUIConfig, fieldBuilders_FileConfig as FileConfig, fieldBuilders_IntegerConfig as IntegerConfig, fieldBuilders_JsonConfig as JsonConfig, fieldBuilders_KeyedEnumConfig as KeyedEnumConfig, fieldBuilders_KeyedField as KeyedField, fieldBuilders_KeyedFieldOptions as KeyedFieldOptions, fieldBuilders_KeyedFields as KeyedFields, fieldBuilders_KeyedFieldsOf as KeyedFieldsOf, fieldBuilders_KeyedMembers as KeyedMembers, fieldBuilders_KeyedMembersOf as KeyedMembersOf, fieldBuilders_ListConfig as ListConfig, fieldBuilders_LocalizationConfig as LocalizationConfig, fieldBuilders_Localized as Localized, fieldBuilders_LocalizedDetails as LocalizedDetails, fieldBuilders_LongTextConfig as LongTextConfig, fieldBuilders_NeverUniqueFieldConfig as NeverUniqueFieldConfig, fieldBuilders_ObjectConfig as ObjectConfig, fieldBuilders_OwnerConfig as OwnerConfig, fieldBuilders_ReadOnlyRule as ReadOnlyRule, fieldBuilders_ReferenceConfig as ReferenceConfig, fieldBuilders_RequirementRule as RequirementRule, fieldBuilders_RichTextConfig as RichTextConfig, fieldBuilders_RichTextLinks as RichTextLinks, fieldBuilders_RuleCondition as RuleCondition, fieldBuilders_RuleConditions as RuleConditions, fieldBuilders_SequenceConfig as SequenceConfig, fieldBuilders_ShortTextConfig as ShortTextConfig, fieldBuilders_SlugConfig as SlugConfig, fieldBuilders_TableConfig as TableConfig, fieldBuilders_TagsConfig as TagsConfig, fieldBuilders_UrlConfig as UrlConfig, fieldBuilders_ValidationRule as ValidationRule, fieldBuilders_VisibilityRule as VisibilityRule, fieldBuilders_WidgetOptions as WidgetOptions, fieldBuilders_boolean as boolean, fieldBuilders_code as code, fieldBuilders_counter as counter, fieldBuilders_date as date, fieldBuilders_dateTime as dateTime, fieldBuilders_decimal as decimal, fieldBuilders_email as email, enumField as enum, fieldBuilders_file as file, fieldBuilders_integer as integer, fieldBuilders_json as json, fieldBuilders_list as list, fieldBuilders_longText as longText, fieldBuilders_object as object, fieldBuilders_owner as owner, fieldBuilders_reference as reference, fieldBuilders_richText as richText, fieldBuilders_sequence as sequence, fieldBuilders_shortText as shortText, fieldBuilders_slug as slug, fieldBuilders_table as table, fieldBuilders_tags as tags, fieldBuilders_url as url };
211
98
  }
212
99
 
213
100
  /**
@@ -243,4 +130,4 @@ declare namespace fieldBuilders {
243
130
 
244
131
  declare const fields: typeof fieldBuilders;
245
132
 
246
- export { AIConfig, AnyKeyedField, AssetAIConfig, BaseFieldConfig, BooleanConfig, CONDITION_OPERATORS, CodeConfig, type ConditionArgument, type ConditionOperator, type ConditionPath, type ConditionScalar, type ConditionTest, type ConditionTests, type ConditionTree, CounterConfig, DateConfig, DateTimeConfig, DecimalConfig, EmailConfig, EnumConfig, FieldAIConfig, FieldDefinition, FieldRule, FieldType, FieldUIConfig, FileConfig, IntegerConfig, JsonConfig, KeyedEnumConfig, KeyedField, KeyedFieldOptions, KeyedFields, KeyedFieldsOf, KeyedMembers, KeyedMembersOf, ListConfig, LocalizationConfig, Localized, LocalizedDetails, LongTextConfig, NeverUniqueFieldConfig, ObjectConfig, type OpenConditionChildren, ReadOnlyRule, ReferenceConfig, RequirementRule, RichTextConfig, RichTextLinks, RuleCondition, RuleConditions, SequenceConfig, ShortTextConfig, SlugConfig, TableConfig, TagsConfig, UrlConfig, ValidationRule, VisibilityRule, WidgetOptions, and, conditionRoot, fields, not, or };
133
+ export { AIConfig, AnyKeyedField, AssetAIConfig, BaseFieldConfig, BooleanConfig, CodeConfig, CounterConfig, DateConfig, DateTimeConfig, DecimalConfig, EmailConfig, EnumConfig, FieldAIConfig, FieldDefinition, FieldRule, FieldType, FieldUIConfig, FileConfig, IntegerConfig, JsonConfig, KeyedEnumConfig, KeyedField, KeyedFieldOptions, KeyedFields, KeyedFieldsOf, KeyedMembers, KeyedMembersOf, ListConfig, LocalizationConfig, Localized, LocalizedDetails, LongTextConfig, NeverUniqueFieldConfig, ObjectConfig, OwnerConfig, ReadOnlyRule, ReferenceConfig, RequirementRule, RichTextConfig, RichTextLinks, RuleCondition, RuleConditions, SequenceConfig, ShortTextConfig, SlugConfig, TableConfig, TagsConfig, UrlConfig, ValidationRule, VisibilityRule, WidgetOptions, fields };
@@ -1,4 +1,5 @@
1
- export { BUILT_IN_ROLES, BUILT_IN_ROLE_ACTIONS, CONDITION_OPERATORS, ROLE_ACTIONS, and, buildFallbackChain, conditionRoot, defineAssetType, defineContentType, defineContentTypeWorkflow, defineLocale, defineQuery, defineRecordType, defineRole, defineSchema, defineSettingsGroup, defineSingleton, defineView, defineWorkflow, defineWorkflowStage, fields, fieldset, findDefaultLocale, findWorkflowStage, getActiveLocales, getBuiltInRoleActions, getFirstWorkflowStage, getLocaleCodes, getNextWorkflowStage, getWorkflowStageIds, isBuiltInRole, isFinalWorkflowStage, isLocaleDefinition, isRoleDefinition, isWorkflowDefinition, isWorkflowStageDefinition, not, or, rollup } from '../chunk-W7JFHSFM.js';
1
+ export { BUILT_IN_ROLES, BUILT_IN_ROLE_ACTIONS, CONDITION_OPERATORS, ROLE_ACTIONS, and, buildFallbackChain, conditionRoot, defineAssetType, defineContentType, defineContentTypeWorkflow, defineLocale, defineQuery, defineRecordType, defineRole, defineSchema, defineSettingsGroup, defineSingleton, defineView, defineWorkflow, defineWorkflowStage, fields, fieldset, findDefaultLocale, findWorkflowStage, getActiveLocales, getBuiltInRoleActions, getFirstWorkflowStage, getLocaleCodes, getNextWorkflowStage, getWorkflowStageIds, isBuiltInRole, isFinalWorkflowStage, isLocaleDefinition, isRoleDefinition, isWorkflowDefinition, isWorkflowStageDefinition, not, or, rollup } from '../chunk-PZCDJFMA.js';
2
+ import '../chunk-T7LGREB3.js';
2
3
  import '../chunk-DI6KFDBO.js';
3
4
  //# sourceMappingURL=index.js.map
4
5
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export { cI as ApiResponse, cQ as BaseContent, cS as BaseSettingsGroup, cR as BaseSingleton, de as CacheConfig, dh as CacheStrategy, d7 as ContentTypeSchema, d2 as ContentVersion, d3 as ContentVersionRow, cY as CreateInput, cZ as CreatedContent, d6 as CustomQuery, cX as DateOnlyOperator, df as DebugConfig, dj as Environment, dr as FieldDefinition, d9 as FieldOptions, di as LogLevel, dd as PerformanceMetrics, db as RealtimeEvent, da as RealtimeEventType, cK as RelyIOConfig, dg as RequestConfig, d1 as RestoredContent, cG as RetryConfig, c_ as RevisedContent, d5 as SingletonContent, dc as SubscriptionOptions, d4 as UpdateInput, d8 as ValidationRule, dk as ValidationViolation, cV as WhereClause, cU as WhereFieldCondition, cW as WhereOperator, cT as WhereScalar, d0 as WrittenSettingsGroup, c$ as WrittenSingleton } from '../define-content-type-NEQDrvdq.cjs';
1
+ export { d2 as ApiResponse, da as BaseContent, dc as BaseSettingsGroup, db as BaseSingleton, dB as CacheConfig, dE as CacheStrategy, du as ContentTypeSchema, dp as ContentVersion, dq as ContentVersionRow, di as CreateInput, dj as CreatedContent, dt as CustomQuery, dh as DateOnlyOperator, dC as DebugConfig, dG as Environment, dN as FieldDefinition, dw as FieldOptions, dF as LogLevel, dA as PerformanceMetrics, dy as RealtimeEvent, dx as RealtimeEventType, d4 as RelyIOConfig, dD as RequestConfig, dn as RestoredContent, d0 as RetryConfig, dk as RevisedContent, ds as SingletonContent, dz as SubscriptionOptions, dr as UpdateInput, dv as ValidationRule, dH as ValidationViolation, df as WhereClause, de as WhereFieldCondition, dg as WhereOperator, dd as WhereScalar, dm as WrittenSettingsGroup, dl as WrittenSingleton } from '../define-content-type-BZ6X8GvL.cjs';
2
2
  export { e as RichTextBlock, f as RichTextCellAlignment, g as RichTextCodeBlock, h as RichTextCodeGroup, i as RichTextCodeLines, j as RichTextDivider, d as RichTextEntryLinkMark, k as RichTextHeading, l as RichTextInline, m as RichTextLineBreak, n as RichTextLinkMark, o as RichTextList, p as RichTextListItem, q as RichTextListStyle, r as RichTextMark, s as RichTextMarkType, t as RichTextNode, u as RichTextParagraph, v as RichTextQuote, w as RichTextSpan, x as RichTextStructure, y as RichTextTable, z as RichTextTableCell, B as RichTextTableRow, b as RichTextValue } from '../rich-text.d-BWc-5gX1.cjs';
@@ -1,2 +1,2 @@
1
- export { cI as ApiResponse, cQ as BaseContent, cS as BaseSettingsGroup, cR as BaseSingleton, de as CacheConfig, dh as CacheStrategy, d7 as ContentTypeSchema, d2 as ContentVersion, d3 as ContentVersionRow, cY as CreateInput, cZ as CreatedContent, d6 as CustomQuery, cX as DateOnlyOperator, df as DebugConfig, dj as Environment, dr as FieldDefinition, d9 as FieldOptions, di as LogLevel, dd as PerformanceMetrics, db as RealtimeEvent, da as RealtimeEventType, cK as RelyIOConfig, dg as RequestConfig, d1 as RestoredContent, cG as RetryConfig, c_ as RevisedContent, d5 as SingletonContent, dc as SubscriptionOptions, d4 as UpdateInput, d8 as ValidationRule, dk as ValidationViolation, cV as WhereClause, cU as WhereFieldCondition, cW as WhereOperator, cT as WhereScalar, d0 as WrittenSettingsGroup, c$ as WrittenSingleton } from '../define-content-type-fb-WCD5e.js';
1
+ export { d2 as ApiResponse, da as BaseContent, dc as BaseSettingsGroup, db as BaseSingleton, dB as CacheConfig, dE as CacheStrategy, du as ContentTypeSchema, dp as ContentVersion, dq as ContentVersionRow, di as CreateInput, dj as CreatedContent, dt as CustomQuery, dh as DateOnlyOperator, dC as DebugConfig, dG as Environment, dN as FieldDefinition, dw as FieldOptions, dF as LogLevel, dA as PerformanceMetrics, dy as RealtimeEvent, dx as RealtimeEventType, d4 as RelyIOConfig, dD as RequestConfig, dn as RestoredContent, d0 as RetryConfig, dk as RevisedContent, ds as SingletonContent, dz as SubscriptionOptions, dr as UpdateInput, dv as ValidationRule, dH as ValidationViolation, df as WhereClause, de as WhereFieldCondition, dg as WhereOperator, dd as WhereScalar, dm as WrittenSettingsGroup, dl as WrittenSingleton } from '../define-content-type-C12jh8cY.js';
2
2
  export { e as RichTextBlock, f as RichTextCellAlignment, g as RichTextCodeBlock, h as RichTextCodeGroup, i as RichTextCodeLines, j as RichTextDivider, d as RichTextEntryLinkMark, k as RichTextHeading, l as RichTextInline, m as RichTextLineBreak, n as RichTextLinkMark, o as RichTextList, p as RichTextListItem, q as RichTextListStyle, r as RichTextMark, s as RichTextMarkType, t as RichTextNode, u as RichTextParagraph, v as RichTextQuote, w as RichTextSpan, x as RichTextStructure, y as RichTextTable, z as RichTextTableCell, B as RichTextTableRow, b as RichTextValue } from '../rich-text.d-BWc-5gX1.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relyio/sdk",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "RelyIO is coming soon — this package is not ready for general use yet.",
5
5
  "keywords": [
6
6
  "relyio"
@@ -119,8 +119,8 @@
119
119
  "typedoc": "^0.28.20",
120
120
  "typescript": "npm:@typescript/typescript6@6.0.2",
121
121
  "vitest": "4.1.11",
122
- "@relyio/eslint-config": "0.0.0",
123
122
  "@relyio/api-contract": "0.1.0",
123
+ "@relyio/eslint-config": "0.0.0",
124
124
  "@relyio/rich-text-markdown": "0.0.0",
125
125
  "@relyio/schema": "0.0.1"
126
126
  },