@pkcprotocol/pkc-js 0.0.114 → 0.0.115

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 (143) hide show
  1. package/dist/browser/challenges.d.ts +1 -0
  2. package/dist/browser/challenges.js +1 -1
  3. package/dist/browser/challenges.js.map +1 -1
  4. package/dist/browser/clients/base-client-manager.js +25 -2
  5. package/dist/browser/clients/base-client-manager.js.map +1 -1
  6. package/dist/browser/clients/rpc-client/rpc-schema-util.d.ts +2 -2
  7. package/dist/browser/clients/rpc-client/schema.d.ts +7 -7
  8. package/dist/browser/community/schema.d.ts +72 -72
  9. package/dist/browser/constants.d.ts +2 -1
  10. package/dist/browser/constants.js +3 -0
  11. package/dist/browser/constants.js.map +1 -1
  12. package/dist/browser/errors.d.ts +1 -0
  13. package/dist/browser/errors.js +1 -0
  14. package/dist/browser/errors.js.map +1 -1
  15. package/dist/browser/generated-version.d.ts +1 -1
  16. package/dist/browser/generated-version.js +1 -1
  17. package/dist/browser/index-with-compile-cache.d.ts +4 -4
  18. package/dist/browser/index.d.ts +8 -8
  19. package/dist/browser/page-sorts.d.ts +2 -0
  20. package/dist/browser/page-sorts.js +2 -0
  21. package/dist/browser/page-sorts.js.map +1 -0
  22. package/dist/browser/pages/schema.d.ts +17 -17
  23. package/dist/browser/pkc-error.d.ts +1 -1
  24. package/dist/browser/publications/comment/schema.d.ts +18 -18
  25. package/dist/browser/publications/comment-edit/schema.d.ts +5 -5
  26. package/dist/browser/publications/comment-moderation/schema.d.ts +4 -4
  27. package/dist/browser/publications/community-edit/schema.d.ts +4 -4
  28. package/dist/browser/pubsub-messages/schema.d.ts +9 -9
  29. package/dist/browser/rpc/src/index.d.ts +2 -0
  30. package/dist/browser/rpc/src/index.js +22 -0
  31. package/dist/browser/rpc/src/index.js.map +1 -1
  32. package/dist/browser/rpc/src/lib/pkc-js/index.d.ts +4 -4
  33. package/dist/browser/rpc/src/lib/pkc-js/index.js +3 -1
  34. package/dist/browser/rpc/src/lib/pkc-js/index.js.map +1 -1
  35. package/dist/browser/rpc/src/schema.d.ts +30 -30
  36. package/dist/browser/runtime/node/community/db-handler.d.ts +6 -0
  37. package/dist/browser/runtime/node/community/db-handler.js +32 -0
  38. package/dist/browser/runtime/node/community/db-handler.js.map +1 -1
  39. package/dist/browser/runtime/node/community/local-community/challenges.js +0 -2
  40. package/dist/browser/runtime/node/community/local-community/challenges.js.map +1 -1
  41. package/dist/browser/runtime/node/community/local-community/editing.d.ts +2 -1
  42. package/dist/browser/runtime/node/community/local-community/editing.js +10 -7
  43. package/dist/browser/runtime/node/community/local-community/editing.js.map +1 -1
  44. package/dist/browser/runtime/node/community/local-community/ipns-publishing.js +3 -0
  45. package/dist/browser/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
  46. package/dist/browser/runtime/node/community/local-community/lifecycle.js +7 -3
  47. package/dist/browser/runtime/node/community/local-community/lifecycle.js.map +1 -1
  48. package/dist/browser/runtime/node/community/local-community/publication-store.js +23 -23
  49. package/dist/browser/runtime/node/community/local-community/publication-store.js.map +1 -1
  50. package/dist/browser/runtime/node/community/local-community/registry-sync.d.ts +7 -0
  51. package/dist/browser/runtime/node/community/local-community/registry-sync.js +80 -0
  52. package/dist/browser/runtime/node/community/local-community/registry-sync.js.map +1 -0
  53. package/dist/browser/runtime/node/community/local-community.d.ts +2 -1
  54. package/dist/browser/runtime/node/community/local-community.js +3 -0
  55. package/dist/browser/runtime/node/community/local-community.js.map +1 -1
  56. package/dist/browser/runtime/node/community/page-sorts/index.d.ts +9 -0
  57. package/dist/browser/runtime/node/community/page-sorts/index.js +64 -6
  58. package/dist/browser/runtime/node/community/page-sorts/index.js.map +1 -1
  59. package/dist/browser/schema/schema-util.d.ts +12 -12
  60. package/dist/browser/schema.d.ts +32 -32
  61. package/dist/browser/test/test-util.d.ts +30 -30
  62. package/dist/browser/validate-package-factories.d.ts +7 -0
  63. package/dist/browser/validate-package-factories.js +37 -0
  64. package/dist/browser/validate-package-factories.js.map +1 -0
  65. package/dist/bundled/bundle-manifest.json +80 -45
  66. package/dist/bundled/challenges.js +2 -1
  67. package/dist/bundled/chunks/{helia-for-pkc-hSpmyI9D.js → helia-for-pkc-BB8P6KYw.js} +2 -2
  68. package/dist/bundled/chunks/{local-community-EeQMdfYM.js → local-community-XrLSKipf.js} +135 -35
  69. package/dist/bundled/chunks/{local-community-Dc_fNPrx.js → local-community-wAvG_J_u.js} +1 -1
  70. package/dist/bundled/chunks/{node-apYZl3B3.js → node-D5riLTOu.js} +5 -5
  71. package/dist/bundled/chunks/page-sort-scoring-3svUUHW_.js +112 -0
  72. package/dist/bundled/chunks/{rpc-local-community-C_0FRCqg.js → rpc-local-community-D5ZdqFYc.js} +80 -124
  73. package/dist/bundled/chunks/{util-DFGl6QDd.js → util-CabVOL7E.js} +2 -1
  74. package/dist/bundled/chunks/{util-B2SuJZg-.js → util-Cnpgfqwn.js} +1 -1
  75. package/dist/bundled/chunks/validate-package-factories-CxIg67oP.js +41 -0
  76. package/dist/bundled/index.js +1 -1
  77. package/dist/bundled/page-sorts.js +2 -0
  78. package/dist/bundled/rpc/src/index.js +17 -4
  79. package/dist/node/challenges.d.ts +1 -0
  80. package/dist/node/challenges.js +1 -1
  81. package/dist/node/challenges.js.map +1 -1
  82. package/dist/node/clients/base-client-manager.js +25 -2
  83. package/dist/node/clients/base-client-manager.js.map +1 -1
  84. package/dist/node/clients/rpc-client/rpc-schema-util.d.ts +2 -2
  85. package/dist/node/clients/rpc-client/schema.d.ts +7 -7
  86. package/dist/node/community/schema.d.ts +72 -72
  87. package/dist/node/constants.d.ts +2 -1
  88. package/dist/node/constants.js +3 -0
  89. package/dist/node/constants.js.map +1 -1
  90. package/dist/node/errors.d.ts +1 -0
  91. package/dist/node/errors.js +1 -0
  92. package/dist/node/errors.js.map +1 -1
  93. package/dist/node/generated-version.d.ts +1 -1
  94. package/dist/node/generated-version.js +1 -1
  95. package/dist/node/index-with-compile-cache.d.ts +4 -4
  96. package/dist/node/index.d.ts +8 -8
  97. package/dist/node/page-sorts.d.ts +2 -0
  98. package/dist/node/page-sorts.js +2 -0
  99. package/dist/node/page-sorts.js.map +1 -0
  100. package/dist/node/pages/schema.d.ts +17 -17
  101. package/dist/node/pkc-error.d.ts +1 -1
  102. package/dist/node/publications/comment/schema.d.ts +18 -18
  103. package/dist/node/publications/comment-edit/schema.d.ts +5 -5
  104. package/dist/node/publications/comment-moderation/schema.d.ts +4 -4
  105. package/dist/node/publications/community-edit/schema.d.ts +4 -4
  106. package/dist/node/pubsub-messages/schema.d.ts +9 -9
  107. package/dist/node/rpc/src/index.d.ts +2 -0
  108. package/dist/node/rpc/src/index.js +22 -0
  109. package/dist/node/rpc/src/index.js.map +1 -1
  110. package/dist/node/rpc/src/lib/pkc-js/index.d.ts +4 -4
  111. package/dist/node/rpc/src/lib/pkc-js/index.js +3 -1
  112. package/dist/node/rpc/src/lib/pkc-js/index.js.map +1 -1
  113. package/dist/node/rpc/src/schema.d.ts +30 -30
  114. package/dist/node/runtime/node/community/db-handler.d.ts +6 -0
  115. package/dist/node/runtime/node/community/db-handler.js +32 -0
  116. package/dist/node/runtime/node/community/db-handler.js.map +1 -1
  117. package/dist/node/runtime/node/community/local-community/challenges.js +0 -2
  118. package/dist/node/runtime/node/community/local-community/challenges.js.map +1 -1
  119. package/dist/node/runtime/node/community/local-community/editing.d.ts +2 -1
  120. package/dist/node/runtime/node/community/local-community/editing.js +10 -7
  121. package/dist/node/runtime/node/community/local-community/editing.js.map +1 -1
  122. package/dist/node/runtime/node/community/local-community/ipns-publishing.js +3 -0
  123. package/dist/node/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
  124. package/dist/node/runtime/node/community/local-community/lifecycle.js +7 -3
  125. package/dist/node/runtime/node/community/local-community/lifecycle.js.map +1 -1
  126. package/dist/node/runtime/node/community/local-community/publication-store.js +23 -23
  127. package/dist/node/runtime/node/community/local-community/publication-store.js.map +1 -1
  128. package/dist/node/runtime/node/community/local-community/registry-sync.d.ts +7 -0
  129. package/dist/node/runtime/node/community/local-community/registry-sync.js +80 -0
  130. package/dist/node/runtime/node/community/local-community/registry-sync.js.map +1 -0
  131. package/dist/node/runtime/node/community/local-community.d.ts +2 -1
  132. package/dist/node/runtime/node/community/local-community.js +3 -0
  133. package/dist/node/runtime/node/community/local-community.js.map +1 -1
  134. package/dist/node/runtime/node/community/page-sorts/index.d.ts +9 -0
  135. package/dist/node/runtime/node/community/page-sorts/index.js +64 -6
  136. package/dist/node/runtime/node/community/page-sorts/index.js.map +1 -1
  137. package/dist/node/schema/schema-util.d.ts +12 -12
  138. package/dist/node/schema.d.ts +32 -32
  139. package/dist/node/test/test-util.d.ts +30 -30
  140. package/dist/node/validate-package-factories.d.ts +7 -0
  141. package/dist/node/validate-package-factories.js +37 -0
  142. package/dist/node/validate-package-factories.js.map +1 -0
  143. package/package.json +6 -1
@@ -38,6 +38,7 @@ export declare function parseModQueuePageIpfsSchemaWithPKCErrorIfItFails(modQueu
38
38
  };
39
39
  protocolVersion: string;
40
40
  depth: number;
41
+ link?: string | undefined;
41
42
  flairs?: {
42
43
  [x: string]: unknown;
43
44
  text: string;
@@ -47,7 +48,6 @@ export declare function parseModQueuePageIpfsSchemaWithPKCErrorIfItFails(modQueu
47
48
  }[] | undefined;
48
49
  communityPublicKey?: string | undefined;
49
50
  communityName?: string | undefined;
50
- link?: string | undefined;
51
51
  spoiler?: boolean | undefined;
52
52
  nsfw?: boolean | undefined;
53
53
  content?: string | undefined;
@@ -212,6 +212,7 @@ export declare function parseRpcRemoteCommunityUpdateEventWithPKCErrorIfItFails(
212
212
  };
213
213
  protocolVersion: string;
214
214
  depth: number;
215
+ link?: string | undefined;
215
216
  flairs?: {
216
217
  [x: string]: unknown;
217
218
  text: string;
@@ -221,7 +222,6 @@ export declare function parseRpcRemoteCommunityUpdateEventWithPKCErrorIfItFails(
221
222
  }[] | undefined;
222
223
  communityPublicKey?: string | undefined;
223
224
  communityName?: string | undefined;
224
- link?: string | undefined;
225
225
  spoiler?: boolean | undefined;
226
226
  nsfw?: boolean | undefined;
227
227
  content?: string | undefined;
@@ -502,8 +502,8 @@ export declare function parseCommunityEditPubsubMessagePublicationSchemaWithPKCE
502
502
  textColor?: string | undefined;
503
503
  expiresAt?: number | undefined;
504
504
  }[]> | undefined;
505
- title?: string | undefined;
506
505
  description?: string | undefined;
506
+ title?: string | undefined;
507
507
  pubsubTopic?: string | undefined;
508
508
  rules?: string[] | undefined;
509
509
  features?: {
@@ -669,8 +669,8 @@ export declare function parseCreateCommunityEditPublicationOptionsSchemaWithPKCE
669
669
  textColor?: string | undefined;
670
670
  expiresAt?: number | undefined;
671
671
  }[]> | undefined;
672
- title?: string | undefined;
673
672
  description?: string | undefined;
673
+ title?: string | undefined;
674
674
  pubsubTopic?: string | undefined;
675
675
  rules?: string[] | undefined;
676
676
  features?: {
@@ -926,7 +926,6 @@ export declare function parseCommentModerationPubsubMessagePublicationSchemaWith
926
926
  signedPropertyNames: string[];
927
927
  };
928
928
  protocolVersion: string;
929
- commentCid: string;
930
929
  commentModeration: {
931
930
  [x: string]: unknown;
932
931
  flairs?: {
@@ -957,6 +956,7 @@ export declare function parseCommentModerationPubsubMessagePublicationSchemaWith
957
956
  banExpiresAt?: number | undefined;
958
957
  } | undefined;
959
958
  };
959
+ commentCid: string;
960
960
  author?: {
961
961
  [x: string]: unknown;
962
962
  name?: string | undefined;
@@ -1273,6 +1273,7 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
1273
1273
  };
1274
1274
  protocolVersion: string;
1275
1275
  depth: number;
1276
+ link?: string | undefined;
1276
1277
  flairs?: {
1277
1278
  [x: string]: unknown;
1278
1279
  text: string;
@@ -1282,7 +1283,6 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
1282
1283
  }[] | undefined;
1283
1284
  communityPublicKey?: string | undefined;
1284
1285
  communityName?: string | undefined;
1285
- link?: string | undefined;
1286
1286
  spoiler?: boolean | undefined;
1287
1287
  nsfw?: boolean | undefined;
1288
1288
  content?: string | undefined;
@@ -1548,8 +1548,8 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
1548
1548
  textColor?: string | undefined;
1549
1549
  expiresAt?: number | undefined;
1550
1550
  }[]> | undefined;
1551
- title?: string | undefined;
1552
1551
  description?: string | undefined;
1552
+ title?: string | undefined;
1553
1553
  pubsubTopic?: string | undefined;
1554
1554
  rules?: string[] | undefined;
1555
1555
  features?: {
@@ -1828,6 +1828,7 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
1828
1828
  };
1829
1829
  protocolVersion: string;
1830
1830
  depth: number;
1831
+ link?: string | undefined;
1831
1832
  flairs?: {
1832
1833
  [x: string]: unknown;
1833
1834
  text: string;
@@ -1837,7 +1838,6 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
1837
1838
  }[] | undefined;
1838
1839
  communityPublicKey?: string | undefined;
1839
1840
  communityName?: string | undefined;
1840
- link?: string | undefined;
1841
1841
  spoiler?: boolean | undefined;
1842
1842
  nsfw?: boolean | undefined;
1843
1843
  content?: string | undefined;
@@ -2081,6 +2081,7 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
2081
2081
  };
2082
2082
  protocolVersion: string;
2083
2083
  depth: number;
2084
+ link?: string | undefined;
2084
2085
  flairs?: {
2085
2086
  [x: string]: unknown;
2086
2087
  text: string;
@@ -2090,7 +2091,6 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
2090
2091
  }[] | undefined;
2091
2092
  communityPublicKey?: string | undefined;
2092
2093
  communityName?: string | undefined;
2093
- link?: string | undefined;
2094
2094
  spoiler?: boolean | undefined;
2095
2095
  nsfw?: boolean | undefined;
2096
2096
  content?: string | undefined;
@@ -2356,8 +2356,8 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
2356
2356
  textColor?: string | undefined;
2357
2357
  expiresAt?: number | undefined;
2358
2358
  }[]> | undefined;
2359
- title?: string | undefined;
2360
2359
  description?: string | undefined;
2360
+ title?: string | undefined;
2361
2361
  pubsubTopic?: string | undefined;
2362
2362
  rules?: string[] | undefined;
2363
2363
  features?: {
@@ -2636,6 +2636,7 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
2636
2636
  };
2637
2637
  protocolVersion: string;
2638
2638
  depth: number;
2639
+ link?: string | undefined;
2639
2640
  flairs?: {
2640
2641
  [x: string]: unknown;
2641
2642
  text: string;
@@ -2645,7 +2646,6 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
2645
2646
  }[] | undefined;
2646
2647
  communityPublicKey?: string | undefined;
2647
2648
  communityName?: string | undefined;
2648
- link?: string | undefined;
2649
2649
  spoiler?: boolean | undefined;
2650
2650
  nsfw?: boolean | undefined;
2651
2651
  content?: string | undefined;
@@ -2828,6 +2828,7 @@ export declare function parseCommentPubsubMessagePublicationWithPKCErrorIfItFail
2828
2828
  signedPropertyNames: string[];
2829
2829
  };
2830
2830
  protocolVersion: string;
2831
+ link?: string | undefined;
2831
2832
  flairs?: {
2832
2833
  [x: string]: unknown;
2833
2834
  text: string;
@@ -2868,7 +2869,6 @@ export declare function parseCommentPubsubMessagePublicationWithPKCErrorIfItFail
2868
2869
  } | undefined;
2869
2870
  communityPublicKey?: string | undefined;
2870
2871
  communityName?: string | undefined;
2871
- link?: string | undefined;
2872
2872
  spoiler?: boolean | undefined;
2873
2873
  nsfw?: boolean | undefined;
2874
2874
  content?: string | undefined;
@@ -422,6 +422,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
422
422
  };
423
423
  protocolVersion: string;
424
424
  depth: number;
425
+ link?: string | undefined;
425
426
  flairs?: {
426
427
  [x: string]: unknown;
427
428
  text: string;
@@ -431,7 +432,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
431
432
  }[] | undefined;
432
433
  communityPublicKey?: string | undefined;
433
434
  communityName?: string | undefined;
434
- link?: string | undefined;
435
435
  spoiler?: boolean | undefined;
436
436
  nsfw?: boolean | undefined;
437
437
  content?: string | undefined;
@@ -491,6 +491,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
491
491
  };
492
492
  protocolVersion: string;
493
493
  depth: number;
494
+ link?: string | undefined;
494
495
  flairs?: {
495
496
  [x: string]: unknown;
496
497
  text: string;
@@ -500,7 +501,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
500
501
  }[] | undefined;
501
502
  communityPublicKey?: string | undefined;
502
503
  communityName?: string | undefined;
503
- link?: string | undefined;
504
504
  spoiler?: boolean | undefined;
505
505
  nsfw?: boolean | undefined;
506
506
  content?: string | undefined;
@@ -674,6 +674,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
674
674
  };
675
675
  protocolVersion: string;
676
676
  depth: number;
677
+ link?: string | undefined;
677
678
  flairs?: {
678
679
  [x: string]: unknown;
679
680
  text: string;
@@ -683,7 +684,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
683
684
  }[] | undefined;
684
685
  communityPublicKey?: string | undefined;
685
686
  communityName?: string | undefined;
686
- link?: string | undefined;
687
687
  spoiler?: boolean | undefined;
688
688
  nsfw?: boolean | undefined;
689
689
  content?: string | undefined;
@@ -863,6 +863,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
863
863
  };
864
864
  protocolVersion: string;
865
865
  depth: number;
866
+ link?: string | undefined;
866
867
  flairs?: {
867
868
  [x: string]: unknown;
868
869
  text: string;
@@ -872,7 +873,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
872
873
  }[] | undefined;
873
874
  communityPublicKey?: string | undefined;
874
875
  communityName?: string | undefined;
875
- link?: string | undefined;
876
876
  spoiler?: boolean | undefined;
877
877
  nsfw?: boolean | undefined;
878
878
  content?: string | undefined;
@@ -980,6 +980,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
980
980
  };
981
981
  protocolVersion: string;
982
982
  depth: number;
983
+ link?: string | undefined;
983
984
  flairs?: {
984
985
  [x: string]: unknown;
985
986
  text: string;
@@ -989,7 +990,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
989
990
  }[] | undefined;
990
991
  communityPublicKey?: string | undefined;
991
992
  communityName?: string | undefined;
992
- link?: string | undefined;
993
993
  spoiler?: boolean | undefined;
994
994
  nsfw?: boolean | undefined;
995
995
  content?: string | undefined;
@@ -1049,6 +1049,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1049
1049
  };
1050
1050
  protocolVersion: string;
1051
1051
  depth: number;
1052
+ link?: string | undefined;
1052
1053
  flairs?: {
1053
1054
  [x: string]: unknown;
1054
1055
  text: string;
@@ -1058,7 +1059,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1058
1059
  }[] | undefined;
1059
1060
  communityPublicKey?: string | undefined;
1060
1061
  communityName?: string | undefined;
1061
- link?: string | undefined;
1062
1062
  spoiler?: boolean | undefined;
1063
1063
  nsfw?: boolean | undefined;
1064
1064
  content?: string | undefined;
@@ -1232,6 +1232,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1232
1232
  };
1233
1233
  protocolVersion: string;
1234
1234
  depth: number;
1235
+ link?: string | undefined;
1235
1236
  flairs?: {
1236
1237
  [x: string]: unknown;
1237
1238
  text: string;
@@ -1241,7 +1242,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1241
1242
  }[] | undefined;
1242
1243
  communityPublicKey?: string | undefined;
1243
1244
  communityName?: string | undefined;
1244
- link?: string | undefined;
1245
1245
  spoiler?: boolean | undefined;
1246
1246
  nsfw?: boolean | undefined;
1247
1247
  content?: string | undefined;
@@ -1421,6 +1421,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1421
1421
  };
1422
1422
  protocolVersion: string;
1423
1423
  depth: number;
1424
+ link?: string | undefined;
1424
1425
  flairs?: {
1425
1426
  [x: string]: unknown;
1426
1427
  text: string;
@@ -1430,7 +1431,6 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1430
1431
  }[] | undefined;
1431
1432
  communityPublicKey?: string | undefined;
1432
1433
  communityName?: string | undefined;
1433
- link?: string | undefined;
1434
1434
  spoiler?: boolean | undefined;
1435
1435
  nsfw?: boolean | undefined;
1436
1436
  content?: string | undefined;
@@ -1881,6 +1881,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
1881
1881
  };
1882
1882
  protocolVersion: string;
1883
1883
  depth: number;
1884
+ link?: string | undefined;
1884
1885
  flairs?: {
1885
1886
  [x: string]: unknown;
1886
1887
  text: string;
@@ -1890,7 +1891,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
1890
1891
  }[] | undefined;
1891
1892
  communityPublicKey?: string | undefined;
1892
1893
  communityName?: string | undefined;
1893
- link?: string | undefined;
1894
1894
  spoiler?: boolean | undefined;
1895
1895
  nsfw?: boolean | undefined;
1896
1896
  content?: string | undefined;
@@ -1950,6 +1950,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
1950
1950
  };
1951
1951
  protocolVersion: string;
1952
1952
  depth: number;
1953
+ link?: string | undefined;
1953
1954
  flairs?: {
1954
1955
  [x: string]: unknown;
1955
1956
  text: string;
@@ -1959,7 +1960,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
1959
1960
  }[] | undefined;
1960
1961
  communityPublicKey?: string | undefined;
1961
1962
  communityName?: string | undefined;
1962
- link?: string | undefined;
1963
1963
  spoiler?: boolean | undefined;
1964
1964
  nsfw?: boolean | undefined;
1965
1965
  content?: string | undefined;
@@ -2133,6 +2133,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2133
2133
  };
2134
2134
  protocolVersion: string;
2135
2135
  depth: number;
2136
+ link?: string | undefined;
2136
2137
  flairs?: {
2137
2138
  [x: string]: unknown;
2138
2139
  text: string;
@@ -2142,7 +2143,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2142
2143
  }[] | undefined;
2143
2144
  communityPublicKey?: string | undefined;
2144
2145
  communityName?: string | undefined;
2145
- link?: string | undefined;
2146
2146
  spoiler?: boolean | undefined;
2147
2147
  nsfw?: boolean | undefined;
2148
2148
  content?: string | undefined;
@@ -2322,6 +2322,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2322
2322
  };
2323
2323
  protocolVersion: string;
2324
2324
  depth: number;
2325
+ link?: string | undefined;
2325
2326
  flairs?: {
2326
2327
  [x: string]: unknown;
2327
2328
  text: string;
@@ -2331,7 +2332,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2331
2332
  }[] | undefined;
2332
2333
  communityPublicKey?: string | undefined;
2333
2334
  communityName?: string | undefined;
2334
- link?: string | undefined;
2335
2335
  spoiler?: boolean | undefined;
2336
2336
  nsfw?: boolean | undefined;
2337
2337
  content?: string | undefined;
@@ -2439,6 +2439,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2439
2439
  };
2440
2440
  protocolVersion: string;
2441
2441
  depth: number;
2442
+ link?: string | undefined;
2442
2443
  flairs?: {
2443
2444
  [x: string]: unknown;
2444
2445
  text: string;
@@ -2448,7 +2449,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2448
2449
  }[] | undefined;
2449
2450
  communityPublicKey?: string | undefined;
2450
2451
  communityName?: string | undefined;
2451
- link?: string | undefined;
2452
2452
  spoiler?: boolean | undefined;
2453
2453
  nsfw?: boolean | undefined;
2454
2454
  content?: string | undefined;
@@ -2508,6 +2508,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2508
2508
  };
2509
2509
  protocolVersion: string;
2510
2510
  depth: number;
2511
+ link?: string | undefined;
2511
2512
  flairs?: {
2512
2513
  [x: string]: unknown;
2513
2514
  text: string;
@@ -2517,7 +2518,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2517
2518
  }[] | undefined;
2518
2519
  communityPublicKey?: string | undefined;
2519
2520
  communityName?: string | undefined;
2520
- link?: string | undefined;
2521
2521
  spoiler?: boolean | undefined;
2522
2522
  nsfw?: boolean | undefined;
2523
2523
  content?: string | undefined;
@@ -2691,6 +2691,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2691
2691
  };
2692
2692
  protocolVersion: string;
2693
2693
  depth: number;
2694
+ link?: string | undefined;
2694
2695
  flairs?: {
2695
2696
  [x: string]: unknown;
2696
2697
  text: string;
@@ -2700,7 +2701,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2700
2701
  }[] | undefined;
2701
2702
  communityPublicKey?: string | undefined;
2702
2703
  communityName?: string | undefined;
2703
- link?: string | undefined;
2704
2704
  spoiler?: boolean | undefined;
2705
2705
  nsfw?: boolean | undefined;
2706
2706
  content?: string | undefined;
@@ -2880,6 +2880,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2880
2880
  };
2881
2881
  protocolVersion: string;
2882
2882
  depth: number;
2883
+ link?: string | undefined;
2883
2884
  flairs?: {
2884
2885
  [x: string]: unknown;
2885
2886
  text: string;
@@ -2889,7 +2890,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2889
2890
  }[] | undefined;
2890
2891
  communityPublicKey?: string | undefined;
2891
2892
  communityName?: string | undefined;
2892
- link?: string | undefined;
2893
2893
  spoiler?: boolean | undefined;
2894
2894
  nsfw?: boolean | undefined;
2895
2895
  content?: string | undefined;
@@ -3194,6 +3194,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3194
3194
  };
3195
3195
  protocolVersion: string;
3196
3196
  depth: number;
3197
+ link?: string | undefined;
3197
3198
  flairs?: {
3198
3199
  [x: string]: unknown;
3199
3200
  text: string;
@@ -3203,7 +3204,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3203
3204
  }[] | undefined;
3204
3205
  communityPublicKey?: string | undefined;
3205
3206
  communityName?: string | undefined;
3206
- link?: string | undefined;
3207
3207
  spoiler?: boolean | undefined;
3208
3208
  nsfw?: boolean | undefined;
3209
3209
  content?: string | undefined;
@@ -3263,6 +3263,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3263
3263
  };
3264
3264
  protocolVersion: string;
3265
3265
  depth: number;
3266
+ link?: string | undefined;
3266
3267
  flairs?: {
3267
3268
  [x: string]: unknown;
3268
3269
  text: string;
@@ -3272,7 +3273,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3272
3273
  }[] | undefined;
3273
3274
  communityPublicKey?: string | undefined;
3274
3275
  communityName?: string | undefined;
3275
- link?: string | undefined;
3276
3276
  spoiler?: boolean | undefined;
3277
3277
  nsfw?: boolean | undefined;
3278
3278
  content?: string | undefined;
@@ -3446,6 +3446,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3446
3446
  };
3447
3447
  protocolVersion: string;
3448
3448
  depth: number;
3449
+ link?: string | undefined;
3449
3450
  flairs?: {
3450
3451
  [x: string]: unknown;
3451
3452
  text: string;
@@ -3455,7 +3456,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3455
3456
  }[] | undefined;
3456
3457
  communityPublicKey?: string | undefined;
3457
3458
  communityName?: string | undefined;
3458
- link?: string | undefined;
3459
3459
  spoiler?: boolean | undefined;
3460
3460
  nsfw?: boolean | undefined;
3461
3461
  content?: string | undefined;
@@ -3635,6 +3635,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3635
3635
  };
3636
3636
  protocolVersion: string;
3637
3637
  depth: number;
3638
+ link?: string | undefined;
3638
3639
  flairs?: {
3639
3640
  [x: string]: unknown;
3640
3641
  text: string;
@@ -3644,7 +3645,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3644
3645
  }[] | undefined;
3645
3646
  communityPublicKey?: string | undefined;
3646
3647
  communityName?: string | undefined;
3647
- link?: string | undefined;
3648
3648
  spoiler?: boolean | undefined;
3649
3649
  nsfw?: boolean | undefined;
3650
3650
  content?: string | undefined;
@@ -3940,6 +3940,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3940
3940
  };
3941
3941
  protocolVersion: string;
3942
3942
  depth: number;
3943
+ link?: string | undefined;
3943
3944
  flairs?: {
3944
3945
  [x: string]: unknown;
3945
3946
  text: string;
@@ -3949,7 +3950,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3949
3950
  }[] | undefined;
3950
3951
  communityPublicKey?: string | undefined;
3951
3952
  communityName?: string | undefined;
3952
- link?: string | undefined;
3953
3953
  spoiler?: boolean | undefined;
3954
3954
  nsfw?: boolean | undefined;
3955
3955
  content?: string | undefined;
@@ -4009,6 +4009,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4009
4009
  };
4010
4010
  protocolVersion: string;
4011
4011
  depth: number;
4012
+ link?: string | undefined;
4012
4013
  flairs?: {
4013
4014
  [x: string]: unknown;
4014
4015
  text: string;
@@ -4018,7 +4019,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4018
4019
  }[] | undefined;
4019
4020
  communityPublicKey?: string | undefined;
4020
4021
  communityName?: string | undefined;
4021
- link?: string | undefined;
4022
4022
  spoiler?: boolean | undefined;
4023
4023
  nsfw?: boolean | undefined;
4024
4024
  content?: string | undefined;
@@ -4192,6 +4192,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4192
4192
  };
4193
4193
  protocolVersion: string;
4194
4194
  depth: number;
4195
+ link?: string | undefined;
4195
4196
  flairs?: {
4196
4197
  [x: string]: unknown;
4197
4198
  text: string;
@@ -4201,7 +4202,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4201
4202
  }[] | undefined;
4202
4203
  communityPublicKey?: string | undefined;
4203
4204
  communityName?: string | undefined;
4204
- link?: string | undefined;
4205
4205
  spoiler?: boolean | undefined;
4206
4206
  nsfw?: boolean | undefined;
4207
4207
  content?: string | undefined;
@@ -4381,6 +4381,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4381
4381
  };
4382
4382
  protocolVersion: string;
4383
4383
  depth: number;
4384
+ link?: string | undefined;
4384
4385
  flairs?: {
4385
4386
  [x: string]: unknown;
4386
4387
  text: string;
@@ -4390,7 +4391,6 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4390
4391
  }[] | undefined;
4391
4392
  communityPublicKey?: string | undefined;
4392
4393
  communityName?: string | undefined;
4393
- link?: string | undefined;
4394
4394
  spoiler?: boolean | undefined;
4395
4395
  nsfw?: boolean | undefined;
4396
4396
  content?: string | undefined;
@@ -4847,6 +4847,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
4847
4847
  };
4848
4848
  protocolVersion: string;
4849
4849
  depth: number;
4850
+ link?: string | undefined;
4850
4851
  flairs?: {
4851
4852
  [x: string]: unknown;
4852
4853
  text: string;
@@ -4856,7 +4857,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
4856
4857
  }[] | undefined;
4857
4858
  communityPublicKey?: string | undefined;
4858
4859
  communityName?: string | undefined;
4859
- link?: string | undefined;
4860
4860
  spoiler?: boolean | undefined;
4861
4861
  nsfw?: boolean | undefined;
4862
4862
  content?: string | undefined;
@@ -4916,6 +4916,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
4916
4916
  };
4917
4917
  protocolVersion: string;
4918
4918
  depth: number;
4919
+ link?: string | undefined;
4919
4920
  flairs?: {
4920
4921
  [x: string]: unknown;
4921
4922
  text: string;
@@ -4925,7 +4926,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
4925
4926
  }[] | undefined;
4926
4927
  communityPublicKey?: string | undefined;
4927
4928
  communityName?: string | undefined;
4928
- link?: string | undefined;
4929
4929
  spoiler?: boolean | undefined;
4930
4930
  nsfw?: boolean | undefined;
4931
4931
  content?: string | undefined;
@@ -5099,6 +5099,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5099
5099
  };
5100
5100
  protocolVersion: string;
5101
5101
  depth: number;
5102
+ link?: string | undefined;
5102
5103
  flairs?: {
5103
5104
  [x: string]: unknown;
5104
5105
  text: string;
@@ -5108,7 +5109,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5108
5109
  }[] | undefined;
5109
5110
  communityPublicKey?: string | undefined;
5110
5111
  communityName?: string | undefined;
5111
- link?: string | undefined;
5112
5112
  spoiler?: boolean | undefined;
5113
5113
  nsfw?: boolean | undefined;
5114
5114
  content?: string | undefined;
@@ -5288,6 +5288,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5288
5288
  };
5289
5289
  protocolVersion: string;
5290
5290
  depth: number;
5291
+ link?: string | undefined;
5291
5292
  flairs?: {
5292
5293
  [x: string]: unknown;
5293
5294
  text: string;
@@ -5297,7 +5298,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5297
5298
  }[] | undefined;
5298
5299
  communityPublicKey?: string | undefined;
5299
5300
  communityName?: string | undefined;
5300
- link?: string | undefined;
5301
5301
  spoiler?: boolean | undefined;
5302
5302
  nsfw?: boolean | undefined;
5303
5303
  content?: string | undefined;
@@ -5405,6 +5405,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5405
5405
  };
5406
5406
  protocolVersion: string;
5407
5407
  depth: number;
5408
+ link?: string | undefined;
5408
5409
  flairs?: {
5409
5410
  [x: string]: unknown;
5410
5411
  text: string;
@@ -5414,7 +5415,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5414
5415
  }[] | undefined;
5415
5416
  communityPublicKey?: string | undefined;
5416
5417
  communityName?: string | undefined;
5417
- link?: string | undefined;
5418
5418
  spoiler?: boolean | undefined;
5419
5419
  nsfw?: boolean | undefined;
5420
5420
  content?: string | undefined;
@@ -5474,6 +5474,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5474
5474
  };
5475
5475
  protocolVersion: string;
5476
5476
  depth: number;
5477
+ link?: string | undefined;
5477
5478
  flairs?: {
5478
5479
  [x: string]: unknown;
5479
5480
  text: string;
@@ -5483,7 +5484,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5483
5484
  }[] | undefined;
5484
5485
  communityPublicKey?: string | undefined;
5485
5486
  communityName?: string | undefined;
5486
- link?: string | undefined;
5487
5487
  spoiler?: boolean | undefined;
5488
5488
  nsfw?: boolean | undefined;
5489
5489
  content?: string | undefined;
@@ -5657,6 +5657,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5657
5657
  };
5658
5658
  protocolVersion: string;
5659
5659
  depth: number;
5660
+ link?: string | undefined;
5660
5661
  flairs?: {
5661
5662
  [x: string]: unknown;
5662
5663
  text: string;
@@ -5666,7 +5667,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5666
5667
  }[] | undefined;
5667
5668
  communityPublicKey?: string | undefined;
5668
5669
  communityName?: string | undefined;
5669
- link?: string | undefined;
5670
5670
  spoiler?: boolean | undefined;
5671
5671
  nsfw?: boolean | undefined;
5672
5672
  content?: string | undefined;
@@ -5846,6 +5846,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5846
5846
  };
5847
5847
  protocolVersion: string;
5848
5848
  depth: number;
5849
+ link?: string | undefined;
5849
5850
  flairs?: {
5850
5851
  [x: string]: unknown;
5851
5852
  text: string;
@@ -5855,7 +5856,6 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5855
5856
  }[] | undefined;
5856
5857
  communityPublicKey?: string | undefined;
5857
5858
  communityName?: string | undefined;
5858
- link?: string | undefined;
5859
5859
  spoiler?: boolean | undefined;
5860
5860
  nsfw?: boolean | undefined;
5861
5861
  content?: string | undefined;