@relyio/sdk 0.13.0 → 0.15.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 (36) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/dist/{chunk-DEDIJKHY.cjs → chunk-3BHDGUNS.cjs} +1554 -3250
  3. package/dist/{chunk-3NPPMGB6.js → chunk-5UMY6CS4.js} +2 -2
  4. package/dist/{chunk-EW23SZPX.js → chunk-PCFTJLEP.js} +540 -262
  5. package/dist/{chunk-6NGJXLOR.js → chunk-PXA5ONIU.js} +1553 -3240
  6. package/dist/{chunk-Z6GLWSSD.cjs → chunk-RSHMA4KT.cjs} +2 -2
  7. package/dist/{chunk-FOSM4LMM.cjs → chunk-X4KSS7PP.cjs} +539 -262
  8. package/dist/client/index.cjs +3 -3
  9. package/dist/client/index.d.cts +3 -3
  10. package/dist/client/index.d.ts +3 -3
  11. package/dist/client/index.js +1 -1
  12. package/dist/{include-paths-Bs5FhNw2.d.cts → define-content-type-B2gQZkTy.d.cts} +3697 -2585
  13. package/dist/{include-paths-Cb7iPCW2.d.ts → define-content-type-Ds5rCAYl.d.ts} +3697 -2585
  14. package/dist/{define-schema-sWJ8Zn7C.d.cts → define-schema-Cm_5y3ei.d.cts} +238 -356
  15. package/dist/{define-schema-UHViXKiv.d.ts → define-schema-CxpIYFFR.d.ts} +238 -356
  16. package/dist/index-DQ7eTUPQ.d.ts +3090 -0
  17. package/dist/{index--_u1nPHv.d.cts → index-DY64WjZM.d.cts} +2 -2
  18. package/dist/{index-8DozAWsA.d.ts → index-Db3_tmYf.d.ts} +2 -2
  19. package/dist/index-F0UuHpRj.d.cts +3090 -0
  20. package/dist/index.cjs +90 -130
  21. package/dist/index.d.cts +16 -23
  22. package/dist/index.d.ts +16 -23
  23. package/dist/index.js +4 -4
  24. package/dist/rich-text/index.cjs +11 -11
  25. package/dist/rich-text/index.d.cts +2 -2
  26. package/dist/rich-text/index.d.ts +2 -2
  27. package/dist/rich-text/index.js +1 -1
  28. package/dist/schema/index.cjs +33 -37
  29. package/dist/schema/index.d.cts +33 -18
  30. package/dist/schema/index.d.ts +33 -18
  31. package/dist/schema/index.js +1 -1
  32. package/dist/types/index.d.cts +1 -1
  33. package/dist/types/index.d.ts +1 -1
  34. package/package.json +2 -2
  35. package/dist/index-BT0L8xJj.d.cts +0 -3717
  36. package/dist/index-CPjJ25R4.d.ts +0 -3717
@@ -1,5 +1,5 @@
1
1
  import { k as RichTextHeading, b as RichTextValue, y as RichTextTable, h as RichTextCodeGroup, e as RichTextBlock, l as RichTextInline, t as RichTextNode, w as RichTextSpan, r as RichTextMark, A as AnyRichTextEntryLink, c as RichTextShapeValue } from './rich-text.d-BWc-5gX1.cjs';
2
- import { bL as BaseContent } from './include-paths-Bs5FhNw2.cjs';
2
+ import { cs as BaseContent } from './define-content-type-B2gQZkTy.cjs';
3
3
 
4
4
  /**
5
5
  * The DOM↔field binding contract, as the one pure helper that emits it.
@@ -440,7 +440,7 @@ type DeclaredHtmlOption<V> = [RichTextDeclaredOf<V>] extends [never] ? {
440
440
  * ```ts
441
441
  * import { richTextToHtml } from '@relyio/sdk'
442
442
  *
443
- * const post = await relyio.content('post').findById('hello').execute()
443
+ * const post = await relyio.content('post').get('hello')
444
444
  * const html = richTextToHtml(post?.body) // '<h2>Getting started</h2><p>Install the <code>SDK</code>…</p>'
445
445
  * ```
446
446
  */
@@ -1,5 +1,5 @@
1
1
  import { k as RichTextHeading, b as RichTextValue, y as RichTextTable, h as RichTextCodeGroup, e as RichTextBlock, l as RichTextInline, t as RichTextNode, w as RichTextSpan, r as RichTextMark, A as AnyRichTextEntryLink, c as RichTextShapeValue } from './rich-text.d-BWc-5gX1.js';
2
- import { bL as BaseContent } from './include-paths-Cb7iPCW2.js';
2
+ import { cs as BaseContent } from './define-content-type-Ds5rCAYl.js';
3
3
 
4
4
  /**
5
5
  * The DOM↔field binding contract, as the one pure helper that emits it.
@@ -440,7 +440,7 @@ type DeclaredHtmlOption<V> = [RichTextDeclaredOf<V>] extends [never] ? {
440
440
  * ```ts
441
441
  * import { richTextToHtml } from '@relyio/sdk'
442
442
  *
443
- * const post = await relyio.content('post').findById('hello').execute()
443
+ * const post = await relyio.content('post').get('hello')
444
444
  * const html = richTextToHtml(post?.body) // '<h2>Getting started</h2><p>Install the <code>SDK</code>…</p>'
445
445
  * ```
446
446
  */