@atcute/leaflet 1.0.18 → 1.0.19

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 (30) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/lexicons/index.d.ts +27 -27
  3. package/dist/lexicons/types/pub/leaflet/blocks/blockquote.d.ts +1 -1
  4. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.d.ts +1 -0
  5. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.d.ts.map +1 -1
  6. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.js +1 -0
  7. package/dist/lexicons/types/pub/leaflet/blocks/bskyPost.js.map +1 -1
  8. package/dist/lexicons/types/pub/leaflet/blocks/header.d.ts +1 -1
  9. package/dist/lexicons/types/pub/leaflet/blocks/text.d.ts +1 -1
  10. package/dist/lexicons/types/pub/leaflet/blocks/unorderedList.d.ts +3 -3
  11. package/dist/lexicons/types/pub/leaflet/comment.d.ts +2 -2
  12. package/dist/lexicons/types/pub/leaflet/content.d.ts +2 -2
  13. package/dist/lexicons/types/pub/leaflet/document.d.ts +3 -3
  14. package/dist/lexicons/types/pub/leaflet/pages/canvas.d.ts +14 -14
  15. package/dist/lexicons/types/pub/leaflet/pages/linearDocument.d.ts +14 -14
  16. package/dist/lexicons/types/pub/leaflet/publication.d.ts +2 -2
  17. package/lib/index.ts +1 -1
  18. package/lib/lexicons/index.ts +27 -27
  19. package/lib/lexicons/types/pub/leaflet/blocks/blockquote.ts +1 -1
  20. package/lib/lexicons/types/pub/leaflet/blocks/bskyPost.ts +1 -0
  21. package/lib/lexicons/types/pub/leaflet/blocks/header.ts +1 -1
  22. package/lib/lexicons/types/pub/leaflet/blocks/text.ts +1 -1
  23. package/lib/lexicons/types/pub/leaflet/blocks/unorderedList.ts +3 -3
  24. package/lib/lexicons/types/pub/leaflet/comment.ts +2 -2
  25. package/lib/lexicons/types/pub/leaflet/content.ts +2 -2
  26. package/lib/lexicons/types/pub/leaflet/document.ts +3 -3
  27. package/lib/lexicons/types/pub/leaflet/pages/canvas.ts +14 -14
  28. package/lib/lexicons/types/pub/leaflet/pages/linearDocument.ts +14 -14
  29. package/lib/lexicons/types/pub/leaflet/publication.ts +2 -2
  30. 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,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 PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.ts';
11
+ export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.ts';
12
+ export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.ts';
13
+ export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.ts';
14
+ export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.ts';
15
+ export * as PubLeafletComment from './types/pub/leaflet/comment.ts';
16
+ export * as PubLeafletContent from './types/pub/leaflet/content.ts';
17
+ export * as PubLeafletDocument from './types/pub/leaflet/document.ts';
18
+ export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.ts';
19
+ export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.ts';
20
+ export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.ts';
21
+ export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.ts';
22
+ export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.ts';
23
+ export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.ts';
24
+ export * as PubLeafletPublication from './types/pub/leaflet/publication.ts';
25
+ export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.ts';
26
+ export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.ts';
27
+ export * as PubLeafletThemeColor from './types/pub/leaflet/theme/color.ts';
28
28
  //# sourceMappingURL=index.d.ts.map
@@ -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.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>;
@@ -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,7 +1,7 @@
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 PubLeafletBlocksText from './text.ts';
5
5
  declare const _listItemSchema: v.ObjectSchema<{
6
6
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.blocks.unorderedList#listItem">, undefined>;
7
7
  readonly children: v.OptionalSchema<v.ArraySchema<listItemSchema>, undefined>;
@@ -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,18 +1,18 @@
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 PubLeafletBlocksPage from '../blocks/page.ts';
12
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
13
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
14
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
15
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
16
16
  declare const _blockSchema: v.ObjectSchema<{
17
17
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.pages.canvas#block">, undefined>;
18
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>;
@@ -1,18 +1,18 @@
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 PubLeafletBlocksPage from '../blocks/page.ts';
12
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
13
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
14
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
15
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
16
16
  declare const _blockSchema: v.ObjectSchema<{
17
17
  $type: v.OptionalSchema<v.LiteralSchema<"pub.leaflet.pages.linearDocument#block">, undefined>;
18
18
  alignment: v.OptionalSchema<v.StringSchema<"#textAlignCenter" | "#textAlignJustify" | "#textAlignLeft" | "#textAlignRight" | (string & {})>, undefined>;
@@ -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,27 @@
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 PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.ts';
11
+ export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.ts';
12
+ export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.ts';
13
+ export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.ts';
14
+ export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.ts';
15
+ export * as PubLeafletComment from './types/pub/leaflet/comment.ts';
16
+ export * as PubLeafletContent from './types/pub/leaflet/content.ts';
17
+ export * as PubLeafletDocument from './types/pub/leaflet/document.ts';
18
+ export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.ts';
19
+ export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.ts';
20
+ export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.ts';
21
+ export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.ts';
22
+ export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.ts';
23
+ export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.ts';
24
+ export * as PubLeafletPublication from './types/pub/leaflet/publication.ts';
25
+ export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.ts';
26
+ export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.ts';
27
+ 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')),
@@ -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,9 +1,9 @@
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 PubLeafletBlocksText from './text.ts';
7
7
 
8
8
  const _listItemSchema = /*#__PURE__*/ v.object({
9
9
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.unorderedList#listItem')),
@@ -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,20 @@
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 PubLeafletBlocksPage from '../blocks/page.ts';
14
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
15
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
16
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
17
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
18
18
 
19
19
  const _blockSchema = /*#__PURE__*/ v.object({
20
20
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.pages.canvas#block')),
@@ -1,20 +1,20 @@
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 PubLeafletBlocksPage from '../blocks/page.ts';
14
+ import * as PubLeafletBlocksPoll from '../blocks/poll.ts';
15
+ import * as PubLeafletBlocksText from '../blocks/text.ts';
16
+ import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts';
17
+ import * as PubLeafletBlocksWebsite from '../blocks/website.ts';
18
18
 
19
19
  const _blockSchema = /*#__PURE__*/ v.object({
20
20
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.pages.linearDocument#block')),
@@ -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.19",
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:",