@relyio/sdk 0.2.1 → 0.4.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 (39) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/{chunk-RJBIJ2ZK.js → chunk-43VPZT2G.js} +496 -103
  4. package/dist/chunk-BBUB7C2Z.js +81 -0
  5. package/dist/{chunk-FJK7ZWKK.cjs → chunk-HAQELDZN.cjs} +156 -221
  6. package/dist/chunk-LSRPMNPT.cjs +89 -0
  7. package/dist/{chunk-7W4MJXQ4.cjs → chunk-XS32U2UP.cjs} +497 -102
  8. package/dist/{chunk-2QUK2ZGD.js → chunk-XY5KFEFY.js} +157 -219
  9. package/dist/client/index.cjs +4 -3
  10. package/dist/client/index.d.cts +4 -3
  11. package/dist/client/index.d.ts +4 -3
  12. package/dist/client/index.js +2 -1
  13. package/dist/define-content-type-CBfnTWSS.d.cts +716 -0
  14. package/dist/define-content-type-CBfnTWSS.d.ts +716 -0
  15. package/dist/{define-schema-DHvUCKwj.d.cts → define-schema-2xbHgtK-.d.cts} +63 -726
  16. package/dist/{define-schema-DHvUCKwj.d.ts → define-schema-DzYXk4HL.d.ts} +63 -726
  17. package/dist/dev-handshake/index.cjs +37 -0
  18. package/dist/dev-handshake/index.d.cts +144 -0
  19. package/dist/dev-handshake/index.d.ts +144 -0
  20. package/dist/dev-handshake/index.js +4 -0
  21. package/dist/{index-DGWaawHt.d.cts → index-BvO6HDtY.d.cts} +237 -12
  22. package/dist/{index-B-KiFHbx.d.ts → index-BzOFJJKS.d.ts} +237 -12
  23. package/dist/{index-BsUqCAu8.d.cts → index-DFehx5sI.d.cts} +749 -2160
  24. package/dist/{index-BsUqCAu8.d.ts → index-FDak5ofk.d.ts} +749 -2160
  25. package/dist/index.cjs +120 -70
  26. package/dist/index.d.cts +136 -55
  27. package/dist/index.d.ts +136 -55
  28. package/dist/index.js +45 -3
  29. package/dist/schema/index.cjs +35 -47
  30. package/dist/schema/index.d.cts +3 -2
  31. package/dist/schema/index.d.ts +3 -2
  32. package/dist/schema/index.js +1 -1
  33. package/dist/types/index.d.cts +2 -1
  34. package/dist/types/index.d.ts +2 -1
  35. package/package.json +15 -19
  36. package/dist/react/index.cjs +0 -4
  37. package/dist/react/index.d.cts +0 -2
  38. package/dist/react/index.d.ts +0 -2
  39. package/dist/react/index.js +0 -3
@@ -1,157 +1,145 @@
1
1
  'use strict';
2
2
 
3
- var chunkFJK7ZWKK_cjs = require('../chunk-FJK7ZWKK.cjs');
3
+ var chunkHAQELDZN_cjs = require('../chunk-HAQELDZN.cjs');
4
4
  require('../chunk-MWMSFIWN.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "BUILT_IN_ROLES", {
9
9
  enumerable: true,
10
- get: function () { return chunkFJK7ZWKK_cjs.BUILT_IN_ROLES; }
10
+ get: function () { return chunkHAQELDZN_cjs.BUILT_IN_ROLES; }
11
11
  });
12
12
  Object.defineProperty(exports, "BUILT_IN_ROLE_ACTIONS", {
13
13
  enumerable: true,
14
- get: function () { return chunkFJK7ZWKK_cjs.BUILT_IN_ROLE_ACTIONS; }
14
+ get: function () { return chunkHAQELDZN_cjs.BUILT_IN_ROLE_ACTIONS; }
15
15
  });
16
16
  Object.defineProperty(exports, "ROLE_ACTIONS", {
17
17
  enumerable: true,
18
- get: function () { return chunkFJK7ZWKK_cjs.ROLE_ACTIONS; }
18
+ get: function () { return chunkHAQELDZN_cjs.ROLE_ACTIONS; }
19
19
  });
20
20
  Object.defineProperty(exports, "buildFallbackChain", {
21
21
  enumerable: true,
22
- get: function () { return chunkFJK7ZWKK_cjs.buildFallbackChain; }
22
+ get: function () { return chunkHAQELDZN_cjs.buildFallbackChain; }
23
23
  });
24
24
  Object.defineProperty(exports, "defineAssetType", {
25
25
  enumerable: true,
26
- get: function () { return chunkFJK7ZWKK_cjs.defineAssetType; }
26
+ get: function () { return chunkHAQELDZN_cjs.defineAssetType; }
27
27
  });
28
28
  Object.defineProperty(exports, "defineComponent", {
29
29
  enumerable: true,
30
- get: function () { return chunkFJK7ZWKK_cjs.defineComponent; }
30
+ get: function () { return chunkHAQELDZN_cjs.defineComponent; }
31
31
  });
32
32
  Object.defineProperty(exports, "defineContentType", {
33
33
  enumerable: true,
34
- get: function () { return chunkFJK7ZWKK_cjs.defineContentType; }
34
+ get: function () { return chunkHAQELDZN_cjs.defineContentType; }
35
35
  });
36
36
  Object.defineProperty(exports, "defineContentTypeWorkflow", {
37
37
  enumerable: true,
38
- get: function () { return chunkFJK7ZWKK_cjs.defineContentTypeWorkflow; }
38
+ get: function () { return chunkHAQELDZN_cjs.defineContentTypeWorkflow; }
39
39
  });
40
40
  Object.defineProperty(exports, "defineLocale", {
41
41
  enumerable: true,
42
- get: function () { return chunkFJK7ZWKK_cjs.defineLocale; }
42
+ get: function () { return chunkHAQELDZN_cjs.defineLocale; }
43
43
  });
44
44
  Object.defineProperty(exports, "defineQuery", {
45
45
  enumerable: true,
46
- get: function () { return chunkFJK7ZWKK_cjs.defineQuery; }
46
+ get: function () { return chunkHAQELDZN_cjs.defineQuery; }
47
47
  });
48
48
  Object.defineProperty(exports, "defineRole", {
49
49
  enumerable: true,
50
- get: function () { return chunkFJK7ZWKK_cjs.defineRole; }
50
+ get: function () { return chunkHAQELDZN_cjs.defineRole; }
51
51
  });
52
52
  Object.defineProperty(exports, "defineSchema", {
53
53
  enumerable: true,
54
- get: function () { return chunkFJK7ZWKK_cjs.defineSchema; }
54
+ get: function () { return chunkHAQELDZN_cjs.defineSchema; }
55
55
  });
56
56
  Object.defineProperty(exports, "defineSettingsGroup", {
57
57
  enumerable: true,
58
- get: function () { return chunkFJK7ZWKK_cjs.defineSettingsGroup; }
58
+ get: function () { return chunkHAQELDZN_cjs.defineSettingsGroup; }
59
59
  });
60
60
  Object.defineProperty(exports, "defineSingleton", {
61
61
  enumerable: true,
62
- get: function () { return chunkFJK7ZWKK_cjs.defineSingleton; }
62
+ get: function () { return chunkHAQELDZN_cjs.defineSingleton; }
63
63
  });
64
64
  Object.defineProperty(exports, "defineSingletonContentType", {
65
65
  enumerable: true,
66
- get: function () { return chunkFJK7ZWKK_cjs.defineSingletonContentType; }
66
+ get: function () { return chunkHAQELDZN_cjs.defineSingletonContentType; }
67
67
  });
68
68
  Object.defineProperty(exports, "defineView", {
69
69
  enumerable: true,
70
- get: function () { return chunkFJK7ZWKK_cjs.defineView; }
70
+ get: function () { return chunkHAQELDZN_cjs.defineView; }
71
71
  });
72
72
  Object.defineProperty(exports, "defineWorkflow", {
73
73
  enumerable: true,
74
- get: function () { return chunkFJK7ZWKK_cjs.defineWorkflow; }
74
+ get: function () { return chunkHAQELDZN_cjs.defineWorkflow; }
75
75
  });
76
76
  Object.defineProperty(exports, "defineWorkflowStage", {
77
77
  enumerable: true,
78
- get: function () { return chunkFJK7ZWKK_cjs.defineWorkflowStage; }
78
+ get: function () { return chunkHAQELDZN_cjs.defineWorkflowStage; }
79
79
  });
80
80
  Object.defineProperty(exports, "fields", {
81
81
  enumerable: true,
82
- get: function () { return chunkFJK7ZWKK_cjs.fields; }
82
+ get: function () { return chunkHAQELDZN_cjs.fields; }
83
83
  });
84
84
  Object.defineProperty(exports, "fieldset", {
85
85
  enumerable: true,
86
- get: function () { return chunkFJK7ZWKK_cjs.fieldset; }
86
+ get: function () { return chunkHAQELDZN_cjs.fieldset; }
87
87
  });
88
88
  Object.defineProperty(exports, "findDefaultLocale", {
89
89
  enumerable: true,
90
- get: function () { return chunkFJK7ZWKK_cjs.findDefaultLocale; }
90
+ get: function () { return chunkHAQELDZN_cjs.findDefaultLocale; }
91
91
  });
92
92
  Object.defineProperty(exports, "findWorkflowStage", {
93
93
  enumerable: true,
94
- get: function () { return chunkFJK7ZWKK_cjs.findWorkflowStage; }
94
+ get: function () { return chunkHAQELDZN_cjs.findWorkflowStage; }
95
95
  });
96
96
  Object.defineProperty(exports, "getActiveLocales", {
97
97
  enumerable: true,
98
- get: function () { return chunkFJK7ZWKK_cjs.getActiveLocales; }
98
+ get: function () { return chunkHAQELDZN_cjs.getActiveLocales; }
99
99
  });
100
100
  Object.defineProperty(exports, "getBuiltInRoleActions", {
101
101
  enumerable: true,
102
- get: function () { return chunkFJK7ZWKK_cjs.getBuiltInRoleActions; }
102
+ get: function () { return chunkHAQELDZN_cjs.getBuiltInRoleActions; }
103
103
  });
104
104
  Object.defineProperty(exports, "getFirstWorkflowStage", {
105
105
  enumerable: true,
106
- get: function () { return chunkFJK7ZWKK_cjs.getFirstWorkflowStage; }
106
+ get: function () { return chunkHAQELDZN_cjs.getFirstWorkflowStage; }
107
107
  });
108
108
  Object.defineProperty(exports, "getLocaleCodes", {
109
109
  enumerable: true,
110
- get: function () { return chunkFJK7ZWKK_cjs.getLocaleCodes; }
110
+ get: function () { return chunkHAQELDZN_cjs.getLocaleCodes; }
111
111
  });
112
112
  Object.defineProperty(exports, "getNextWorkflowStage", {
113
113
  enumerable: true,
114
- get: function () { return chunkFJK7ZWKK_cjs.getNextWorkflowStage; }
114
+ get: function () { return chunkHAQELDZN_cjs.getNextWorkflowStage; }
115
115
  });
116
116
  Object.defineProperty(exports, "getWorkflowStageIds", {
117
117
  enumerable: true,
118
- get: function () { return chunkFJK7ZWKK_cjs.getWorkflowStageIds; }
118
+ get: function () { return chunkHAQELDZN_cjs.getWorkflowStageIds; }
119
119
  });
120
120
  Object.defineProperty(exports, "isBuiltInRole", {
121
121
  enumerable: true,
122
- get: function () { return chunkFJK7ZWKK_cjs.isBuiltInRole; }
122
+ get: function () { return chunkHAQELDZN_cjs.isBuiltInRole; }
123
123
  });
124
124
  Object.defineProperty(exports, "isFinalWorkflowStage", {
125
125
  enumerable: true,
126
- get: function () { return chunkFJK7ZWKK_cjs.isFinalWorkflowStage; }
126
+ get: function () { return chunkHAQELDZN_cjs.isFinalWorkflowStage; }
127
127
  });
128
128
  Object.defineProperty(exports, "isLocaleDefinition", {
129
129
  enumerable: true,
130
- get: function () { return chunkFJK7ZWKK_cjs.isLocaleDefinition; }
130
+ get: function () { return chunkHAQELDZN_cjs.isLocaleDefinition; }
131
131
  });
132
132
  Object.defineProperty(exports, "isRoleDefinition", {
133
133
  enumerable: true,
134
- get: function () { return chunkFJK7ZWKK_cjs.isRoleDefinition; }
134
+ get: function () { return chunkHAQELDZN_cjs.isRoleDefinition; }
135
135
  });
136
136
  Object.defineProperty(exports, "isWorkflowDefinition", {
137
137
  enumerable: true,
138
- get: function () { return chunkFJK7ZWKK_cjs.isWorkflowDefinition; }
138
+ get: function () { return chunkHAQELDZN_cjs.isWorkflowDefinition; }
139
139
  });
140
140
  Object.defineProperty(exports, "isWorkflowStageDefinition", {
141
141
  enumerable: true,
142
- get: function () { return chunkFJK7ZWKK_cjs.isWorkflowStageDefinition; }
143
- });
144
- Object.defineProperty(exports, "schemaToJSON", {
145
- enumerable: true,
146
- get: function () { return chunkFJK7ZWKK_cjs.schemaToJSON; }
147
- });
148
- Object.defineProperty(exports, "viewToJSON", {
149
- enumerable: true,
150
- get: function () { return chunkFJK7ZWKK_cjs.viewToJSON; }
151
- });
152
- Object.defineProperty(exports, "workflowToJSON", {
153
- enumerable: true,
154
- get: function () { return chunkFJK7ZWKK_cjs.workflowToJSON; }
142
+ get: function () { return chunkHAQELDZN_cjs.isWorkflowStageDefinition; }
155
143
  });
156
144
  //# sourceMappingURL=index.cjs.map
157
145
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,6 @@
1
- import { F as FieldUIConfig, a as FieldAIConfig, b as FieldRule, L as LocalizationConfig, S as ShortTextConfig, c as FieldDefinition, d as LongTextConfig, R as RichTextConfig, e as SlugConfig, U as UrlConfig, E as EmailConfig, I as IntegerConfig, D as DecimalConfig, B as BooleanConfig, f as EnumConfig, g as DateConfig, h as DateTimeConfig, i as ReferenceConfig, T as TagsConfig, j as ListConfig, A as AIConfig, k as AllFieldTypes, l as AnyFieldDefinition, m as AssetAIConfig, n as BaseFieldConfig, C as ComponentFieldType, o as FieldType, p as ReadOnlyRule, q as RequirementRule, r as RuleCondition, s as RuleConditions, V as ValidationRule, t as VisibilityRule } from '../define-schema-DHvUCKwj.cjs';
2
- export { bv as AggregateBlock, bk as AllScopeConfig, ap as AssetTypeConfig, aq as AssetTypeConfigWithFields, ar as AssetTypeConfigWithFieldsets, as as AssetTypeDefinition, aP as BUILT_IN_ROLES, aR as BUILT_IN_ROLE_ACTIONS, aS as BuiltInRole, bG as CachePolicy, bH as CachePolicyObject, ae as ComponentConfig, af as ComponentDefinition, ag as ComponentMetadata, ah as ComponentReusabilityMetadata, ai as ComponentValidationMetadata, a1 as ContentTypeConfig, a2 as ContentTypeConfigWithFields, a3 as ContentTypeConfigWithFieldsets, a4 as ContentTypeDefinition, bh as ContentTypeScopeConfig, bd as ContentTypeWorkflowConfig, bi as ContentTypesScopeConfig, a5 as EntryMetadata, bj as EntryTypeScopeConfig, bu as FetchBlock, aV as FieldVisibility, a0 as Fieldset, aw as FileKindConfig, aK as FileScanConfig, aJ as FileUploadConfig, bF as FilterDefinition, aC as ImageExifConfig, ay as ImageFitMode, au as ImageKindConfig, az as ImageOutputFormat, aB as ImageSourceConfig, ax as ImageTransform, aA as ImageUploadConfig, bD as IncludeDefinition, bJ as IncludeSubQueries, bI as IncludeSubQuery, at as InferAssetType, a6 as InferContentType, bL as InferQueryParams, bK as InferQueryResponse, an as InferSettingsGroup, ac as InferSingleton, ab as InferSingletonContentType, Z as LocaleDefinition, Y as LocaleOptions, bs as QueryConfig, bt as QueryDefinition, aQ as ROLE_ACTIONS, aU as ResourcePermission, aT as RoleAction, aW as RoleConfig, aX as RoleDefinition, K as SchemaAssetTypeNames, w as SchemaConfig, y as SchemaContentTypeNames, x as SchemaDefinition, H as SchemaLocaleCodes, G as SchemaQueryNames, J as SchemaSettingsGroupNames, z as SchemaSingletonNames, bw as SearchBlock, bE as SelectMapping, ak as SettingsGroupConfig, al as SettingsGroupDefinition, am as SettingsGroupMetadata, bx as SimilarBlock, a9 as SingletonContentTypeDefinition, aa as SingletonMetadata, bB as SortCondition, bC as SortDirection, X as TextDirection, aD as VariantDefinition, aG as VideoCaptionsConfig, aH as VideoDownloadConfig, av as VideoKindConfig, aF as VideoPosterConfig, aE as VideoUploadConfig, aI as VideoWatermarkConfig, bp as ViewConfig, bq as ViewDefinition, bo as ViewFilter, bm as ViewFilterCondition, bn as ViewFilterGroup, bl as ViewFilterOperator, bg as ViewScopeConfig, by as WhereCondition, bA as WhereOperator, bz as WhereValue, b8 as WorkflowAutoAssign, bb as WorkflowConfig, bc as WorkflowDefinition, b7 as WorkflowEscalation, b9 as WorkflowStageConfig, ba as WorkflowStageDefinition, W as buildFallbackChain, ao as defineAssetType, ad as defineComponent, _ as defineContentType, a_ as defineContentTypeWorkflow, M as defineLocale, br as defineQuery, aL as defineRole, u as defineSchema, aj as defineSettingsGroup, a8 as defineSingleton, a7 as defineSingletonContentType, be as defineView, aY as defineWorkflow, aZ as defineWorkflowStage, $ as fieldset, P as findDefaultLocale, b2 as findWorkflowStage, Q as getActiveLocales, aO as getBuiltInRoleActions, b4 as getFirstWorkflowStage, O as getLocaleCodes, b3 as getNextWorkflowStage, b1 as getWorkflowStageIds, aN as isBuiltInRole, b5 as isFinalWorkflowStage, N as isLocaleDefinition, aM as isRoleDefinition, a$ as isWorkflowDefinition, b0 as isWorkflowStageDefinition, v as schemaToJSON, bf as viewToJSON, b6 as workflowToJSON } from '../define-schema-DHvUCKwj.cjs';
1
+ export { ax as AggregateBlock, am as AllScopeConfig, G as AssetTypeConfig, H as AssetTypeConfigWithFields, J as AssetTypeConfigWithFieldsets, K as AssetTypeDefinition, a8 as BUILT_IN_ROLES, aa as BUILT_IN_ROLE_ACTIONS, ab as BuiltInRole, aI as CachePolicy, aJ as CachePolicyObject, C as ComponentConfig, v as ComponentDefinition, w as ComponentMetadata, x as ComponentReusabilityMetadata, y as ComponentValidationMetadata, aj as ContentTypeScopeConfig, ak as ContentTypesScopeConfig, al as EntryTypeScopeConfig, aw as FetchBlock, ae as FieldVisibility, O as FileKindConfig, a3 as FileScanConfig, a2 as FileUploadConfig, aH as FilterDefinition, X as ImageExifConfig, Q as ImageFitMode, N as ImageKindConfig, R as ImageOutputFormat, W as ImageSourceConfig, P as ImageTransform, U as ImageUploadConfig, aF as IncludeDefinition, aL as IncludeSubQueries, aK as IncludeSubQuery, M as InferAssetType, aR as InferQueryParams, aQ as InferQueryResponse, E as InferSettingsGroup, t as InferSingleton, I as InferSingletonContentType, o as LocaleDefinition, L as LocaleOptions, aM as Parameterizable, aP as QueryCardinality, au as QueryConfig, av as QueryDefinition, aN as QueryParameter, aO as QueryParameterType, a9 as ROLE_ACTIONS, ad as ResourcePermission, ac as RoleAction, af as RoleConfig, ag as RoleDefinition, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, ay as SearchBlock, aG as SelectMapping, A as SettingsGroupConfig, B as SettingsGroupDefinition, D as SettingsGroupMetadata, az as SimilarBlock, r as SingletonContentTypeDefinition, s as SingletonMetadata, aD as SortCondition, aE as SortDirection, T as TextDirection, Y as VariantDefinition, $ as VideoCaptionsConfig, a0 as VideoDownloadConfig, V as VideoKindConfig, _ as VideoPosterConfig, Z as VideoUploadConfig, a1 as VideoWatermarkConfig, ar as ViewConfig, as as ViewDefinition, aq as ViewFilter, ao as ViewFilterCondition, ap as ViewFilterGroup, an as ViewFilterOperator, ai as ViewScopeConfig, aA as WhereCondition, aC as WhereOperator, aB as WhereValue, n as buildFallbackChain, F as defineAssetType, u as defineComponent, i as defineLocale, at as defineQuery, a4 as defineRole, d as defineSchema, z as defineSettingsGroup, q as defineSingleton, p as defineSingletonContentType, ah as defineView, l as findDefaultLocale, m as getActiveLocales, a7 as getBuiltInRoleActions, k as getLocaleCodes, a6 as isBuiltInRole, j as isLocaleDefinition, a5 as isRoleDefinition } from '../define-schema-2xbHgtK-.cjs';
2
+ import { F as FieldUIConfig, a as FieldAIConfig, b as FieldRule, L as LocalizationConfig, S as ShortTextConfig, c as FieldDefinition, d as LongTextConfig, R as RichTextConfig, e as SlugConfig, U as UrlConfig, E as EmailConfig, I as IntegerConfig, D as DecimalConfig, B as BooleanConfig, f as EnumConfig, g as DateConfig, h as DateTimeConfig, i as ReferenceConfig, T as TagsConfig, j as ListConfig, A as AIConfig, k as AllFieldTypes, l as AnyFieldDefinition, m as AssetAIConfig, n as BaseFieldConfig, C as ComponentFieldType, o as FieldType, p as ReadOnlyRule, q as RequirementRule, r as RuleCondition, s as RuleConditions, V as ValidationRule, t as VisibilityRule } from '../define-content-type-CBfnTWSS.cjs';
3
+ export { x as ContentTypeConfig, y as ContentTypeConfigWithFields, z as ContentTypeConfigWithFieldsets, G as ContentTypeDefinition, a5 as ContentTypeWorkflowConfig, H as EntryMetadata, w as Fieldset, J as InferContentType, K as LocalePublicationFields, a0 as WorkflowAutoAssign, a3 as WorkflowConfig, a4 as WorkflowDefinition, $ as WorkflowEscalation, a1 as WorkflowStageConfig, a2 as WorkflowStageDefinition, u as defineContentType, O as defineContentTypeWorkflow, M as defineWorkflow, N as defineWorkflowStage, v as fieldset, X as findWorkflowStage, Z as getFirstWorkflowStage, Y as getNextWorkflowStage, W as getWorkflowStageIds, _ as isFinalWorkflowStage, P as isWorkflowDefinition, Q as isWorkflowStageDefinition } from '../define-content-type-CBfnTWSS.cjs';
3
4
 
4
5
  /**
5
6
  * Field builders for defining schema fields
@@ -1,5 +1,6 @@
1
- import { F as FieldUIConfig, a as FieldAIConfig, b as FieldRule, L as LocalizationConfig, S as ShortTextConfig, c as FieldDefinition, d as LongTextConfig, R as RichTextConfig, e as SlugConfig, U as UrlConfig, E as EmailConfig, I as IntegerConfig, D as DecimalConfig, B as BooleanConfig, f as EnumConfig, g as DateConfig, h as DateTimeConfig, i as ReferenceConfig, T as TagsConfig, j as ListConfig, A as AIConfig, k as AllFieldTypes, l as AnyFieldDefinition, m as AssetAIConfig, n as BaseFieldConfig, C as ComponentFieldType, o as FieldType, p as ReadOnlyRule, q as RequirementRule, r as RuleCondition, s as RuleConditions, V as ValidationRule, t as VisibilityRule } from '../define-schema-DHvUCKwj.js';
2
- export { bv as AggregateBlock, bk as AllScopeConfig, ap as AssetTypeConfig, aq as AssetTypeConfigWithFields, ar as AssetTypeConfigWithFieldsets, as as AssetTypeDefinition, aP as BUILT_IN_ROLES, aR as BUILT_IN_ROLE_ACTIONS, aS as BuiltInRole, bG as CachePolicy, bH as CachePolicyObject, ae as ComponentConfig, af as ComponentDefinition, ag as ComponentMetadata, ah as ComponentReusabilityMetadata, ai as ComponentValidationMetadata, a1 as ContentTypeConfig, a2 as ContentTypeConfigWithFields, a3 as ContentTypeConfigWithFieldsets, a4 as ContentTypeDefinition, bh as ContentTypeScopeConfig, bd as ContentTypeWorkflowConfig, bi as ContentTypesScopeConfig, a5 as EntryMetadata, bj as EntryTypeScopeConfig, bu as FetchBlock, aV as FieldVisibility, a0 as Fieldset, aw as FileKindConfig, aK as FileScanConfig, aJ as FileUploadConfig, bF as FilterDefinition, aC as ImageExifConfig, ay as ImageFitMode, au as ImageKindConfig, az as ImageOutputFormat, aB as ImageSourceConfig, ax as ImageTransform, aA as ImageUploadConfig, bD as IncludeDefinition, bJ as IncludeSubQueries, bI as IncludeSubQuery, at as InferAssetType, a6 as InferContentType, bL as InferQueryParams, bK as InferQueryResponse, an as InferSettingsGroup, ac as InferSingleton, ab as InferSingletonContentType, Z as LocaleDefinition, Y as LocaleOptions, bs as QueryConfig, bt as QueryDefinition, aQ as ROLE_ACTIONS, aU as ResourcePermission, aT as RoleAction, aW as RoleConfig, aX as RoleDefinition, K as SchemaAssetTypeNames, w as SchemaConfig, y as SchemaContentTypeNames, x as SchemaDefinition, H as SchemaLocaleCodes, G as SchemaQueryNames, J as SchemaSettingsGroupNames, z as SchemaSingletonNames, bw as SearchBlock, bE as SelectMapping, ak as SettingsGroupConfig, al as SettingsGroupDefinition, am as SettingsGroupMetadata, bx as SimilarBlock, a9 as SingletonContentTypeDefinition, aa as SingletonMetadata, bB as SortCondition, bC as SortDirection, X as TextDirection, aD as VariantDefinition, aG as VideoCaptionsConfig, aH as VideoDownloadConfig, av as VideoKindConfig, aF as VideoPosterConfig, aE as VideoUploadConfig, aI as VideoWatermarkConfig, bp as ViewConfig, bq as ViewDefinition, bo as ViewFilter, bm as ViewFilterCondition, bn as ViewFilterGroup, bl as ViewFilterOperator, bg as ViewScopeConfig, by as WhereCondition, bA as WhereOperator, bz as WhereValue, b8 as WorkflowAutoAssign, bb as WorkflowConfig, bc as WorkflowDefinition, b7 as WorkflowEscalation, b9 as WorkflowStageConfig, ba as WorkflowStageDefinition, W as buildFallbackChain, ao as defineAssetType, ad as defineComponent, _ as defineContentType, a_ as defineContentTypeWorkflow, M as defineLocale, br as defineQuery, aL as defineRole, u as defineSchema, aj as defineSettingsGroup, a8 as defineSingleton, a7 as defineSingletonContentType, be as defineView, aY as defineWorkflow, aZ as defineWorkflowStage, $ as fieldset, P as findDefaultLocale, b2 as findWorkflowStage, Q as getActiveLocales, aO as getBuiltInRoleActions, b4 as getFirstWorkflowStage, O as getLocaleCodes, b3 as getNextWorkflowStage, b1 as getWorkflowStageIds, aN as isBuiltInRole, b5 as isFinalWorkflowStage, N as isLocaleDefinition, aM as isRoleDefinition, a$ as isWorkflowDefinition, b0 as isWorkflowStageDefinition, v as schemaToJSON, bf as viewToJSON, b6 as workflowToJSON } from '../define-schema-DHvUCKwj.js';
1
+ export { ax as AggregateBlock, am as AllScopeConfig, G as AssetTypeConfig, H as AssetTypeConfigWithFields, J as AssetTypeConfigWithFieldsets, K as AssetTypeDefinition, a8 as BUILT_IN_ROLES, aa as BUILT_IN_ROLE_ACTIONS, ab as BuiltInRole, aI as CachePolicy, aJ as CachePolicyObject, C as ComponentConfig, v as ComponentDefinition, w as ComponentMetadata, x as ComponentReusabilityMetadata, y as ComponentValidationMetadata, aj as ContentTypeScopeConfig, ak as ContentTypesScopeConfig, al as EntryTypeScopeConfig, aw as FetchBlock, ae as FieldVisibility, O as FileKindConfig, a3 as FileScanConfig, a2 as FileUploadConfig, aH as FilterDefinition, X as ImageExifConfig, Q as ImageFitMode, N as ImageKindConfig, R as ImageOutputFormat, W as ImageSourceConfig, P as ImageTransform, U as ImageUploadConfig, aF as IncludeDefinition, aL as IncludeSubQueries, aK as IncludeSubQuery, M as InferAssetType, aR as InferQueryParams, aQ as InferQueryResponse, E as InferSettingsGroup, t as InferSingleton, I as InferSingletonContentType, o as LocaleDefinition, L as LocaleOptions, aM as Parameterizable, aP as QueryCardinality, au as QueryConfig, av as QueryDefinition, aN as QueryParameter, aO as QueryParameterType, a9 as ROLE_ACTIONS, ad as ResourcePermission, ac as RoleAction, af as RoleConfig, ag as RoleDefinition, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, ay as SearchBlock, aG as SelectMapping, A as SettingsGroupConfig, B as SettingsGroupDefinition, D as SettingsGroupMetadata, az as SimilarBlock, r as SingletonContentTypeDefinition, s as SingletonMetadata, aD as SortCondition, aE as SortDirection, T as TextDirection, Y as VariantDefinition, $ as VideoCaptionsConfig, a0 as VideoDownloadConfig, V as VideoKindConfig, _ as VideoPosterConfig, Z as VideoUploadConfig, a1 as VideoWatermarkConfig, ar as ViewConfig, as as ViewDefinition, aq as ViewFilter, ao as ViewFilterCondition, ap as ViewFilterGroup, an as ViewFilterOperator, ai as ViewScopeConfig, aA as WhereCondition, aC as WhereOperator, aB as WhereValue, n as buildFallbackChain, F as defineAssetType, u as defineComponent, i as defineLocale, at as defineQuery, a4 as defineRole, d as defineSchema, z as defineSettingsGroup, q as defineSingleton, p as defineSingletonContentType, ah as defineView, l as findDefaultLocale, m as getActiveLocales, a7 as getBuiltInRoleActions, k as getLocaleCodes, a6 as isBuiltInRole, j as isLocaleDefinition, a5 as isRoleDefinition } from '../define-schema-DzYXk4HL.js';
2
+ import { F as FieldUIConfig, a as FieldAIConfig, b as FieldRule, L as LocalizationConfig, S as ShortTextConfig, c as FieldDefinition, d as LongTextConfig, R as RichTextConfig, e as SlugConfig, U as UrlConfig, E as EmailConfig, I as IntegerConfig, D as DecimalConfig, B as BooleanConfig, f as EnumConfig, g as DateConfig, h as DateTimeConfig, i as ReferenceConfig, T as TagsConfig, j as ListConfig, A as AIConfig, k as AllFieldTypes, l as AnyFieldDefinition, m as AssetAIConfig, n as BaseFieldConfig, C as ComponentFieldType, o as FieldType, p as ReadOnlyRule, q as RequirementRule, r as RuleCondition, s as RuleConditions, V as ValidationRule, t as VisibilityRule } from '../define-content-type-CBfnTWSS.js';
3
+ export { x as ContentTypeConfig, y as ContentTypeConfigWithFields, z as ContentTypeConfigWithFieldsets, G as ContentTypeDefinition, a5 as ContentTypeWorkflowConfig, H as EntryMetadata, w as Fieldset, J as InferContentType, K as LocalePublicationFields, a0 as WorkflowAutoAssign, a3 as WorkflowConfig, a4 as WorkflowDefinition, $ as WorkflowEscalation, a1 as WorkflowStageConfig, a2 as WorkflowStageDefinition, u as defineContentType, O as defineContentTypeWorkflow, M as defineWorkflow, N as defineWorkflowStage, v as fieldset, X as findWorkflowStage, Z as getFirstWorkflowStage, Y as getNextWorkflowStage, W as getWorkflowStageIds, _ as isFinalWorkflowStage, P as isWorkflowDefinition, Q as isWorkflowStageDefinition } from '../define-content-type-CBfnTWSS.js';
3
4
 
4
5
  /**
5
6
  * Field builders for defining schema fields
@@ -1,4 +1,4 @@
1
- export { BUILT_IN_ROLES, BUILT_IN_ROLE_ACTIONS, ROLE_ACTIONS, buildFallbackChain, defineAssetType, defineComponent, defineContentType, defineContentTypeWorkflow, defineLocale, defineQuery, defineRole, defineSchema, defineSettingsGroup, defineSingleton, defineSingletonContentType, defineView, defineWorkflow, defineWorkflowStage, fields, fieldset, findDefaultLocale, findWorkflowStage, getActiveLocales, getBuiltInRoleActions, getFirstWorkflowStage, getLocaleCodes, getNextWorkflowStage, getWorkflowStageIds, isBuiltInRole, isFinalWorkflowStage, isLocaleDefinition, isRoleDefinition, isWorkflowDefinition, isWorkflowStageDefinition, schemaToJSON, viewToJSON, workflowToJSON } from '../chunk-2QUK2ZGD.js';
1
+ export { BUILT_IN_ROLES, BUILT_IN_ROLE_ACTIONS, ROLE_ACTIONS, buildFallbackChain, defineAssetType, defineComponent, defineContentType, defineContentTypeWorkflow, defineLocale, defineQuery, defineRole, defineSchema, defineSettingsGroup, defineSingleton, defineSingletonContentType, defineView, defineWorkflow, defineWorkflowStage, fields, fieldset, findDefaultLocale, findWorkflowStage, getActiveLocales, getBuiltInRoleActions, getFirstWorkflowStage, getLocaleCodes, getNextWorkflowStage, getWorkflowStageIds, isBuiltInRole, isFinalWorkflowStage, isLocaleDefinition, isRoleDefinition, isWorkflowDefinition, isWorkflowStageDefinition } from '../chunk-XY5KFEFY.js';
2
2
  import '../chunk-XQ4QHWZE.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
- export { r as ApiResponse, B as BaseContent, o as CacheConfig, t as CacheStrategy, f as ContentQueryResult, j as ContentTypeSchema, C as CreateInput, i as CustomQuery, D as DebugConfig, E as Environment, J as FieldDefinition, k as FieldOptions, F as FieldTypeName, L as LogLevel, P as PerformanceMetrics, Q as QueryOptions, p as RealtimeConfig, m as RealtimeEvent, l as RealtimeEventType, R as RelyIOConfig, q as RequestConfig, s as RetryConfig, h as SettingsGroup, g as SingletonContent, e as SortOptions, n as SubscriptionOptions, U as UpdateInput, V as ValidationRule, u as ValidationViolation, c as WhereClause, d as WhereOperator } from '../index-BsUqCAu8.cjs';
1
+ export { t as ApiResponse, B as BaseContent, q as CacheConfig, v as CacheStrategy, g as ContentQueryResult, k as ContentTypeSchema, C as CreateInput, j as CustomQuery, D as DebugConfig, E as Environment, T as FieldDefinition, l as FieldOptions, F as FieldTypeName, L as LogLevel, P as PerformanceMetrics, Q as QueryOptions, r as RealtimeConfig, o as RealtimeEvent, n as RealtimeEventType, R as RelyIOConfig, s as RequestConfig, u as RetryConfig, i as SettingsGroup, h as SingletonContent, f as SortOptions, p as SubscriptionOptions, U as UpdateInput, V as ValidationRule, w as ValidationViolation, d as WhereClause, e as WhereOperator } from '../index-DFehx5sI.cjs';
2
+ import '../define-content-type-CBfnTWSS.cjs';
@@ -1 +1,2 @@
1
- export { r as ApiResponse, B as BaseContent, o as CacheConfig, t as CacheStrategy, f as ContentQueryResult, j as ContentTypeSchema, C as CreateInput, i as CustomQuery, D as DebugConfig, E as Environment, J as FieldDefinition, k as FieldOptions, F as FieldTypeName, L as LogLevel, P as PerformanceMetrics, Q as QueryOptions, p as RealtimeConfig, m as RealtimeEvent, l as RealtimeEventType, R as RelyIOConfig, q as RequestConfig, s as RetryConfig, h as SettingsGroup, g as SingletonContent, e as SortOptions, n as SubscriptionOptions, U as UpdateInput, V as ValidationRule, u as ValidationViolation, c as WhereClause, d as WhereOperator } from '../index-BsUqCAu8.js';
1
+ export { t as ApiResponse, B as BaseContent, q as CacheConfig, v as CacheStrategy, g as ContentQueryResult, k as ContentTypeSchema, C as CreateInput, j as CustomQuery, D as DebugConfig, E as Environment, T as FieldDefinition, l as FieldOptions, F as FieldTypeName, L as LogLevel, P as PerformanceMetrics, Q as QueryOptions, r as RealtimeConfig, o as RealtimeEvent, n as RealtimeEventType, R as RelyIOConfig, s as RequestConfig, u as RetryConfig, i as SettingsGroup, h as SingletonContent, f as SortOptions, p as SubscriptionOptions, U as UpdateInput, V as ValidationRule, w as ValidationViolation, d as WhereClause, e as WhereOperator } from '../index-FDak5ofk.js';
2
+ import '../define-content-type-CBfnTWSS.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relyio/sdk",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "RelyIO is coming soon — this package is not ready for general use yet.",
5
5
  "keywords": [
6
6
  "relyio"
@@ -26,16 +26,17 @@
26
26
  "import": "./dist/index.js",
27
27
  "require": "./dist/index.cjs"
28
28
  },
29
+ "./dev-handshake": {
30
+ "types": "./dist/dev-handshake/index.d.ts",
31
+ "source": "./src/dev-handshake/index.ts",
32
+ "import": "./dist/dev-handshake/index.js",
33
+ "require": "./dist/dev-handshake/index.cjs"
34
+ },
29
35
  "./schema": {
30
36
  "types": "./dist/schema/index.d.ts",
31
37
  "import": "./dist/schema/index.js",
32
38
  "require": "./dist/schema/index.cjs"
33
39
  },
34
- "./react": {
35
- "types": "./dist/react/index.d.ts",
36
- "import": "./dist/react/index.js",
37
- "require": "./dist/react/index.cjs"
38
- },
39
40
  "./types": {
40
41
  "types": "./dist/types/index.d.ts",
41
42
  "import": "./dist/types/index.js",
@@ -69,7 +70,6 @@
69
70
  "@changesets/cli": "2.29.4",
70
71
  "@eslint/js": "9.39.5",
71
72
  "@types/node": "24.13.3",
72
- "@types/react": "19.2.18",
73
73
  "@typescript-eslint/eslint-plugin": "^8.18.1",
74
74
  "@typescript-eslint/parser": "^8.18.1",
75
75
  "@vitest/coverage-v8": "4.1.11",
@@ -82,22 +82,18 @@
82
82
  "prettier": "3.5.3",
83
83
  "rimraf": "6.1.3",
84
84
  "tsup": "8.5.1",
85
- "typedoc": "^0.27.5",
86
- "typescript": "5.9.3",
85
+ "typedoc": "^0.28.20",
86
+ "typescript": "npm:@typescript/typescript6@6.0.2",
87
87
  "vitest": "4.1.11",
88
- "@relyio/api-contract": "0.1.0",
89
- "@relyio/eslint-config": "0.0.0"
88
+ "@relyio/eslint-config": "0.0.0",
89
+ "@relyio/api-contract": "0.1.0"
90
90
  },
91
91
  "peerDependencies": {
92
- "typescript": ">=4.9.0",
93
- "react": ">=18.0.0"
92
+ "typescript": ">=4.9.0"
94
93
  },
95
94
  "peerDependenciesMeta": {
96
95
  "typescript": {
97
96
  "optional": true
98
- },
99
- "react": {
100
- "optional": true
101
97
  }
102
98
  },
103
99
  "bundlesize": [
@@ -136,10 +132,10 @@
136
132
  "test:watch": "vitest --watch",
137
133
  "test:coverage": "vitest --coverage",
138
134
  "test:ui": "vitest --ui",
139
- "type:check": "tsc --noEmit",
135
+ "type:check": "tsc --noEmit && tsc --noEmit -p tsconfig.register-types.json",
140
136
  "codegen:openapi": "node ../../../scripts/emit-openapi-types.mjs ../../../apps/services/api/openapi-spec.json src/http/api-schema.ts",
141
- "lint:write": "eslint . --fix",
142
- "lint:check": "eslint .",
137
+ "lint:write": "relyio-lint --fix",
138
+ "lint:check": "relyio-lint",
143
139
  "format:write": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
144
140
  "docs": "typedoc",
145
141
  "docs:watch": "typedoc --watch",
@@ -1,4 +0,0 @@
1
- 'use strict';
2
-
3
- //# sourceMappingURL=index.cjs.map
4
- //# sourceMappingURL=index.cjs.map
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,3 +0,0 @@
1
-
2
- //# sourceMappingURL=index.js.map
3
- //# sourceMappingURL=index.js.map