@relyio/sdk 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/dist/chunk-7BZW6XYJ.cjs +433 -0
- package/dist/chunk-CQHEG7QA.js +411 -0
- package/dist/{chunk-PCFTJLEP.js → chunk-DIZY6CKM.js} +2 -2
- package/dist/{chunk-X4KSS7PP.cjs → chunk-GHYB6IZK.cjs} +2 -2
- package/dist/{chunk-DBBZVZOS.js → chunk-NIUOPIIB.js} +413 -552
- package/dist/{chunk-GUPV2M3X.cjs → chunk-RLLZUFDB.cjs} +450 -585
- package/dist/client/index.cjs +4 -3
- package/dist/client/index.d.cts +3 -4
- package/dist/client/index.d.ts +3 -4
- package/dist/client/index.js +2 -1
- package/dist/{define-content-type-DOrZb_a_.d.ts → define-content-type-CAWSlgn0.d.ts} +579 -81
- package/dist/{define-content-type-BUZeWtpk.d.cts → define-content-type-LkI0rS2W.d.cts} +579 -81
- package/dist/{define-schema-5aHmsA8j.d.ts → define-schema-Dxu3RoHV.d.ts} +1 -1
- package/dist/{define-schema-nCfZeboB.d.cts → define-schema-wlsJOrnY.d.cts} +1 -1
- package/dist/{index-DOhFQbv7.d.ts → index-BH8JksfG.d.ts} +472 -179
- package/dist/{index-B97ZDj44.d.ts → index-CGtYxUuh.d.ts} +1 -1
- package/dist/{index-C-pcllqY.d.cts → index-CcHmRALk.d.cts} +1 -1
- package/dist/{index-DgVV5Nj7.d.cts → index-D80MXUkf.d.cts} +472 -179
- package/dist/index.cjs +96 -71
- package/dist/index.d.cts +26 -16
- package/dist/index.d.ts +26 -16
- package/dist/index.js +4 -3
- package/dist/markdown/index.cjs +10 -2
- package/dist/markdown/index.d.cts +12 -3
- package/dist/markdown/index.d.ts +12 -3
- package/dist/markdown/index.js +10 -2
- package/dist/preview/index.cjs +29 -0
- package/dist/preview/index.d.cts +117 -0
- package/dist/preview/index.d.ts +117 -0
- package/dist/preview/index.js +4 -0
- package/dist/rich-text/index.d.cts +2 -2
- package/dist/rich-text/index.d.ts +2 -2
- package/dist/schema/index.cjs +33 -33
- package/dist/schema/index.d.cts +3 -3
- package/dist/schema/index.d.ts +3 -3
- package/dist/schema/index.js +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +10 -4
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AggregateBlock, L as AnyQueryParameters, C as CachePolicy, x as CachePolicyObject, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, F as FullTextSearch, H as HavingOperator, I as IncludeDefinition, u as IncludeRelationship, z as IncludeSubQueries, y as IncludeSubQuery, J as InferQueryParams, G as InferQueryResponse, P as Parameterizable, E as QueryCardinality, Q as QueryConfig, l as QueryDefinition, B as QueryParameter, D as QueryParameterType, K as QueryParameterValue, r as QueryScalar, m as QueryType, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, t as SortDirection, V as ViewsAsList, W as WhereCondition, q as WhereOperator, p as WhereValue, k as defineQuery, d as defineSchema } from '../define-schema-
|
|
2
|
-
import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, D as DateConfig, e as DateTimeConfig, f as DecimalConfig, E as EmailConfig, g as EnumConfig, F as FieldAIConfig, h as FieldDefinition, i as FieldRule, j as FieldType, k as FieldUIConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, n as KeyedFields, o as KeyedFieldsOf, p as KeyedMembers, q as KeyedMembersOf, L as ListConfig, r as LocalizationConfig, s as Localized, t as LocalizedDetails, u as LongTextConfig, O as ObjectConfig, R as ReadOnlyRule, v as ReferenceConfig, w as RequirementRule, x as RichTextConfig, y as RichTextLinks, z as RuleCondition, G as RuleConditions, S as ShortTextConfig, H as SlugConfig, T as TableConfig, M as TagsConfig, U as UrlConfig, V as ValidationRule, N as VisibilityRule, W as WidgetOptions, P as boolean, Q as code, X as date, Y as dateTime, Z as decimal, _ as email, $ as enumField, a0 as integer, a1 as json, a2 as list, a3 as longText, a4 as object, a5 as reference, a6 as richText, a7 as shortText, a8 as slug, a9 as table, aa as tags, ab as url } from '../define-content-type-
|
|
3
|
-
export { b_ as AllScopeConfig, aH as AnyDeclaredFieldset, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, bo as BUILT_IN_ROLES, bq as BUILT_IN_ROLE_ACTIONS, ai as BlockOf, br as BuiltInRole, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, bX as ContentTypeScopeConfig, bQ as ContentTypeWorkflowConfig, bY as ContentTypesScopeConfig, af as DeclaredFields, aG as DeclaredFieldset, aM as EntryMetadata, bZ as EntryTypeScopeConfig, aJ as FieldMember, ac as FieldSchemaContext, ad as FieldValue, ae as FieldValues, bu as FieldVisibility, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b7 as ImageFitMode, b3 as ImageKindConfig, b8 as ImageOutputFormat, ba as ImageSourceConfig, b6 as ImageTransform, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aY as InferSettingsGroup, aT as InferSingleton, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, aI as KeyedFieldsetConfig, bx as KeyedRoleConfig, by as KeyedRoleDefinition, bz as KeyedRoles, bA as KeyedRolesAsList, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, c6 as KeyedViewConfig, c7 as KeyedViewDefinition, c8 as KeyedViews, c9 as KeyedViewsAsList, bR as KeyedWorkflowConfig, bS as KeyedWorkflowStageConfig, bT as KeyedWorkflowStageDefinition, bU as KeyedWorkflowStages, aC as LocaleDefinition, aB as LocaleOptions, aO as LocalePublicationFields, bp as ROLE_ACTIONS, aq as ReadWith, ap as Reading, bt as ResourcePermission, bs as RoleAction, bv as RoleConfig, bw as RoleDefinition, aW as SettingsGroupDefinition, aX as SettingsGroupMetadata, ar as SettingsReading, aj as ShapeValue, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, aA as TextDirection, ag as UnresolvedEntry, at as UntypedReading, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, c4 as ViewConfig, c5 as ViewDefinition, c3 as ViewFilter, c2 as ViewFilterCondition, b$ as ViewFilterOperator, c1 as ViewFilterRelativeDate, c0 as ViewFilterValue, bW as ViewScopeConfig, bM as WorkflowAutoAssign, bP as WorkflowDefinition, bL as WorkflowEscalation, bN as WorkflowStageConfig, bO as WorkflowStageDefinition, az as buildFallbackChain, aZ as defineAssetType, aD as defineContentType, bD as defineContentTypeWorkflow, au as defineLocale, bk as defineRole, aU as defineSettingsGroup, aP as defineSingleton, bV as defineView, bB as defineWorkflow, bC as defineWorkflowStage, aE as fieldset, ax as findDefaultLocale, bH as findWorkflowStage, ay as getActiveLocales, bn as getBuiltInRoleActions, bJ as getFirstWorkflowStage, aw as getLocaleCodes, bI as getNextWorkflowStage, bG as getWorkflowStageIds, bm as isBuiltInRole, bK as isFinalWorkflowStage, av as isLocaleDefinition, bl as isRoleDefinition, bE as isWorkflowDefinition, bF as isWorkflowStageDefinition } from '../define-content-type-
|
|
1
|
+
export { A as AggregateBlock, L as AnyQueryParameters, C as CachePolicy, x as CachePolicyObject, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, F as FullTextSearch, H as HavingOperator, I as IncludeDefinition, u as IncludeRelationship, z as IncludeSubQueries, y as IncludeSubQuery, J as InferQueryParams, G as InferQueryResponse, P as Parameterizable, E as QueryCardinality, Q as QueryConfig, l as QueryDefinition, B as QueryParameter, D as QueryParameterType, K as QueryParameterValue, r as QueryScalar, m as QueryType, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, t as SortDirection, V as ViewsAsList, W as WhereCondition, q as WhereOperator, p as WhereValue, k as defineQuery, d as defineSchema } from '../define-schema-Dxu3RoHV.js';
|
|
2
|
+
import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, D as DateConfig, e as DateTimeConfig, f as DecimalConfig, E as EmailConfig, g as EnumConfig, F as FieldAIConfig, h as FieldDefinition, i as FieldRule, j as FieldType, k as FieldUIConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, n as KeyedFields, o as KeyedFieldsOf, p as KeyedMembers, q as KeyedMembersOf, L as ListConfig, r as LocalizationConfig, s as Localized, t as LocalizedDetails, u as LongTextConfig, O as ObjectConfig, R as ReadOnlyRule, v as ReferenceConfig, w as RequirementRule, x as RichTextConfig, y as RichTextLinks, z as RuleCondition, G as RuleConditions, S as ShortTextConfig, H as SlugConfig, T as TableConfig, M as TagsConfig, U as UrlConfig, V as ValidationRule, N as VisibilityRule, W as WidgetOptions, P as boolean, Q as code, X as date, Y as dateTime, Z as decimal, _ as email, $ as enumField, a0 as integer, a1 as json, a2 as list, a3 as longText, a4 as object, a5 as reference, a6 as richText, a7 as shortText, a8 as slug, a9 as table, aa as tags, ab as url } from '../define-content-type-CAWSlgn0.js';
|
|
3
|
+
export { b_ as AllScopeConfig, aH as AnyDeclaredFieldset, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, bo as BUILT_IN_ROLES, bq as BUILT_IN_ROLE_ACTIONS, ai as BlockOf, br as BuiltInRole, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, bX as ContentTypeScopeConfig, bQ as ContentTypeWorkflowConfig, bY as ContentTypesScopeConfig, af as DeclaredFields, aG as DeclaredFieldset, aM as EntryMetadata, bZ as EntryTypeScopeConfig, aJ as FieldMember, ac as FieldSchemaContext, ad as FieldValue, ae as FieldValues, bu as FieldVisibility, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b7 as ImageFitMode, b3 as ImageKindConfig, b8 as ImageOutputFormat, ba as ImageSourceConfig, b6 as ImageTransform, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aY as InferSettingsGroup, aT as InferSingleton, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, aI as KeyedFieldsetConfig, bx as KeyedRoleConfig, by as KeyedRoleDefinition, bz as KeyedRoles, bA as KeyedRolesAsList, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, c6 as KeyedViewConfig, c7 as KeyedViewDefinition, c8 as KeyedViews, c9 as KeyedViewsAsList, bR as KeyedWorkflowConfig, bS as KeyedWorkflowStageConfig, bT as KeyedWorkflowStageDefinition, bU as KeyedWorkflowStages, aC as LocaleDefinition, aB as LocaleOptions, aO as LocalePublicationFields, bp as ROLE_ACTIONS, aq as ReadWith, ap as Reading, bt as ResourcePermission, bs as RoleAction, bv as RoleConfig, bw as RoleDefinition, aW as SettingsGroupDefinition, aX as SettingsGroupMetadata, ar as SettingsReading, aj as ShapeValue, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, aA as TextDirection, ag as UnresolvedEntry, at as UntypedReading, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, c4 as ViewConfig, c5 as ViewDefinition, c3 as ViewFilter, c2 as ViewFilterCondition, b$ as ViewFilterOperator, c1 as ViewFilterRelativeDate, c0 as ViewFilterValue, bW as ViewScopeConfig, bM as WorkflowAutoAssign, bP as WorkflowDefinition, bL as WorkflowEscalation, bN as WorkflowStageConfig, bO as WorkflowStageDefinition, az as buildFallbackChain, aZ as defineAssetType, aD as defineContentType, bD as defineContentTypeWorkflow, au as defineLocale, bk as defineRole, aU as defineSettingsGroup, aP as defineSingleton, bV as defineView, bB as defineWorkflow, bC as defineWorkflowStage, aE as fieldset, ax as findDefaultLocale, bH as findWorkflowStage, ay as getActiveLocales, bn as getBuiltInRoleActions, bJ as getFirstWorkflowStage, aw as getLocaleCodes, bI as getNextWorkflowStage, bG as getWorkflowStageIds, bm as isBuiltInRole, bK as isFinalWorkflowStage, av as isLocaleDefinition, bl as isRoleDefinition, bE as isWorkflowDefinition, bF as isWorkflowStageDefinition } from '../define-content-type-CAWSlgn0.js';
|
|
4
4
|
import '../rich-text.d-BWc-5gX1.js';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/schema/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BUILT_IN_ROLES, BUILT_IN_ROLE_ACTIONS, ROLE_ACTIONS, buildFallbackChain, defineAssetType, defineContentType, defineContentTypeWorkflow, defineLocale, defineQuery, defineRole, defineSchema, defineSettingsGroup, defineSingleton, defineView, defineWorkflow, defineWorkflowStage, fields, fieldset, findDefaultLocale, findWorkflowStage, getActiveLocales, getBuiltInRoleActions, getFirstWorkflowStage, getLocaleCodes, getNextWorkflowStage, getWorkflowStageIds, isBuiltInRole, isFinalWorkflowStage, isLocaleDefinition, isRoleDefinition, isWorkflowDefinition, isWorkflowStageDefinition } from '../chunk-
|
|
1
|
+
export { BUILT_IN_ROLES, BUILT_IN_ROLE_ACTIONS, ROLE_ACTIONS, buildFallbackChain, defineAssetType, defineContentType, defineContentTypeWorkflow, defineLocale, defineQuery, defineRole, defineSchema, defineSettingsGroup, defineSingleton, defineView, defineWorkflow, defineWorkflowStage, fields, fieldset, findDefaultLocale, findWorkflowStage, getActiveLocales, getBuiltInRoleActions, getFirstWorkflowStage, getLocaleCodes, getNextWorkflowStage, getWorkflowStageIds, isBuiltInRole, isFinalWorkflowStage, isLocaleDefinition, isRoleDefinition, isWorkflowDefinition, isWorkflowStageDefinition } from '../chunk-DIZY6CKM.js';
|
|
2
2
|
import '../chunk-XQ4QHWZE.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton,
|
|
1
|
+
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton, cP as CacheConfig, cU as CacheStrategy, cI as ContentTypeSchema, cD as ContentVersion, cE as ContentVersionRow, cA as CreateInput, cH as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, cW as Environment, d4 as FieldDefinition, cK as FieldOptions, cV as LogLevel, cO as PerformanceMetrics, cM as RealtimeEvent, cL as RealtimeEventType, cm as RelyIOConfig, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, cG as SingletonContent, cN as SubscriptionOptions, cF as UpdateInput, cJ as ValidationRule, cX as ValidationViolation, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar } from '../define-content-type-LkI0rS2W.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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton,
|
|
1
|
+
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton, cP as CacheConfig, cU as CacheStrategy, cI as ContentTypeSchema, cD as ContentVersion, cE as ContentVersionRow, cA as CreateInput, cH as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, cW as Environment, d4 as FieldDefinition, cK as FieldOptions, cV as LogLevel, cO as PerformanceMetrics, cM as RealtimeEvent, cL as RealtimeEventType, cm as RelyIOConfig, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, cG as SingletonContent, cN as SubscriptionOptions, cF as UpdateInput, cJ as ValidationRule, cX as ValidationViolation, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar } from '../define-content-type-CAWSlgn0.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.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "RelyIO is coming soon — this package is not ready for general use yet.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"relyio"
|
|
@@ -32,6 +32,12 @@
|
|
|
32
32
|
"import": "./dist/dev-handshake/index.js",
|
|
33
33
|
"require": "./dist/dev-handshake/index.cjs"
|
|
34
34
|
},
|
|
35
|
+
"./preview": {
|
|
36
|
+
"types": "./dist/preview/index.d.ts",
|
|
37
|
+
"source": "./src/preview/index.ts",
|
|
38
|
+
"import": "./dist/preview/index.js",
|
|
39
|
+
"require": "./dist/preview/index.cjs"
|
|
40
|
+
},
|
|
35
41
|
"./schema": {
|
|
36
42
|
"types": "./dist/schema/index.d.ts",
|
|
37
43
|
"import": "./dist/schema/index.js",
|
|
@@ -95,10 +101,10 @@
|
|
|
95
101
|
"typedoc": "^0.28.20",
|
|
96
102
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
97
103
|
"vitest": "4.1.11",
|
|
98
|
-
"@relyio/eslint-config": "0.0.0",
|
|
99
|
-
"@relyio/schema": "0.0.1",
|
|
100
104
|
"@relyio/api-contract": "0.1.0",
|
|
101
|
-
"@relyio/
|
|
105
|
+
"@relyio/eslint-config": "0.0.0",
|
|
106
|
+
"@relyio/rich-text-markdown": "0.0.0",
|
|
107
|
+
"@relyio/schema": "0.0.1"
|
|
102
108
|
},
|
|
103
109
|
"peerDependencies": {
|
|
104
110
|
"typescript": ">=4.9.0"
|