@atcute/leaflet 1.0.18 → 1.0.20

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 (47) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/lexicons/index.d.ts +28 -27
  3. package/dist/lexicons/index.d.ts.map +1 -1
  4. package/dist/lexicons/index.js +1 -0
  5. package/dist/lexicons/index.js.map +1 -1
  6. package/dist/lexicons/types/pub/leaflet/blocks/blockquote.d.ts +1 -1
  7. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.d.ts +1 -0
  8. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.d.ts.map +1 -1
  9. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.js +1 -0
  10. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.js.map +1 -1
  11. package/dist/lexicons/types/pub/leaflet/blocks/header.d.ts +1 -1
  12. package/dist/lexicons/types/pub/leaflet/blocks/orderedList.d.ts +39 -0
  13. package/dist/lexicons/types/pub/leaflet/blocks/orderedList.d.ts.map +1 -0
  14. package/dist/lexicons/types/pub/leaflet/blocks/orderedList.js +40 -0
  15. package/dist/lexicons/types/pub/leaflet/blocks/orderedList.js.map +1 -0
  16. package/dist/lexicons/types/pub/leaflet/blocks/text.d.ts +1 -1
  17. package/dist/lexicons/types/pub/leaflet/blocks/unorderedList.d.ts +11 -3
  18. package/dist/lexicons/types/pub/leaflet/blocks/unorderedList.d.ts.map +1 -1
  19. package/dist/lexicons/types/pub/leaflet/blocks/unorderedList.js +10 -0
  20. package/dist/lexicons/types/pub/leaflet/blocks/unorderedList.js.map +1 -1
  21. package/dist/lexicons/types/pub/leaflet/comment.d.ts +2 -2
  22. package/dist/lexicons/types/pub/leaflet/content.d.ts +2 -2
  23. package/dist/lexicons/types/pub/leaflet/document.d.ts +3 -3
  24. package/dist/lexicons/types/pub/leaflet/pages/canvas.d.ts +16 -15
  25. package/dist/lexicons/types/pub/leaflet/pages/canvas.d.ts.map +1 -1
  26. package/dist/lexicons/types/pub/leaflet/pages/canvas.js +2 -0
  27. package/dist/lexicons/types/pub/leaflet/pages/canvas.js.map +1 -1
  28. package/dist/lexicons/types/pub/leaflet/pages/linearDocument.d.ts +16 -15
  29. package/dist/lexicons/types/pub/leaflet/pages/linearDocument.d.ts.map +1 -1
  30. package/dist/lexicons/types/pub/leaflet/pages/linearDocument.js +2 -0
  31. package/dist/lexicons/types/pub/leaflet/pages/linearDocument.js.map +1 -1
  32. package/dist/lexicons/types/pub/leaflet/publication.d.ts +2 -2
  33. package/lib/index.ts +1 -1
  34. package/lib/lexicons/index.ts +28 -27
  35. package/lib/lexicons/types/pub/leaflet/blocks/blockquote.ts +1 -1
  36. package/lib/lexicons/types/pub/leaflet/blocks/bskyPost.ts +1 -0
  37. package/lib/lexicons/types/pub/leaflet/blocks/header.ts +1 -1
  38. package/lib/lexicons/types/pub/leaflet/blocks/orderedList.ts +52 -0
  39. package/lib/lexicons/types/pub/leaflet/blocks/text.ts +1 -1
  40. package/lib/lexicons/types/pub/leaflet/blocks/unorderedList.ts +13 -3
  41. package/lib/lexicons/types/pub/leaflet/comment.ts +2 -2
  42. package/lib/lexicons/types/pub/leaflet/content.ts +2 -2
  43. package/lib/lexicons/types/pub/leaflet/document.ts +3 -3
  44. package/lib/lexicons/types/pub/leaflet/pages/canvas.ts +16 -14
  45. package/lib/lexicons/types/pub/leaflet/pages/linearDocument.ts +16 -14
  46. package/lib/lexicons/types/pub/leaflet/publication.ts +2 -2
  47. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './lexicons/index.js';
1
+ export * from './lexicons/index.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,28 +1,29 @@
1
- export * as PubLeafletBlocksBlockquote from './types/pub/leaflet/blocks/blockquote.js';
2
- export * as PubLeafletBlocksBskyPost from './types/pub/leaflet/blocks/bskyPost.js';
3
- export * as PubLeafletBlocksButton from './types/pub/leaflet/blocks/button.js';
4
- export * as PubLeafletBlocksCode from './types/pub/leaflet/blocks/code.js';
5
- export * as PubLeafletBlocksHeader from './types/pub/leaflet/blocks/header.js';
6
- export * as PubLeafletBlocksHorizontalRule from './types/pub/leaflet/blocks/horizontalRule.js';
7
- export * as PubLeafletBlocksIframe from './types/pub/leaflet/blocks/iframe.js';
8
- export * as PubLeafletBlocksImage from './types/pub/leaflet/blocks/image.js';
9
- export * as PubLeafletBlocksMath from './types/pub/leaflet/blocks/math.js';
10
- export * as PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.js';
11
- export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.js';
12
- export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.js';
13
- export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.js';
14
- export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.js';
15
- export * as PubLeafletComment from './types/pub/leaflet/comment.js';
16
- export * as PubLeafletContent from './types/pub/leaflet/content.js';
17
- export * as PubLeafletDocument from './types/pub/leaflet/document.js';
18
- export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.js';
19
- export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.js';
20
- export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.js';
21
- export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.js';
22
- export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.js';
23
- export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.js';
24
- export * as PubLeafletPublication from './types/pub/leaflet/publication.js';
25
- export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.js';
26
- export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.js';
27
- export * as PubLeafletThemeColor from './types/pub/leaflet/theme/color.js';
1
+ export * as PubLeafletBlocksBlockquote from './types/pub/leaflet/blocks/blockquote.ts';
2
+ export * as PubLeafletBlocksBskyPost from './types/pub/leaflet/blocks/bskyPost.ts';
3
+ export * as PubLeafletBlocksButton from './types/pub/leaflet/blocks/button.ts';
4
+ export * as PubLeafletBlocksCode from './types/pub/leaflet/blocks/code.ts';
5
+ export * as PubLeafletBlocksHeader from './types/pub/leaflet/blocks/header.ts';
6
+ export * as PubLeafletBlocksHorizontalRule from './types/pub/leaflet/blocks/horizontalRule.ts';
7
+ export * as PubLeafletBlocksIframe from './types/pub/leaflet/blocks/iframe.ts';
8
+ export * as PubLeafletBlocksImage from './types/pub/leaflet/blocks/image.ts';
9
+ export * as PubLeafletBlocksMath from './types/pub/leaflet/blocks/math.ts';
10
+ export * as PubLeafletBlocksOrderedList from './types/pub/leaflet/blocks/orderedList.ts';
11
+ export * as PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.ts';
12
+ export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.ts';
13
+ export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.ts';
14
+ export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.ts';
15
+ export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.ts';
16
+ export * as PubLeafletComment from './types/pub/leaflet/comment.ts';
17
+ export * as PubLeafletContent from './types/pub/leaflet/content.ts';
18
+ export * as PubLeafletDocument from './types/pub/leaflet/document.ts';
19
+ export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.ts';
20
+ export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.ts';
21
+ export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.ts';
22
+ export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.ts';
23
+ export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.ts';
24
+ export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.ts';
25
+ export * as PubLeafletPublication from './types/pub/leaflet/publication.ts';
26
+ export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.ts';
27
+ export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.ts';
28
+ export * as PubLeafletThemeColor from './types/pub/leaflet/theme/color.ts';
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/lexicons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,8BAA8B,MAAM,8CAA8C,CAAC;AAC/F,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,iBAAiB,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,iBAAiB,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,kBAAkB,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,+BAA+B,MAAM,+CAA+C,CAAC;AACjG,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,C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AO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,+BAA+B,MAAM,+CAA+C,CAAC;AACjG,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,kBAAkB,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,qBAAqB,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,8BAA8B,MAAM,8CAA8C,CAAC;AAC/F,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC"}
@@ -7,6 +7,7 @@ export * as PubLeafletBlocksHorizontalRule from './types/pub/leaflet/blocks/hori
7
7
  export * as PubLeafletBlocksIframe from './types/pub/leaflet/blocks/iframe.js';
8
8
  export * as PubLeafletBlocksImage from './types/pub/leaflet/blocks/image.js';
9
9
  export * as PubLeafletBlocksMath from './types/pub/leaflet/blocks/math.js';
10
+ export * as PubLeafletBlocksOrderedList from './types/pub/leaflet/blocks/orderedList.js';
10
11
  export * as PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.js';
11
12
  export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.js';
12
13
  export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/lexicons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,8B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'@atcute/lexicons/validations';
2
- import * as PubLeafletRichtextFacet from '../richtext/facet.js';
2
+ import * as PubLeafletRichtextFacet from '../richtext/facet.ts';
3
3
  declare const _mainSchema: v.ObjectSchema<{
4
4
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.blockquote">, undefined>;
5
5
  readonly facets: v.OptionalSchema<v.ArraySchema<PubLeafletRichtextFacet.mainSchema>, undefined>;
@@ -2,6 +2,7 @@ import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
  declare const _mainSchema: v.ObjectSchema<{
4
4
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.bskyPost">, undefined>;
5
+ clientHost: v.OptionalSchema<v.StringSchema<string>, undefined>;
5
6
  readonly postRef: ComAtprotoRepoStrongRef.mainSchema;
6
7
  }>;
7
8
  type main$schematype = typeof _mainSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"bskyPost.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/bskyPost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;EAKf,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
1
+ {"version":3,"file":"bskyPost.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/bskyPost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;;EAMf,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
@@ -2,6 +2,7 @@ import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
  const _mainSchema = /*#__PURE__*/ v.object({
4
4
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.bskyPost')),
5
+ clientHost: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
5
6
  get postRef() {
6
7
  return ComAtprotoRepoStrongRef.mainSchema;
7
8
  },
@@ -1 +1 @@
1
- {"version":3,"file":"bskyPost.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/bskyPost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACvF,IAAI,OAAO,GAAG;QACb,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAAA,CAC1C;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
1
+ {"version":3,"file":"bskyPost.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/bskyPost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACvF,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9D,IAAI,OAAO,GAAG;QACb,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAAA,CAC1C;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletRichtextFacet from '../richtext/facet.js';
2
+ import * as PubLeafletRichtextFacet from '../richtext/facet.ts';
3
3
  declare const _mainSchema: v.ObjectSchema<{
4
4
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.header">, undefined>;
5
5
  readonly facets: v.OptionalSchema<v.ArraySchema<PubLeafletRichtextFacet.mainSchema>, undefined>;
@@ -0,0 +1,39 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ import * as PubLeafletBlocksHeader from './header.ts';
3
+ import * as PubLeafletBlocksImage from './image.ts';
4
+ import * as PubLeafletBlocksText from './text.ts';
5
+ import * as PubLeafletBlocksUnorderedList from './unorderedList.ts';
6
+ declare const _listItemSchema: v.ObjectSchema<{
7
+ $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.orderedList#listItem">, undefined>;
8
+ /**
9
+ * Nested ordered list items. Mutually exclusive with unorderedListChildren; if both are present, children takes precedence.
10
+ */
11
+ readonly children: v.OptionalSchema<v.ArraySchema<listItemSchema>, undefined>;
12
+ readonly content: v.VariantSchema<readonly [PubLeafletBlocksHeader.mainSchema, PubLeafletBlocksImage.mainSchema, PubLeafletBlocksText.mainSchema], boolean>;
13
+ /**
14
+ * A nested unordered list. Mutually exclusive with children; if both are present, children takes precedence.
15
+ */
16
+ readonly unorderedListChildren: v.OptionalSchema<PubLeafletBlocksUnorderedList.mainSchema, undefined>;
17
+ }>;
18
+ declare const _mainSchema: v.ObjectSchema<{
19
+ $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.orderedList">, undefined>;
20
+ readonly children: v.ArraySchema<listItemSchema>;
21
+ /**
22
+ * The starting number for this ordered list. Defaults to 1 if not specified.
23
+ */
24
+ startIndex: v.OptionalSchema<v.IntegerSchema, undefined>;
25
+ }>;
26
+ type listItem$schematype = typeof _listItemSchema;
27
+ type main$schematype = typeof _mainSchema;
28
+ export interface listItemSchema extends listItem$schematype {
29
+ }
30
+ export interface mainSchema extends main$schematype {
31
+ }
32
+ export declare const listItemSchema: listItemSchema;
33
+ export declare const mainSchema: mainSchema;
34
+ export interface ListItem extends v.InferInput<typeof listItemSchema> {
35
+ }
36
+ export interface Main extends v.InferInput<typeof mainSchema> {
37
+ }
38
+ export {};
39
+ //# sourceMappingURL=orderedList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orderedList.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/orderedList.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,sBAAsB,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAClD,OAAO,KAAK,6BAA6B,MAAM,oBAAoB,CAAC;AAEpE,QAAA,MAAM,eAAe;;IAEpB;;OAEG;;;IAWH;;OAEG;;EAIF,CAAC;AACH,QAAA,MAAM,WAAW;;;IAKhB;;OAEG;;EAEF,CAAC;AAEH,KAAK,mBAAmB,GAAG,OAAO,eAAe,CAAC;AAClD,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,mBAAmB;CAAG;AAC9D,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,cAAc,gBAAoC,CAAC;AAChE,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC;CAAG;AACxE,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
@@ -0,0 +1,40 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ import * as PubLeafletBlocksHeader from './header.js';
3
+ import * as PubLeafletBlocksImage from './image.js';
4
+ import * as PubLeafletBlocksText from './text.js';
5
+ import * as PubLeafletBlocksUnorderedList from './unorderedList.js';
6
+ const _listItemSchema = /*#__PURE__*/ v.object({
7
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.orderedList#listItem')),
8
+ /**
9
+ * Nested ordered list items. Mutually exclusive with unorderedListChildren; if both are present, children takes precedence.
10
+ */
11
+ get children() {
12
+ return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(listItemSchema));
13
+ },
14
+ get content() {
15
+ return /*#__PURE__*/ v.variant([
16
+ PubLeafletBlocksHeader.mainSchema,
17
+ PubLeafletBlocksImage.mainSchema,
18
+ PubLeafletBlocksText.mainSchema,
19
+ ]);
20
+ },
21
+ /**
22
+ * A nested unordered list. Mutually exclusive with children; if both are present, children takes precedence.
23
+ */
24
+ get unorderedListChildren() {
25
+ return /*#__PURE__*/ v.optional(PubLeafletBlocksUnorderedList.mainSchema);
26
+ },
27
+ });
28
+ const _mainSchema = /*#__PURE__*/ v.object({
29
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.orderedList')),
30
+ get children() {
31
+ return /*#__PURE__*/ v.array(listItemSchema);
32
+ },
33
+ /**
34
+ * The starting number for this ordered list. Defaults to 1 if not specified.
35
+ */
36
+ startIndex: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
37
+ });
38
+ export const listItemSchema = _listItemSchema;
39
+ export const mainSchema = _mainSchema;
40
+ //# sourceMappingURL=orderedList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orderedList.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/orderedList.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,sBAAsB,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAClD,OAAO,KAAK,6BAA6B,MAAM,oBAAoB,CAAC;AAEpE,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACnG;;OAEG;IACH,IAAI,QAAQ,GAAG;QACd,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;IAAA,CACvE;IACD,IAAI,OAAO,GAAG;QACb,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;YAC9B,sBAAsB,CAAC,UAAU;YACjC,qBAAqB,CAAC,UAAU;YAChC,oBAAoB,CAAC,UAAU;SAC/B,CAAC,CAAC;IAAA,CACH;IACD;;OAEG;IACH,IAAI,qBAAqB,GAAG;QAC3B,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;IAAA,CAC1E;CACD,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC1F,IAAI,QAAQ,GAAG;QACd,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAAA,CAC7C;IACD;;OAEG;IACH,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CAC/D,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletRichtextFacet from '../richtext/facet.js';
2
+ import * as PubLeafletRichtextFacet from '../richtext/facet.ts';
3
3
  declare const _mainSchema: v.ObjectSchema<{
4
4
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.text">, undefined>;
5
5
  readonly facets: v.OptionalSchema<v.ArraySchema<PubLeafletRichtextFacet.mainSchema>, undefined>;
@@ -1,11 +1,19 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletBlocksHeader from './header.js';
3
- import * as PubLeafletBlocksImage from './image.js';
4
- import * as PubLeafletBlocksText from './text.js';
2
+ import * as PubLeafletBlocksHeader from './header.ts';
3
+ import * as PubLeafletBlocksImage from './image.ts';
4
+ import * as PubLeafletBlocksOrderedList from './orderedList.ts';
5
+ import * as PubLeafletBlocksText from './text.ts';
5
6
  declare const _listItemSchema: v.ObjectSchema<{
6
7
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.unorderedList#listItem">, undefined>;
8
+ /**
9
+ * Nested unordered list items. Mutually exclusive with orderedListChildren; if both are present, children takes precedence.
10
+ */
7
11
  readonly children: v.OptionalSchema<v.ArraySchema<listItemSchema>, undefined>;
8
12
  readonly content: v.VariantSchema<readonly [PubLeafletBlocksHeader.mainSchema, PubLeafletBlocksImage.mainSchema, PubLeafletBlocksText.mainSchema], boolean>;
13
+ /**
14
+ * Nested ordered list items. Mutually exclusive with children; if both are present, children takes precedence.
15
+ */
16
+ readonly orderedListChildren: v.OptionalSchema<PubLeafletBlocksOrderedList.mainSchema, undefined>;
9
17
  }>;
10
18
  declare const _mainSchema: v.ObjectSchema<{
11
19
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.unorderedList">, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"unorderedList.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/unorderedList.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,sBAAsB,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAElD,QAAA,MAAM,eAAe;;;;EAYnB,CAAC;AACH,QAAA,MAAM,WAAW;;;EAKf,CAAC;AAEH,KAAK,mBAAmB,GAAG,OAAO,eAAe,CAAC;AAClD,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,mBAAmB;CAAG;AAC9D,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,cAAc,gBAAoC,CAAC;AAChE,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC;CAAG;AACxE,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
1
+ {"version":3,"file":"unorderedList.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/unorderedList.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,sBAAsB,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,2BAA2B,MAAM,kBAAkB,CAAC;AAChE,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAElD,QAAA,MAAM,eAAe;;IAEpB;;OAEG;;;IAWH;;OAEG;;EAIF,CAAC;AACH,QAAA,MAAM,WAAW;;;EAKf,CAAC;AAEH,KAAK,mBAAmB,GAAG,OAAO,eAAe,CAAC;AAClD,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,mBAAmB;CAAG;AAC9D,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,cAAc,gBAAoC,CAAC;AAChE,eAAO,MAAM,UAAU,YAA4B,CAAC;AAEpD,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC;CAAG;AACxE,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
@@ -1,9 +1,13 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
2
  import * as PubLeafletBlocksHeader from './header.js';
3
3
  import * as PubLeafletBlocksImage from './image.js';
4
+ import * as PubLeafletBlocksOrderedList from './orderedList.js';
4
5
  import * as PubLeafletBlocksText from './text.js';
5
6
  const _listItemSchema = /*#__PURE__*/ v.object({
6
7
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.unorderedList#listItem')),
8
+ /**
9
+ * Nested unordered list items. Mutually exclusive with orderedListChildren; if both are present, children takes precedence.
10
+ */
7
11
  get children() {
8
12
  return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(listItemSchema));
9
13
  },
@@ -14,6 +18,12 @@ const _listItemSchema = /*#__PURE__*/ v.object({
14
18
  PubLeafletBlocksText.mainSchema,
15
19
  ]);
16
20
  },
21
+ /**
22
+ * Nested ordered list items. Mutually exclusive with children; if both are present, children takes precedence.
23
+ */
24
+ get orderedListChildren() {
25
+ return /*#__PURE__*/ v.optional(PubLeafletBlocksOrderedList.mainSchema);
26
+ },
17
27
  });
18
28
  const _mainSchema = /*#__PURE__*/ v.object({
19
29
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.unorderedList')),
@@ -1 +1 @@
1
- {"version":3,"file":"unorderedList.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/blocks/unorderedList.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,sBAAsB,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAElD,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,2CAA2C,CAAC,CAAC;IACrG,IAAI,QAAQ,GAAG;QACd,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;IAAA,CACvE;IACD,IAAI,OAAO,GAAG;QACb,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;YAC9B,sBAAsB,CAAC,UAAU;YACjC,qBAAqB,CAAC,UAAU;YAChC,oBAAoB,CAAC,UAAU;SAC/B,CAAC,CAAC;IAAA,CACH;CACD,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC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A2B,CAAC,UAAU,CAAC,CAAC;IAAA,CACxE;CACD,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC5F,IAAI,QAAQ,GAAG;QACd,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAAA,CAC7C;CACD,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js';
3
- import * as PubLeafletRichtextFacet from './richtext/facet.js';
2
+ import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts';
3
+ import * as PubLeafletRichtextFacet from './richtext/facet.ts';
4
4
  declare const _linearDocumentQuoteSchema: v.ObjectSchema<{
5
5
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.comment#linearDocumentQuote">, undefined>;
6
6
  document: v.FormattedStringSchema<"at-uri">;
@@ -1,6 +1,6 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletPagesCanvas from './pages/canvas.js';
3
- import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js';
2
+ import * as PubLeafletPagesCanvas from './pages/canvas.ts';
3
+ import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts';
4
4
  declare const _mainSchema: v.ObjectSchema<{
5
5
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.content">, undefined>;
6
6
  readonly pages: v.ArraySchema<v.VariantSchema<readonly [PubLeafletPagesCanvas.mainSchema, PubLeafletPagesLinearDocument.mainSchema], boolean>>;
@@ -1,8 +1,8 @@
1
1
  import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
2
2
  import * as v from '@atcute/lexicons/validations';
3
- import * as PubLeafletPagesCanvas from './pages/canvas.js';
4
- import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js';
5
- import * as PubLeafletPublication from './publication.js';
3
+ import * as PubLeafletPagesCanvas from './pages/canvas.ts';
4
+ import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts';
5
+ import * as PubLeafletPublication from './publication.ts';
6
6
  declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
7
7
  $type: v.LiteralSchema<"pub.leaflet.document">;
8
8
  author: v.FormattedStringSchema<"at-identifier">;
@@ -1,21 +1,22 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.js';
3
- import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.js';
4
- import * as PubLeafletBlocksButton from '../blocks/button.js';
5
- import * as PubLeafletBlocksCode from '../blocks/code.js';
6
- import * as PubLeafletBlocksHeader from '../blocks/header.js';
7
- import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js';
8
- import * as PubLeafletBlocksIframe from '../blocks/iframe.js';
9
- import * as PubLeafletBlocksImage from '../blocks/image.js';
10
- import * as PubLeafletBlocksMath from '../blocks/math.js';
11
- import * as PubLeafletBlocksPage from '../blocks/page.js';
12
- import * as PubLeafletBlocksPoll from '../blocks/poll.js';
13
- import * as PubLeafletBlocksText from '../blocks/text.js';
14
- import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.js';
15
- import * as PubLeafletBlocksWebsite from '../blocks/website.js';
2
+ import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.ts';
3
+ import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.ts';
4
+ import * as PubLeafletBlocksButton from '../blocks/button.ts';
5
+ import * as PubLeafletBlocksCode from '../blocks/code.ts';
6
+ import * as PubLeafletBlocksHeader from '../blocks/header.ts';
7
+ import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.ts';
8
+ import * as PubLeafletBlocksIframe from '../blocks/iframe.ts';
9
+ import * as PubLeafletBlocksImage from '../blocks/image.ts';
10
+ import * as PubLeafletBlocksMath from '../blocks/math.ts';
11
+ import * as PubLeafletBlocksOrderedList from '../blocks/orderedList.ts';
12
+ import * as PubLeafletBlocksPage from '../blocks/page.ts';
13
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
14
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
15
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
16
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
16
17
  declare const _blockSchema: v.ObjectSchema<{
17
18
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.pages.canvas#block">, undefined>;
18
- readonly block: v.VariantSchema<readonly [PubLeafletBlocksBlockquote.mainSchema, PubLeafletBlocksBskyPost.mainSchema, PubLeafletBlocksButton.mainSchema, PubLeafletBlocksCode.mainSchema, PubLeafletBlocksHeader.mainSchema, PubLeafletBlocksHorizontalRule.mainSchema, PubLeafletBlocksIframe.mainSchema, PubLeafletBlocksImage.mainSchema, PubLeafletBlocksMath.mainSchema, PubLeafletBlocksPage.mainSchema, PubLeafletBlocksPoll.mainSchema, PubLeafletBlocksText.mainSchema, PubLeafletBlocksUnorderedList.mainSchema, PubLeafletBlocksWebsite.mainSchema], boolean>;
19
+ readonly block: v.VariantSchema<readonly [PubLeafletBlocksBlockquote.mainSchema, PubLeafletBlocksBskyPost.mainSchema, PubLeafletBlocksButton.mainSchema, PubLeafletBlocksCode.mainSchema, PubLeafletBlocksHeader.mainSchema, PubLeafletBlocksHorizontalRule.mainSchema, PubLeafletBlocksIframe.mainSchema, PubLeafletBlocksImage.mainSchema, PubLeafletBlocksMath.mainSchema, PubLeafletBlocksOrderedList.mainSchema, PubLeafletBlocksPage.mainSchema, PubLeafletBlocksPoll.mainSchema, PubLeafletBlocksText.mainSchema, PubLeafletBlocksUnorderedList.mainSchema, PubLeafletBlocksWebsite.mainSchema], boolean>;
19
20
  height: v.OptionalSchema<v.IntegerSchema, undefined>;
20
21
  /**
21
22
  * The rotation of the block in degrees
@@ -1 +1 @@
1
- {"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/pages/canvas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,0BAA0B,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,wBAAwB,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,8BAA8B,MAAM,6BAA6B,CAAC;AAC9E,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,qBAAqB,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,6BAA6B,MAAM,4BAA4B,CAAC;AAC5E,OAAO,KAAK,uBAAuB,MAAM,sBAAsB,CAAC;AAEhE,QAAA,MAAM,YAAY;;;;IAqBjB;;OAEG;;;;;EAKF,CAAC;AACH,QAAA,MAAM,WAAW;;;;EAMf,CAAC;AACH,QAAA,MAAM,eAAe;;;;EAInB,CAAC;AACH,QAAA,MAAM,YAAY;;;;EAQhB,CAAC;AACH,QAAA,MAAM,sBAAsB,6DAAsE,CAAC;AACnG,QAAA,MAAM,oBAAoB,2DAAoE,CAAC;AAC/F,QAAA,MAAM,q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AK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAChE,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC;CAAG;AACxE,MAAM,WAAW,KAAM,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC;CAAG;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACzE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -8,6 +8,7 @@ import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js';
8
8
  import * as PubLeafletBlocksIframe from '../blocks/iframe.js';
9
9
  import * as PubLeafletBlocksImage from '../blocks/image.js';
10
10
  import * as PubLeafletBlocksMath from '../blocks/math.js';
11
+ import * as PubLeafletBlocksOrderedList from '../blocks/orderedList.js';
11
12
  import * as PubLeafletBlocksPage from '../blocks/page.js';
12
13
  import * as PubLeafletBlocksPoll from '../blocks/poll.js';
13
14
  import * as PubLeafletBlocksText from '../blocks/text.js';
@@ -26,6 +27,7 @@ const _blockSchema = /*#__PURE__*/ v.object({
26
27
  PubLeafletBlocksIframe.mainSchema,
27
28
  PubLeafletBlocksImage.mainSchema,
28
29
  PubLeafletBlocksMath.mainSchema,
30
+ PubLeafletBlocksOrderedList.mainSchema,
29
31
  PubLeafletBlocksPage.mainSchema,
30
32
  PubLeafletBlocksPoll.mainSchema,
31
33
  PubLeafletBlocksText.mainSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"canvas.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/pages/canvas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,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AC,gCAAgC,CAAC,CAAC;IAC1F,IAAI,GAAG,GAAG;QACT,OAAO,cAAc,CAAC;IAAA,CACtB;IACD,IAAI,KAAK,GAAG;QACX,OAAO,cAAc,CAAC;IAAA,CACtB;CACD,CAAC,CAAC;AACH,MAAM,sBAAsB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;AACnG,MAAM,oBAAoB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,wCAAwC,CAAC,CAAC;AAC/F,MAAM,qBAAqB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,yCAAyC,CAAC,CAAC;AAkBjG,MAAM,CAAC,MAAM,WAAW,GAAG,YAA2B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,WAAW,GAAG,YAA2B,CAAC;AACvD,MAAM,CAAC,MAAM,qBAAqB,GAAG,sBAA+C,CAAC;AACrF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAA2C,CAAC;AAC/E,MAAM,CAAC,MAAM,oBAAoB,GAAG,qBAA6C,CAAC"}
@@ -1,22 +1,23 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.js';
3
- import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.js';
4
- import * as PubLeafletBlocksButton from '../blocks/button.js';
5
- import * as PubLeafletBlocksCode from '../blocks/code.js';
6
- import * as PubLeafletBlocksHeader from '../blocks/header.js';
7
- import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js';
8
- import * as PubLeafletBlocksIframe from '../blocks/iframe.js';
9
- import * as PubLeafletBlocksImage from '../blocks/image.js';
10
- import * as PubLeafletBlocksMath from '../blocks/math.js';
11
- import * as PubLeafletBlocksPage from '../blocks/page.js';
12
- import * as PubLeafletBlocksPoll from '../blocks/poll.js';
13
- import * as PubLeafletBlocksText from '../blocks/text.js';
14
- import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.js';
15
- import * as PubLeafletBlocksWebsite from '../blocks/website.js';
2
+ import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.ts';
3
+ import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.ts';
4
+ import * as PubLeafletBlocksButton from '../blocks/button.ts';
5
+ import * as PubLeafletBlocksCode from '../blocks/code.ts';
6
+ import * as PubLeafletBlocksHeader from '../blocks/header.ts';
7
+ import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.ts';
8
+ import * as PubLeafletBlocksIframe from '../blocks/iframe.ts';
9
+ import * as PubLeafletBlocksImage from '../blocks/image.ts';
10
+ import * as PubLeafletBlocksMath from '../blocks/math.ts';
11
+ import * as PubLeafletBlocksOrderedList from '../blocks/orderedList.ts';
12
+ import * as PubLeafletBlocksPage from '../blocks/page.ts';
13
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
14
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
15
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
16
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
16
17
  declare const _blockSchema: v.ObjectSchema<{
17
18
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.pages.linearDocument#block">, undefined>;
18
19
  alignment: v.OptionalSchema<v.StringSchema<"#textAlignCenter" | "#textAlignJustify" | "#textAlignLeft" | "#textAlignRight" | (string & {})>, undefined>;
19
- readonly block: v.VariantSchema<readonly [PubLeafletBlocksBlockquote.mainSchema, PubLeafletBlocksBskyPost.mainSchema, PubLeafletBlocksButton.mainSchema, PubLeafletBlocksCode.mainSchema, PubLeafletBlocksHeader.mainSchema, PubLeafletBlocksHorizontalRule.mainSchema, PubLeafletBlocksIframe.mainSchema, PubLeafletBlocksImage.mainSchema, PubLeafletBlocksMath.mainSchema, PubLeafletBlocksPage.mainSchema, PubLeafletBlocksPoll.mainSchema, PubLeafletBlocksText.mainSchema, PubLeafletBlocksUnorderedList.mainSchema, PubLeafletBlocksWebsite.mainSchema], boolean>;
20
+ readonly block: v.VariantSchema<readonly [PubLeafletBlocksBlockquote.mainSchema, PubLeafletBlocksBskyPost.mainSchema, PubLeafletBlocksButton.mainSchema, PubLeafletBlocksCode.mainSchema, PubLeafletBlocksHeader.mainSchema, PubLeafletBlocksHorizontalRule.mainSchema, PubLeafletBlocksIframe.mainSchema, PubLeafletBlocksImage.mainSchema, PubLeafletBlocksMath.mainSchema, PubLeafletBlocksOrderedList.mainSchema, PubLeafletBlocksPage.mainSchema, PubLeafletBlocksPoll.mainSchema, PubLeafletBlocksText.mainSchema, PubLeafletBlocksUnorderedList.mainSchema, PubLeafletBlocksWebsite.mainSchema], boolean>;
20
21
  }>;
21
22
  declare const _mainSchema: v.ObjectSchema<{
22
23
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.pages.linearDocument">, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"linearDocument.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/pages/linearDocument.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,0BAA0B,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,wBAAwB,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,8BAA8B,MAAM,6BAA6B,CAAC;AAC9E,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,qBAAqB,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,oB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B,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC3E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -8,6 +8,7 @@ import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js';
8
8
  import * as PubLeafletBlocksIframe from '../blocks/iframe.js';
9
9
  import * as PubLeafletBlocksImage from '../blocks/image.js';
10
10
  import * as PubLeafletBlocksMath from '../blocks/math.js';
11
+ import * as PubLeafletBlocksOrderedList from '../blocks/orderedList.js';
11
12
  import * as PubLeafletBlocksPage from '../blocks/page.js';
12
13
  import * as PubLeafletBlocksPoll from '../blocks/poll.js';
13
14
  import * as PubLeafletBlocksText from '../blocks/text.js';
@@ -28,6 +29,7 @@ const _blockSchema = /*#__PURE__*/ v.object({
28
29
  PubLeafletBlocksIframe.mainSchema,
29
30
  PubLeafletBlocksImage.mainSchema,
30
31
  PubLeafletBlocksMath.mainSchema,
32
+ PubLeafletBlocksOrderedList.mainSchema,
31
33
  PubLeafletBlocksPage.mainSchema,
32
34
  PubLeafletBlocksPoll.mainSchema,
33
35
  PubLeafletBlocksText.mainSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"linearDocument.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/pub/leaflet/pages/linearDocument.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,0BAA0B,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,wBAAwB,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,sBAAsB,MAAM,qBAAqB,CAAC;AAC9D,O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CAAC,MAAM,WAAW,GAAG,YAA2B,CAAC;AACvD,MAAM,CAAC,MAAM,qBAAqB,GAAG,sBAA+C,CAAC;AACrF,MAAM,CAAC,MAAM,sBAAsB,GAAG,uBAAiD,CAAC;AACxF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAA2C,CAAC;AAC/E,MAAM,CAAC,MAAM,oBAAoB,GAAG,qBAA6C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
- import * as PubLeafletThemeBackgroundImage from './theme/backgroundImage.js';
3
- import * as PubLeafletThemeColor from './theme/color.js';
2
+ import * as PubLeafletThemeBackgroundImage from './theme/backgroundImage.ts';
3
+ import * as PubLeafletThemeColor from './theme/color.ts';
4
4
  declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
5
5
  $type: v.LiteralSchema<"pub.leaflet.publication">;
6
6
  base_path: v.OptionalSchema<v.StringSchema<string>, undefined>;
package/lib/index.ts CHANGED
@@ -1 +1 @@
1
- export * from './lexicons/index.js';
1
+ export * from './lexicons/index.ts';
@@ -1,27 +1,28 @@
1
- export * as PubLeafletBlocksBlockquote from './types/pub/leaflet/blocks/blockquote.js';
2
- export * as PubLeafletBlocksBskyPost from './types/pub/leaflet/blocks/bskyPost.js';
3
- export * as PubLeafletBlocksButton from './types/pub/leaflet/blocks/button.js';
4
- export * as PubLeafletBlocksCode from './types/pub/leaflet/blocks/code.js';
5
- export * as PubLeafletBlocksHeader from './types/pub/leaflet/blocks/header.js';
6
- export * as PubLeafletBlocksHorizontalRule from './types/pub/leaflet/blocks/horizontalRule.js';
7
- export * as PubLeafletBlocksIframe from './types/pub/leaflet/blocks/iframe.js';
8
- export * as PubLeafletBlocksImage from './types/pub/leaflet/blocks/image.js';
9
- export * as PubLeafletBlocksMath from './types/pub/leaflet/blocks/math.js';
10
- export * as PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.js';
11
- export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.js';
12
- export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.js';
13
- export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.js';
14
- export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.js';
15
- export * as PubLeafletComment from './types/pub/leaflet/comment.js';
16
- export * as PubLeafletContent from './types/pub/leaflet/content.js';
17
- export * as PubLeafletDocument from './types/pub/leaflet/document.js';
18
- export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.js';
19
- export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.js';
20
- export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.js';
21
- export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.js';
22
- export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.js';
23
- export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.js';
24
- export * as PubLeafletPublication from './types/pub/leaflet/publication.js';
25
- export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.js';
26
- export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.js';
27
- export * as PubLeafletThemeColor from './types/pub/leaflet/theme/color.js';
1
+ export * as PubLeafletBlocksBlockquote from './types/pub/leaflet/blocks/blockquote.ts';
2
+ export * as PubLeafletBlocksBskyPost from './types/pub/leaflet/blocks/bskyPost.ts';
3
+ export * as PubLeafletBlocksButton from './types/pub/leaflet/blocks/button.ts';
4
+ export * as PubLeafletBlocksCode from './types/pub/leaflet/blocks/code.ts';
5
+ export * as PubLeafletBlocksHeader from './types/pub/leaflet/blocks/header.ts';
6
+ export * as PubLeafletBlocksHorizontalRule from './types/pub/leaflet/blocks/horizontalRule.ts';
7
+ export * as PubLeafletBlocksIframe from './types/pub/leaflet/blocks/iframe.ts';
8
+ export * as PubLeafletBlocksImage from './types/pub/leaflet/blocks/image.ts';
9
+ export * as PubLeafletBlocksMath from './types/pub/leaflet/blocks/math.ts';
10
+ export * as PubLeafletBlocksOrderedList from './types/pub/leaflet/blocks/orderedList.ts';
11
+ export * as PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.ts';
12
+ export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.ts';
13
+ export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.ts';
14
+ export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.ts';
15
+ export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.ts';
16
+ export * as PubLeafletComment from './types/pub/leaflet/comment.ts';
17
+ export * as PubLeafletContent from './types/pub/leaflet/content.ts';
18
+ export * as PubLeafletDocument from './types/pub/leaflet/document.ts';
19
+ export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.ts';
20
+ export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.ts';
21
+ export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.ts';
22
+ export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.ts';
23
+ export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.ts';
24
+ export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.ts';
25
+ export * as PubLeafletPublication from './types/pub/leaflet/publication.ts';
26
+ export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.ts';
27
+ export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.ts';
28
+ export * as PubLeafletThemeColor from './types/pub/leaflet/theme/color.ts';
@@ -1,7 +1,7 @@
1
1
  import type {} from '@atcute/lexicons';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
 
4
- import * as PubLeafletRichtextFacet from '../richtext/facet.js';
4
+ import * as PubLeafletRichtextFacet from '../richtext/facet.ts';
5
5
 
6
6
  const _mainSchema = /*#__PURE__*/ v.object({
7
7
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.blockquote')),
@@ -4,6 +4,7 @@ import * as v from '@atcute/lexicons/validations';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.object({
6
6
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.bskyPost')),
7
+ clientHost: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
7
8
  get postRef() {
8
9
  return ComAtprotoRepoStrongRef.mainSchema;
9
10
  },
@@ -1,7 +1,7 @@
1
1
  import type {} from '@atcute/lexicons';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
 
4
- import * as PubLeafletRichtextFacet from '../richtext/facet.js';
4
+ import * as PubLeafletRichtextFacet from '../richtext/facet.ts';
5
5
 
6
6
  const _mainSchema = /*#__PURE__*/ v.object({
7
7
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.header')),
@@ -0,0 +1,52 @@
1
+ import type {} from '@atcute/lexicons';
2
+ import * as v from '@atcute/lexicons/validations';
3
+
4
+ import * as PubLeafletBlocksHeader from './header.ts';
5
+ import * as PubLeafletBlocksImage from './image.ts';
6
+ import * as PubLeafletBlocksText from './text.ts';
7
+ import * as PubLeafletBlocksUnorderedList from './unorderedList.ts';
8
+
9
+ const _listItemSchema = /*#__PURE__*/ v.object({
10
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.orderedList#listItem')),
11
+ /**
12
+ * Nested ordered list items. Mutually exclusive with unorderedListChildren; if both are present, children takes precedence.
13
+ */
14
+ get children() {
15
+ return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(listItemSchema));
16
+ },
17
+ get content() {
18
+ return /*#__PURE__*/ v.variant([
19
+ PubLeafletBlocksHeader.mainSchema,
20
+ PubLeafletBlocksImage.mainSchema,
21
+ PubLeafletBlocksText.mainSchema,
22
+ ]);
23
+ },
24
+ /**
25
+ * A nested unordered list. Mutually exclusive with children; if both are present, children takes precedence.
26
+ */
27
+ get unorderedListChildren() {
28
+ return /*#__PURE__*/ v.optional(PubLeafletBlocksUnorderedList.mainSchema);
29
+ },
30
+ });
31
+ const _mainSchema = /*#__PURE__*/ v.object({
32
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.orderedList')),
33
+ get children() {
34
+ return /*#__PURE__*/ v.array(listItemSchema);
35
+ },
36
+ /**
37
+ * The starting number for this ordered list. Defaults to 1 if not specified.
38
+ */
39
+ startIndex: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
40
+ });
41
+
42
+ type listItem$schematype = typeof _listItemSchema;
43
+ type main$schematype = typeof _mainSchema;
44
+
45
+ export interface listItemSchema extends listItem$schematype {}
46
+ export interface mainSchema extends main$schematype {}
47
+
48
+ export const listItemSchema = _listItemSchema as listItemSchema;
49
+ export const mainSchema = _mainSchema as mainSchema;
50
+
51
+ export interface ListItem extends v.InferInput<typeof listItemSchema> {}
52
+ export interface Main extends v.InferInput<typeof mainSchema> {}
@@ -1,7 +1,7 @@
1
1
  import type {} from '@atcute/lexicons';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
 
4
- import * as PubLeafletRichtextFacet from '../richtext/facet.js';
4
+ import * as PubLeafletRichtextFacet from '../richtext/facet.ts';
5
5
 
6
6
  const _mainSchema = /*#__PURE__*/ v.object({
7
7
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.text')),
@@ -1,12 +1,16 @@
1
1
  import type {} from '@atcute/lexicons';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
 
4
- import * as PubLeafletBlocksHeader from './header.js';
5
- import * as PubLeafletBlocksImage from './image.js';
6
- import * as PubLeafletBlocksText from './text.js';
4
+ import * as PubLeafletBlocksHeader from './header.ts';
5
+ import * as PubLeafletBlocksImage from './image.ts';
6
+ import * as PubLeafletBlocksOrderedList from './orderedList.ts';
7
+ import * as PubLeafletBlocksText from './text.ts';
7
8
 
8
9
  const _listItemSchema = /*#__PURE__*/ v.object({
9
10
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.unorderedList#listItem')),
11
+ /**
12
+ * Nested unordered list items. Mutually exclusive with orderedListChildren; if both are present, children takes precedence.
13
+ */
10
14
  get children() {
11
15
  return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(listItemSchema));
12
16
  },
@@ -17,6 +21,12 @@ const _listItemSchema = /*#__PURE__*/ v.object({
17
21
  PubLeafletBlocksText.mainSchema,
18
22
  ]);
19
23
  },
24
+ /**
25
+ * Nested ordered list items. Mutually exclusive with children; if both are present, children takes precedence.
26
+ */
27
+ get orderedListChildren() {
28
+ return /*#__PURE__*/ v.optional(PubLeafletBlocksOrderedList.mainSchema);
29
+ },
20
30
  });
21
31
  const _mainSchema = /*#__PURE__*/ v.object({
22
32
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.unorderedList')),
@@ -2,8 +2,8 @@ import type {} from '@atcute/lexicons';
2
2
  import type {} from '@atcute/lexicons/ambient';
3
3
  import * as v from '@atcute/lexicons/validations';
4
4
 
5
- import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js';
6
- import * as PubLeafletRichtextFacet from './richtext/facet.js';
5
+ import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts';
6
+ import * as PubLeafletRichtextFacet from './richtext/facet.ts';
7
7
 
8
8
  const _linearDocumentQuoteSchema = /*#__PURE__*/ v.object({
9
9
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.comment#linearDocumentQuote')),
@@ -1,8 +1,8 @@
1
1
  import type {} from '@atcute/lexicons';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
 
4
- import * as PubLeafletPagesCanvas from './pages/canvas.js';
5
- import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js';
4
+ import * as PubLeafletPagesCanvas from './pages/canvas.ts';
5
+ import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts';
6
6
 
7
7
  const _mainSchema = /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.content')),
@@ -3,9 +3,9 @@ import type {} from '@atcute/lexicons';
3
3
  import type {} from '@atcute/lexicons/ambient';
4
4
  import * as v from '@atcute/lexicons/validations';
5
5
 
6
- import * as PubLeafletPagesCanvas from './pages/canvas.js';
7
- import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js';
8
- import * as PubLeafletPublication from './publication.js';
6
+ import * as PubLeafletPagesCanvas from './pages/canvas.ts';
7
+ import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts';
8
+ import * as PubLeafletPublication from './publication.ts';
9
9
 
10
10
  const _mainSchema = /*#__PURE__*/ v.record(
11
11
  /*#__PURE__*/ v.tidString(),
@@ -1,20 +1,21 @@
1
1
  import type {} from '@atcute/lexicons';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
 
4
- import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.js';
5
- import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.js';
6
- import * as PubLeafletBlocksButton from '../blocks/button.js';
7
- import * as PubLeafletBlocksCode from '../blocks/code.js';
8
- import * as PubLeafletBlocksHeader from '../blocks/header.js';
9
- import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js';
10
- import * as PubLeafletBlocksIframe from '../blocks/iframe.js';
11
- import * as PubLeafletBlocksImage from '../blocks/image.js';
12
- import * as PubLeafletBlocksMath from '../blocks/math.js';
13
- import * as PubLeafletBlocksPage from '../blocks/page.js';
14
- import * as PubLeafletBlocksPoll from '../blocks/poll.js';
15
- import * as PubLeafletBlocksText from '../blocks/text.js';
16
- import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.js';
17
- import * as PubLeafletBlocksWebsite from '../blocks/website.js';
4
+ import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.ts';
5
+ import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.ts';
6
+ import * as PubLeafletBlocksButton from '../blocks/button.ts';
7
+ import * as PubLeafletBlocksCode from '../blocks/code.ts';
8
+ import * as PubLeafletBlocksHeader from '../blocks/header.ts';
9
+ import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.ts';
10
+ import * as PubLeafletBlocksIframe from '../blocks/iframe.ts';
11
+ import * as PubLeafletBlocksImage from '../blocks/image.ts';
12
+ import * as PubLeafletBlocksMath from '../blocks/math.ts';
13
+ import * as PubLeafletBlocksOrderedList from '../blocks/orderedList.ts';
14
+ import * as PubLeafletBlocksPage from '../blocks/page.ts';
15
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
16
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
17
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
18
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
18
19
 
19
20
  const _blockSchema = /*#__PURE__*/ v.object({
20
21
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.pages.canvas#block')),
@@ -29,6 +30,7 @@ const _blockSchema = /*#__PURE__*/ v.object({
29
30
  PubLeafletBlocksIframe.mainSchema,
30
31
  PubLeafletBlocksImage.mainSchema,
31
32
  PubLeafletBlocksMath.mainSchema,
33
+ PubLeafletBlocksOrderedList.mainSchema,
32
34
  PubLeafletBlocksPage.mainSchema,
33
35
  PubLeafletBlocksPoll.mainSchema,
34
36
  PubLeafletBlocksText.mainSchema,
@@ -1,20 +1,21 @@
1
1
  import type {} from '@atcute/lexicons';
2
2
  import * as v from '@atcute/lexicons/validations';
3
3
 
4
- import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.js';
5
- import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.js';
6
- import * as PubLeafletBlocksButton from '../blocks/button.js';
7
- import * as PubLeafletBlocksCode from '../blocks/code.js';
8
- import * as PubLeafletBlocksHeader from '../blocks/header.js';
9
- import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js';
10
- import * as PubLeafletBlocksIframe from '../blocks/iframe.js';
11
- import * as PubLeafletBlocksImage from '../blocks/image.js';
12
- import * as PubLeafletBlocksMath from '../blocks/math.js';
13
- import * as PubLeafletBlocksPage from '../blocks/page.js';
14
- import * as PubLeafletBlocksPoll from '../blocks/poll.js';
15
- import * as PubLeafletBlocksText from '../blocks/text.js';
16
- import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.js';
17
- import * as PubLeafletBlocksWebsite from '../blocks/website.js';
4
+ import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.ts';
5
+ import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.ts';
6
+ import * as PubLeafletBlocksButton from '../blocks/button.ts';
7
+ import * as PubLeafletBlocksCode from '../blocks/code.ts';
8
+ import * as PubLeafletBlocksHeader from '../blocks/header.ts';
9
+ import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.ts';
10
+ import * as PubLeafletBlocksIframe from '../blocks/iframe.ts';
11
+ import * as PubLeafletBlocksImage from '../blocks/image.ts';
12
+ import * as PubLeafletBlocksMath from '../blocks/math.ts';
13
+ import * as PubLeafletBlocksOrderedList from '../blocks/orderedList.ts';
14
+ import * as PubLeafletBlocksPage from '../blocks/page.ts';
15
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
16
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
17
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
18
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
18
19
 
19
20
  const _blockSchema = /*#__PURE__*/ v.object({
20
21
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.pages.linearDocument#block')),
@@ -34,6 +35,7 @@ const _blockSchema = /*#__PURE__*/ v.object({
34
35
  PubLeafletBlocksIframe.mainSchema,
35
36
  PubLeafletBlocksImage.mainSchema,
36
37
  PubLeafletBlocksMath.mainSchema,
38
+ PubLeafletBlocksOrderedList.mainSchema,
37
39
  PubLeafletBlocksPage.mainSchema,
38
40
  PubLeafletBlocksPoll.mainSchema,
39
41
  PubLeafletBlocksText.mainSchema,
@@ -2,8 +2,8 @@ import type {} from '@atcute/lexicons';
2
2
  import type {} from '@atcute/lexicons/ambient';
3
3
  import * as v from '@atcute/lexicons/validations';
4
4
 
5
- import * as PubLeafletThemeBackgroundImage from './theme/backgroundImage.js';
6
- import * as PubLeafletThemeColor from './theme/color.js';
5
+ import * as PubLeafletThemeBackgroundImage from './theme/backgroundImage.ts';
6
+ import * as PubLeafletThemeColor from './theme/color.ts';
7
7
 
8
8
  const _mainSchema = /*#__PURE__*/ v.record(
9
9
  /*#__PURE__*/ v.tidString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atcute/leaflet",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "Leaflet (pub.leaflet.*) schema definitions",
5
5
  "keywords": [
6
6
  "atcute",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@atcute/atproto": "^3.1.10",
31
- "@atcute/lexicons": "^1.2.7"
31
+ "@atcute/lexicons": "^1.2.9"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@atcute/leaflet": "file:",