@pkcprotocol/pkc-js 0.0.113 → 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.
- package/dist/browser/challenges.d.ts +1 -0
- package/dist/browser/challenges.js +1 -1
- package/dist/browser/challenges.js.map +1 -1
- package/dist/browser/clients/base-client-manager.js +25 -2
- package/dist/browser/clients/base-client-manager.js.map +1 -1
- package/dist/browser/clients/rpc-client/rpc-schema-util.d.ts +2 -2
- package/dist/browser/clients/rpc-client/schema.d.ts +7 -7
- package/dist/browser/community/schema.d.ts +72 -72
- package/dist/browser/constants.d.ts +2 -1
- package/dist/browser/constants.js +3 -0
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/errors.d.ts +1 -0
- package/dist/browser/errors.js +1 -0
- package/dist/browser/errors.js.map +1 -1
- package/dist/browser/generated-version.d.ts +1 -1
- package/dist/browser/generated-version.js +1 -1
- package/dist/browser/index-with-compile-cache.d.ts +4 -4
- package/dist/browser/index.d.ts +8 -8
- package/dist/browser/page-sorts.d.ts +2 -0
- package/dist/browser/page-sorts.js +2 -0
- package/dist/browser/page-sorts.js.map +1 -0
- package/dist/browser/pages/page-sort-scoring.d.ts +4 -0
- package/dist/browser/pages/page-sort-scoring.js +20 -3
- package/dist/browser/pages/page-sort-scoring.js.map +1 -1
- package/dist/browser/pages/schema.d.ts +17 -17
- package/dist/browser/pkc-error.d.ts +1 -1
- package/dist/browser/publications/comment/schema.d.ts +18 -18
- package/dist/browser/publications/comment-edit/schema.d.ts +5 -5
- package/dist/browser/publications/comment-moderation/schema.d.ts +4 -4
- package/dist/browser/publications/community-edit/schema.d.ts +4 -4
- package/dist/browser/pubsub-messages/schema.d.ts +9 -9
- package/dist/browser/rpc/src/index.d.ts +2 -0
- package/dist/browser/rpc/src/index.js +22 -0
- package/dist/browser/rpc/src/index.js.map +1 -1
- package/dist/browser/rpc/src/lib/pkc-js/index.d.ts +4 -4
- package/dist/browser/rpc/src/lib/pkc-js/index.js +3 -1
- package/dist/browser/rpc/src/lib/pkc-js/index.js.map +1 -1
- package/dist/browser/rpc/src/schema.d.ts +30 -30
- package/dist/browser/runtime/node/community/db-handler.d.ts +6 -0
- package/dist/browser/runtime/node/community/db-handler.js +38 -6
- package/dist/browser/runtime/node/community/db-handler.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/challenges.js +0 -2
- package/dist/browser/runtime/node/community/local-community/challenges.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/editing.d.ts +2 -1
- package/dist/browser/runtime/node/community/local-community/editing.js +10 -7
- package/dist/browser/runtime/node/community/local-community/editing.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/ipns-publishing.js +3 -0
- package/dist/browser/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/lifecycle.js +7 -3
- package/dist/browser/runtime/node/community/local-community/lifecycle.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/publication-store.js +23 -23
- package/dist/browser/runtime/node/community/local-community/publication-store.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/registry-sync.d.ts +7 -0
- package/dist/browser/runtime/node/community/local-community/registry-sync.js +80 -0
- package/dist/browser/runtime/node/community/local-community/registry-sync.js.map +1 -0
- package/dist/browser/runtime/node/community/local-community.d.ts +2 -1
- package/dist/browser/runtime/node/community/local-community.js +3 -0
- package/dist/browser/runtime/node/community/local-community.js.map +1 -1
- package/dist/browser/runtime/node/community/page-generator.js +11 -17
- package/dist/browser/runtime/node/community/page-generator.js.map +1 -1
- package/dist/browser/runtime/node/community/page-sorts/index.d.ts +9 -0
- package/dist/browser/runtime/node/community/page-sorts/index.js +64 -6
- package/dist/browser/runtime/node/community/page-sorts/index.js.map +1 -1
- package/dist/browser/schema/schema-util.d.ts +12 -12
- package/dist/browser/schema.d.ts +32 -32
- package/dist/browser/test/test-util.d.ts +30 -30
- package/dist/browser/validate-package-factories.d.ts +7 -0
- package/dist/browser/validate-package-factories.js +37 -0
- package/dist/browser/validate-package-factories.js.map +1 -0
- package/dist/bundled/bundle-manifest.json +68 -33
- package/dist/bundled/challenges.js +2 -1
- package/dist/bundled/chunks/{helia-for-pkc-DoOp7t8V.js → helia-for-pkc-BB8P6KYw.js} +33 -33
- package/dist/bundled/chunks/{local-community-CaV30etW.js → local-community-XrLSKipf.js} +172 -80
- package/dist/bundled/chunks/{local-community-CFX753RE.js → local-community-wAvG_J_u.js} +1 -1
- package/dist/bundled/chunks/{node-gyqBss4j.js → node-D5riLTOu.js} +5 -5
- package/dist/bundled/chunks/page-sort-scoring-3svUUHW_.js +112 -0
- package/dist/bundled/chunks/{rpc-local-community-DWv8wZMB.js → rpc-local-community-D5ZdqFYc.js} +80 -111
- package/dist/bundled/chunks/{util-B9JenRyE.js → util-CabVOL7E.js} +2 -1
- package/dist/bundled/chunks/{util-CH8WrVZq.js → util-Cnpgfqwn.js} +1 -1
- package/dist/bundled/chunks/validate-package-factories-CxIg67oP.js +41 -0
- package/dist/bundled/index.js +1 -1
- package/dist/bundled/page-sorts.js +2 -0
- package/dist/bundled/rpc/src/index.js +17 -4
- package/dist/node/challenges.d.ts +1 -0
- package/dist/node/challenges.js +1 -1
- package/dist/node/challenges.js.map +1 -1
- package/dist/node/clients/base-client-manager.js +25 -2
- package/dist/node/clients/base-client-manager.js.map +1 -1
- package/dist/node/clients/rpc-client/rpc-schema-util.d.ts +2 -2
- package/dist/node/clients/rpc-client/schema.d.ts +7 -7
- package/dist/node/community/schema.d.ts +72 -72
- package/dist/node/constants.d.ts +2 -1
- package/dist/node/constants.js +3 -0
- package/dist/node/constants.js.map +1 -1
- package/dist/node/errors.d.ts +1 -0
- package/dist/node/errors.js +1 -0
- package/dist/node/errors.js.map +1 -1
- package/dist/node/generated-version.d.ts +1 -1
- package/dist/node/generated-version.js +1 -1
- package/dist/node/index-with-compile-cache.d.ts +4 -4
- package/dist/node/index.d.ts +8 -8
- package/dist/node/page-sorts.d.ts +2 -0
- package/dist/node/page-sorts.js +2 -0
- package/dist/node/page-sorts.js.map +1 -0
- package/dist/node/pages/page-sort-scoring.d.ts +4 -0
- package/dist/node/pages/page-sort-scoring.js +20 -3
- package/dist/node/pages/page-sort-scoring.js.map +1 -1
- package/dist/node/pages/schema.d.ts +17 -17
- package/dist/node/pkc-error.d.ts +1 -1
- package/dist/node/publications/comment/schema.d.ts +18 -18
- package/dist/node/publications/comment-edit/schema.d.ts +5 -5
- package/dist/node/publications/comment-moderation/schema.d.ts +4 -4
- package/dist/node/publications/community-edit/schema.d.ts +4 -4
- package/dist/node/pubsub-messages/schema.d.ts +9 -9
- package/dist/node/rpc/src/index.d.ts +2 -0
- package/dist/node/rpc/src/index.js +22 -0
- package/dist/node/rpc/src/index.js.map +1 -1
- package/dist/node/rpc/src/lib/pkc-js/index.d.ts +4 -4
- package/dist/node/rpc/src/lib/pkc-js/index.js +3 -1
- package/dist/node/rpc/src/lib/pkc-js/index.js.map +1 -1
- package/dist/node/rpc/src/schema.d.ts +30 -30
- package/dist/node/runtime/node/community/db-handler.d.ts +6 -0
- package/dist/node/runtime/node/community/db-handler.js +38 -6
- package/dist/node/runtime/node/community/db-handler.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/challenges.js +0 -2
- package/dist/node/runtime/node/community/local-community/challenges.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/editing.d.ts +2 -1
- package/dist/node/runtime/node/community/local-community/editing.js +10 -7
- package/dist/node/runtime/node/community/local-community/editing.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/ipns-publishing.js +3 -0
- package/dist/node/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/lifecycle.js +7 -3
- package/dist/node/runtime/node/community/local-community/lifecycle.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/publication-store.js +23 -23
- package/dist/node/runtime/node/community/local-community/publication-store.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/registry-sync.d.ts +7 -0
- package/dist/node/runtime/node/community/local-community/registry-sync.js +80 -0
- package/dist/node/runtime/node/community/local-community/registry-sync.js.map +1 -0
- package/dist/node/runtime/node/community/local-community.d.ts +2 -1
- package/dist/node/runtime/node/community/local-community.js +3 -0
- package/dist/node/runtime/node/community/local-community.js.map +1 -1
- package/dist/node/runtime/node/community/page-generator.js +11 -17
- package/dist/node/runtime/node/community/page-generator.js.map +1 -1
- package/dist/node/runtime/node/community/page-sorts/index.d.ts +9 -0
- package/dist/node/runtime/node/community/page-sorts/index.js +64 -6
- package/dist/node/runtime/node/community/page-sorts/index.js.map +1 -1
- package/dist/node/schema/schema-util.d.ts +12 -12
- package/dist/node/schema.d.ts +32 -32
- package/dist/node/test/test-util.d.ts +30 -30
- package/dist/node/validate-package-factories.d.ts +7 -0
- package/dist/node/validate-package-factories.js +37 -0
- package/dist/node/validate-package-factories.js.map +1 -0
- package/package.json +6 -1
package/dist/browser/schema.d.ts
CHANGED
|
@@ -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;
|
|
@@ -296,6 +296,7 @@ export declare function createDelegatedCommunityIpns(communityOpts?: Partial<Com
|
|
|
296
296
|
};
|
|
297
297
|
protocolVersion: string;
|
|
298
298
|
depth: number;
|
|
299
|
+
link?: string | undefined;
|
|
299
300
|
flairs?: {
|
|
300
301
|
[x: string]: unknown;
|
|
301
302
|
text: string;
|
|
@@ -305,7 +306,6 @@ export declare function createDelegatedCommunityIpns(communityOpts?: Partial<Com
|
|
|
305
306
|
}[] | undefined;
|
|
306
307
|
communityPublicKey?: string | undefined;
|
|
307
308
|
communityName?: string | undefined;
|
|
308
|
-
link?: string | undefined;
|
|
309
309
|
spoiler?: boolean | undefined;
|
|
310
310
|
nsfw?: boolean | undefined;
|
|
311
311
|
content?: string | undefined;
|
|
@@ -656,6 +656,7 @@ export declare function createMockedCommunityIpns(communityOpts: CreateNewLocalC
|
|
|
656
656
|
};
|
|
657
657
|
protocolVersion: string;
|
|
658
658
|
depth: number;
|
|
659
|
+
link?: string | undefined;
|
|
659
660
|
flairs?: {
|
|
660
661
|
[x: string]: unknown;
|
|
661
662
|
text: string;
|
|
@@ -665,7 +666,6 @@ export declare function createMockedCommunityIpns(communityOpts: CreateNewLocalC
|
|
|
665
666
|
}[] | undefined;
|
|
666
667
|
communityPublicKey?: string | undefined;
|
|
667
668
|
communityName?: string | undefined;
|
|
668
|
-
link?: string | undefined;
|
|
669
669
|
spoiler?: boolean | undefined;
|
|
670
670
|
nsfw?: boolean | undefined;
|
|
671
671
|
content?: string | undefined;
|
|
@@ -1024,6 +1024,7 @@ export declare function publishStaticCommunityWithPostInPages(opts?: {
|
|
|
1024
1024
|
};
|
|
1025
1025
|
protocolVersion: string;
|
|
1026
1026
|
depth: number;
|
|
1027
|
+
link?: string | undefined;
|
|
1027
1028
|
flairs?: {
|
|
1028
1029
|
[x: string]: unknown;
|
|
1029
1030
|
text: string;
|
|
@@ -1033,7 +1034,6 @@ export declare function publishStaticCommunityWithPostInPages(opts?: {
|
|
|
1033
1034
|
}[] | undefined;
|
|
1034
1035
|
communityPublicKey?: string | undefined;
|
|
1035
1036
|
communityName?: string | undefined;
|
|
1036
|
-
link?: string | undefined;
|
|
1037
1037
|
spoiler?: boolean | undefined;
|
|
1038
1038
|
nsfw?: boolean | undefined;
|
|
1039
1039
|
content?: string | undefined;
|
|
@@ -1308,11 +1308,14 @@ export declare function jsonifyCommunityAndRemoveInternalProps(community: Remote
|
|
|
1308
1308
|
[x: string]: any;
|
|
1309
1309
|
};
|
|
1310
1310
|
export declare function jsonifyLocalCommunityWithNoInternalProps(community: LocalCommunity): {
|
|
1311
|
+
name?: string | undefined;
|
|
1312
|
+
anchor?: {
|
|
1313
|
+
publicKey: string;
|
|
1314
|
+
} | undefined;
|
|
1311
1315
|
address: string;
|
|
1312
1316
|
publicKey?: string | undefined;
|
|
1313
1317
|
shortAddress: string;
|
|
1314
1318
|
signature?: CommunityIpfsType["signature"] | undefined;
|
|
1315
|
-
name?: string | undefined;
|
|
1316
1319
|
flairs?: Record<string, {
|
|
1317
1320
|
[x: string]: unknown;
|
|
1318
1321
|
text: string;
|
|
@@ -1324,21 +1327,32 @@ export declare function jsonifyLocalCommunityWithNoInternalProps(community: Loca
|
|
|
1324
1327
|
protocolVersion: CommunityIpfsType["protocolVersion"];
|
|
1325
1328
|
lastCommentCid?: string | undefined;
|
|
1326
1329
|
nameResolved?: boolean | undefined;
|
|
1327
|
-
anchor?: {
|
|
1328
|
-
publicKey: string;
|
|
1329
|
-
} | undefined;
|
|
1330
|
-
encryption: CommunityIpfsType["encryption"];
|
|
1331
|
-
createdAt: CommunityIpfsType["createdAt"];
|
|
1332
|
-
updatedAt?: CommunityIpfsType["updatedAt"] | undefined;
|
|
1333
|
-
title?: string | undefined;
|
|
1334
|
-
posts: PostsPages;
|
|
1335
|
-
modQueue: import("../pages/pages.js").ModQueuePages;
|
|
1336
1330
|
challenges: CommunityIpfsType["challenges"];
|
|
1337
1331
|
roles?: Record<string, {
|
|
1338
1332
|
[x: string]: unknown;
|
|
1339
1333
|
role: string;
|
|
1340
1334
|
}> | undefined;
|
|
1341
1335
|
description?: string | undefined;
|
|
1336
|
+
posts: PostsPages;
|
|
1337
|
+
title?: string | undefined;
|
|
1338
|
+
updatedAt?: CommunityIpfsType["updatedAt"] | undefined;
|
|
1339
|
+
pageSorts?: {
|
|
1340
|
+
posts?: Record<string, {
|
|
1341
|
+
[x: string]: unknown;
|
|
1342
|
+
name?: string | undefined;
|
|
1343
|
+
description?: string | undefined;
|
|
1344
|
+
publicOptions?: Record<string, string> | undefined;
|
|
1345
|
+
}> | undefined;
|
|
1346
|
+
replies?: Record<string, {
|
|
1347
|
+
[x: string]: unknown;
|
|
1348
|
+
name?: string | undefined;
|
|
1349
|
+
description?: string | undefined;
|
|
1350
|
+
publicOptions?: Record<string, string> | undefined;
|
|
1351
|
+
}> | undefined;
|
|
1352
|
+
} | undefined;
|
|
1353
|
+
encryption: CommunityIpfsType["encryption"];
|
|
1354
|
+
createdAt: CommunityIpfsType["createdAt"];
|
|
1355
|
+
modQueue: import("../pages/pages.js").ModQueuePages;
|
|
1342
1356
|
pubsubTopic?: string | undefined;
|
|
1343
1357
|
statsCid?: string | undefined;
|
|
1344
1358
|
postUpdates?: Record<string, string> | undefined;
|
|
@@ -1391,30 +1405,16 @@ export declare function jsonifyLocalCommunityWithNoInternalProps(community: Loca
|
|
|
1391
1405
|
backgroundUrl?: string | undefined;
|
|
1392
1406
|
language?: string | undefined;
|
|
1393
1407
|
} | undefined;
|
|
1394
|
-
pageSorts?: {
|
|
1395
|
-
posts?: Record<string, {
|
|
1396
|
-
[x: string]: unknown;
|
|
1397
|
-
name?: string | undefined;
|
|
1398
|
-
description?: string | undefined;
|
|
1399
|
-
publicOptions?: Record<string, string> | undefined;
|
|
1400
|
-
}> | undefined;
|
|
1401
|
-
replies?: Record<string, {
|
|
1402
|
-
[x: string]: unknown;
|
|
1403
|
-
name?: string | undefined;
|
|
1404
|
-
description?: string | undefined;
|
|
1405
|
-
publicOptions?: Record<string, string> | undefined;
|
|
1406
|
-
}> | undefined;
|
|
1407
|
-
} | undefined;
|
|
1408
1408
|
settings: import("../community/types.js").RpcLocalCommunityLocalProps["settings"];
|
|
1409
1409
|
raw: RpcLocalCommunity["raw"];
|
|
1410
1410
|
updateCid?: string | undefined;
|
|
1411
1411
|
ipnsHops?: string[] | undefined;
|
|
1412
|
-
editable: Pick<RpcLocalCommunity, keyof import("../community/types.js").CommunityEditOptions>;
|
|
1413
|
-
exports: import("../community/types.js").CommunityExportRecord[];
|
|
1414
1412
|
ipnsPubsubTopic?: string | undefined;
|
|
1413
|
+
editable: Pick<RpcLocalCommunity, keyof import("../community/types.js").CommunityEditOptions>;
|
|
1415
1414
|
ipnsName?: string | undefined;
|
|
1416
1415
|
ipnsPubsubTopicRoutingCid?: string | undefined;
|
|
1417
1416
|
pubsubTopicRoutingCid?: string | undefined;
|
|
1417
|
+
exports: import("../community/types.js").CommunityExportRecord[];
|
|
1418
1418
|
anchorRecordSequence?: string | undefined;
|
|
1419
1419
|
};
|
|
1420
1420
|
export declare function jsonifyCommentAndRemoveInstanceProps(comment: Comment): {
|
|
@@ -1554,6 +1554,7 @@ export declare function createCommentUpdateWithInvalidSignature(commentCid: stri
|
|
|
1554
1554
|
};
|
|
1555
1555
|
protocolVersion: string;
|
|
1556
1556
|
depth: number;
|
|
1557
|
+
link?: string | undefined;
|
|
1557
1558
|
flairs?: {
|
|
1558
1559
|
[x: string]: unknown;
|
|
1559
1560
|
text: string;
|
|
@@ -1563,7 +1564,6 @@ export declare function createCommentUpdateWithInvalidSignature(commentCid: stri
|
|
|
1563
1564
|
}[] | undefined;
|
|
1564
1565
|
communityPublicKey?: string | undefined;
|
|
1565
1566
|
communityName?: string | undefined;
|
|
1566
|
-
link?: string | undefined;
|
|
1567
1567
|
spoiler?: boolean | undefined;
|
|
1568
1568
|
nsfw?: boolean | undefined;
|
|
1569
1569
|
content?: string | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChallengeFile, PageSortFile } from "./community/types.js";
|
|
2
|
+
export declare function validateChallengeFileFactory(factory: unknown, { name }: {
|
|
3
|
+
name: string;
|
|
4
|
+
}): ChallengeFile;
|
|
5
|
+
export declare function validatePageSortFileFactory(factory: unknown, { name }: {
|
|
6
|
+
name: string;
|
|
7
|
+
}): PageSortFile;
|