@pkcprotocol/pkc-js 0.0.84 → 0.0.85

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 (113) hide show
  1. package/dist/browser/clients/rpc-client/rpc-schema-util.d.ts +1 -0
  2. package/dist/browser/clients/rpc-client/schema.d.ts +1 -0
  3. package/dist/browser/community/schema.d.ts +106 -2
  4. package/dist/browser/community/schema.js +25 -6
  5. package/dist/browser/community/schema.js.map +1 -1
  6. package/dist/browser/errors.d.ts +6 -1
  7. package/dist/browser/errors.js +8 -0
  8. package/dist/browser/errors.js.map +1 -1
  9. package/dist/browser/generated-version.d.ts +1 -1
  10. package/dist/browser/generated-version.js +1 -1
  11. package/dist/browser/index-with-compile-cache.d.ts +88 -2
  12. package/dist/browser/index.d.ts +88 -2
  13. package/dist/browser/pkc-error.d.ts +1 -1
  14. package/dist/browser/publications/community-edit/schema.d.ts +4 -0
  15. package/dist/browser/pubsub-messages/schema.d.ts +2 -0
  16. package/dist/browser/rpc/src/index.js +4 -1
  17. package/dist/browser/rpc/src/index.js.map +1 -1
  18. package/dist/browser/rpc/src/lib/pkc-js/index.d.ts +44 -1
  19. package/dist/browser/rpc/src/schema.d.ts +265 -7
  20. package/dist/browser/rpc/src/schema.js +4 -2
  21. package/dist/browser/rpc/src/schema.js.map +1 -1
  22. package/dist/browser/runtime/node/community/challenges/exclude/exclude.d.ts +2 -2
  23. package/dist/browser/runtime/node/community/challenges/exclude/exclude.js +5 -1
  24. package/dist/browser/runtime/node/community/challenges/exclude/exclude.js.map +1 -1
  25. package/dist/browser/runtime/node/community/challenges/index.d.ts +7 -3
  26. package/dist/browser/runtime/node/community/challenges/index.js +29 -6
  27. package/dist/browser/runtime/node/community/challenges/index.js.map +1 -1
  28. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/address-list-validation.d.ts +4 -0
  29. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/address-list-validation.js +27 -0
  30. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/address-list-validation.js.map +1 -0
  31. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/blacklist.js +2 -1
  32. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/blacklist.js.map +1 -1
  33. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/publication-match.js +34 -1
  34. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/publication-match.js.map +1 -1
  35. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/question.js +8 -1
  36. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/question.js.map +1 -1
  37. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/whitelist.js +2 -1
  38. package/dist/browser/runtime/node/community/challenges/pkc-js-challenges/whitelist.js.map +1 -1
  39. package/dist/browser/runtime/node/community/challenges/validate-challenge-settings.d.ts +22 -0
  40. package/dist/browser/runtime/node/community/challenges/validate-challenge-settings.js +92 -0
  41. package/dist/browser/runtime/node/community/challenges/validate-challenge-settings.js.map +1 -0
  42. package/dist/browser/runtime/node/community/db-handler.d.ts +1 -0
  43. package/dist/browser/runtime/node/community/local-community/db-state.js +8 -0
  44. package/dist/browser/runtime/node/community/local-community/db-state.js.map +1 -1
  45. package/dist/browser/runtime/node/community/local-community/editing.js +8 -0
  46. package/dist/browser/runtime/node/community/local-community/editing.js.map +1 -1
  47. package/dist/browser/runtime/node/community/local-community/lifecycle.js +29 -0
  48. package/dist/browser/runtime/node/community/local-community/lifecycle.js.map +1 -1
  49. package/dist/browser/schema/schema-util.d.ts +9 -0
  50. package/dist/browser/schema.d.ts +352 -8
  51. package/dist/browser/test/test-util.d.ts +2 -0
  52. package/dist/bundled/bundle-manifest.json +33 -31
  53. package/dist/bundled/chunks/{helia-for-pkc-BlDudTLN.js → helia-for-pkc-C5Oe_ZSx.js} +33 -33
  54. package/dist/bundled/chunks/{local-community-5PMI-TDB.js → local-community-BqxmCg5p.js} +131 -26
  55. package/dist/bundled/chunks/{local-community-4wIeaqty.js → local-community-D4SjlAKS.js} +1 -1
  56. package/dist/bundled/chunks/{node-B7GkmuSc.js → node-C2DKW30L.js} +5 -5
  57. package/dist/bundled/chunks/{rpc-local-community-r51cTBYd.js → rpc-local-community-o0teUvw_.js} +76 -10
  58. package/dist/bundled/chunks/{schema-AXrL86Q4.js → schema-qhSDu1BU.js} +48 -5
  59. package/dist/bundled/chunks/{util-CwzCEPKs.js → util-BVGNNIgn.js} +1 -1
  60. package/dist/bundled/index.js +1 -1
  61. package/dist/bundled/rpc/src/index.js +5 -5
  62. package/dist/node/clients/rpc-client/rpc-schema-util.d.ts +1 -0
  63. package/dist/node/clients/rpc-client/schema.d.ts +1 -0
  64. package/dist/node/community/schema.d.ts +106 -2
  65. package/dist/node/community/schema.js +25 -6
  66. package/dist/node/community/schema.js.map +1 -1
  67. package/dist/node/errors.d.ts +6 -1
  68. package/dist/node/errors.js +8 -0
  69. package/dist/node/errors.js.map +1 -1
  70. package/dist/node/generated-version.d.ts +1 -1
  71. package/dist/node/generated-version.js +1 -1
  72. package/dist/node/index-with-compile-cache.d.ts +88 -2
  73. package/dist/node/index.d.ts +88 -2
  74. package/dist/node/pkc-error.d.ts +1 -1
  75. package/dist/node/publications/community-edit/schema.d.ts +4 -0
  76. package/dist/node/pubsub-messages/schema.d.ts +2 -0
  77. package/dist/node/rpc/src/index.js +4 -1
  78. package/dist/node/rpc/src/index.js.map +1 -1
  79. package/dist/node/rpc/src/lib/pkc-js/index.d.ts +44 -1
  80. package/dist/node/rpc/src/schema.d.ts +265 -7
  81. package/dist/node/rpc/src/schema.js +4 -2
  82. package/dist/node/rpc/src/schema.js.map +1 -1
  83. package/dist/node/runtime/node/community/challenges/exclude/exclude.d.ts +2 -2
  84. package/dist/node/runtime/node/community/challenges/exclude/exclude.js +5 -1
  85. package/dist/node/runtime/node/community/challenges/exclude/exclude.js.map +1 -1
  86. package/dist/node/runtime/node/community/challenges/index.d.ts +7 -3
  87. package/dist/node/runtime/node/community/challenges/index.js +29 -6
  88. package/dist/node/runtime/node/community/challenges/index.js.map +1 -1
  89. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/address-list-validation.d.ts +4 -0
  90. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/address-list-validation.js +27 -0
  91. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/address-list-validation.js.map +1 -0
  92. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/blacklist.js +2 -1
  93. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/blacklist.js.map +1 -1
  94. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/publication-match.js +34 -1
  95. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/publication-match.js.map +1 -1
  96. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/question.js +8 -1
  97. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/question.js.map +1 -1
  98. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/whitelist.js +2 -1
  99. package/dist/node/runtime/node/community/challenges/pkc-js-challenges/whitelist.js.map +1 -1
  100. package/dist/node/runtime/node/community/challenges/validate-challenge-settings.d.ts +22 -0
  101. package/dist/node/runtime/node/community/challenges/validate-challenge-settings.js +92 -0
  102. package/dist/node/runtime/node/community/challenges/validate-challenge-settings.js.map +1 -0
  103. package/dist/node/runtime/node/community/db-handler.d.ts +1 -0
  104. package/dist/node/runtime/node/community/local-community/db-state.js +8 -0
  105. package/dist/node/runtime/node/community/local-community/db-state.js.map +1 -1
  106. package/dist/node/runtime/node/community/local-community/editing.js +8 -0
  107. package/dist/node/runtime/node/community/local-community/editing.js.map +1 -1
  108. package/dist/node/runtime/node/community/local-community/lifecycle.js +29 -0
  109. package/dist/node/runtime/node/community/local-community/lifecycle.js.map +1 -1
  110. package/dist/node/schema/schema-util.d.ts +9 -0
  111. package/dist/node/schema.d.ts +352 -8
  112. package/dist/node/test/test-util.d.ts +2 -0
  113. package/package.json +3 -3
@@ -1429,6 +1429,20 @@ const $ZodNever = /*@__PURE__*/ $constructor("$ZodNever", (inst, def) => {
1429
1429
  return payload;
1430
1430
  };
1431
1431
  });
1432
+ const $ZodVoid = /*@__PURE__*/ $constructor("$ZodVoid", (inst, def) => {
1433
+ $ZodType.init(inst, def);
1434
+ inst._zod.parse = (payload, _ctx) => {
1435
+ const input = payload.value;
1436
+ if (typeof input === "undefined") return payload;
1437
+ payload.issues.push({
1438
+ expected: "void",
1439
+ code: "invalid_type",
1440
+ input,
1441
+ inst
1442
+ });
1443
+ return payload;
1444
+ };
1445
+ });
1432
1446
  function handleArrayResult(result, final, index) {
1433
1447
  if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
1434
1448
  final.value[index] = result.value;
@@ -2681,6 +2695,13 @@ function _never(Class, params) {
2681
2695
  });
2682
2696
  }
2683
2697
  // @__NO_SIDE_EFFECTS__
2698
+ function _void$1(Class, params) {
2699
+ return new Class({
2700
+ type: "void",
2701
+ ...normalizeParams(params)
2702
+ });
2703
+ }
2704
+ // @__NO_SIDE_EFFECTS__
2684
2705
  function _lt(value, params) {
2685
2706
  return new $ZodCheckLessThan({
2686
2707
  check: "less_than",
@@ -3229,6 +3250,9 @@ const booleanProcessor = (_schema, _ctx, json, _params) => {
3229
3250
  const undefinedProcessor = (_schema, ctx, _json, _params) => {
3230
3251
  if (ctx.unrepresentable === "throw") throw new Error("Undefined cannot be represented in JSON Schema");
3231
3252
  };
3253
+ const voidProcessor = (_schema, ctx, _json, _params) => {
3254
+ if (ctx.unrepresentable === "throw") throw new Error("Void cannot be represented in JSON Schema");
3255
+ };
3232
3256
  const neverProcessor = (_schema, _ctx, json, _params) => {
3233
3257
  json.not = {};
3234
3258
  };
@@ -3845,6 +3869,14 @@ const ZodNever = /*@__PURE__*/ $constructor("ZodNever", (inst, def) => {
3845
3869
  function never(params) {
3846
3870
  return /* @__PURE__ */ _never(ZodNever, params);
3847
3871
  }
3872
+ const ZodVoid = /*@__PURE__*/ $constructor("ZodVoid", (inst, def) => {
3873
+ $ZodVoid.init(inst, def);
3874
+ ZodType.init(inst, def);
3875
+ inst._zod.processJSONSchema = (ctx, json, params) => voidProcessor(inst, ctx, json, params);
3876
+ });
3877
+ function _void(params) {
3878
+ return /* @__PURE__ */ _void$1(ZodVoid, params);
3879
+ }
3848
3880
  const ZodArray = /*@__PURE__*/ $constructor("ZodArray", (inst, def) => {
3849
3881
  $ZodArray.init(inst, def);
3850
3882
  ZodType.init(inst, def);
@@ -5520,6 +5552,11 @@ var messages;
5520
5552
  messages["ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMENT_UPDATE_FIELD"] = "A challenge result attempted to set commentUpdate.<field> that is in CommentUpdateChallengeReservedFieldNames (community-computed field)";
5521
5553
  messages["ERR_CHALLENGE_RESULT_OVERRIDES_NON_COMMUNITY_AUTHOR_KEY"] = "A challenge result attempted to set commentUpdate.author.<field> with a key other than 'community' — challenges may only extend commentUpdate.author.community";
5522
5554
  messages["ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMUNITY_AUTHOR_FIELD"] = "A challenge result attempted to set commentUpdate.author.community.<field> that is in CommunityAuthorChallengeReservedFieldNames (community-computed or mod-settable field)";
5555
+ messages["ERR_CHALLENGE_OPTION_NOT_DECLARED_IN_OPTION_INPUTS"] = "settings.challenges[i].options has a key that no optionInputs entry of the challenge declares, so it is never read";
5556
+ messages["ERR_CHALLENGE_REQUIRED_OPTION_MISSING"] = "settings.challenges[i].options is missing an option whose optionInputs entry is required";
5557
+ messages["ERR_CHALLENGE_PUBLIC_OPTION_NOT_DECLARED_IN_OPTION_INPUTS"] = "settings.challenges[i].publicOptions names an option that no optionInputs entry of the challenge declares";
5558
+ messages["ERR_CHALLENGE_SETTINGS_VALIDATION_FAILED"] = "The challenge's validateChallengeSettings hook rejected settings.challenges[i]";
5559
+ messages["ERR_CHALLENGE_SETTINGS_VALIDATION_FAILED_FOR_CHALLENGES"] = "One or more challenges in settings.challenges failed validation";
5523
5560
  })(messages || (messages = {}));
5524
5561
  //#endregion
5525
5562
  //#region dist/node/pkc-error.js
@@ -6649,6 +6686,7 @@ const CommunityChallengeSettingSchema = object({
6649
6686
  path: string().optional(),
6650
6687
  name: string().optional(),
6651
6688
  options: record(string(), string()).optional(),
6689
+ publicOptions: string().array().optional(),
6652
6690
  exclude: ChallengeExcludeSchema.array().nonempty().optional(),
6653
6691
  description: string().optional(),
6654
6692
  pendingApproval: boolean().optional()
@@ -6659,7 +6697,7 @@ const GetChallengeArgsSchema = object({
6659
6697
  challengeIndex: number().int().nonnegative(),
6660
6698
  community: custom()
6661
6699
  });
6662
- const ChallengeFileSchema = object({
6700
+ const ChallengeFileSchema = looseObject({
6663
6701
  optionInputs: ChallengeOptionInputSchema.array().optional(),
6664
6702
  type: ChallengeFromGetChallengeSchema.shape.type,
6665
6703
  challenge: ChallengeFromGetChallengeSchema.shape.challenge.optional(),
@@ -6668,15 +6706,20 @@ const ChallengeFileSchema = object({
6668
6706
  getChallenge: _function({
6669
6707
  input: [GetChallengeArgsSchema],
6670
6708
  output: promise(ResultOfGetChallengeSchema)
6671
- })
6672
- }).strict();
6709
+ }),
6710
+ validateChallengeSettings: _function({
6711
+ input: [object({ challengeSettings: CommunityChallengeSettingSchema })],
6712
+ output: _void()
6713
+ }).optional()
6714
+ });
6673
6715
  const CommunityChallengeSchema = looseObject({
6674
6716
  exclude: ChallengeExcludeSchema.array().nonempty().optional(),
6675
6717
  description: ChallengeFileSchema.shape.description,
6676
6718
  challenge: ChallengeFileSchema.shape.challenge,
6677
6719
  type: ChallengeFileSchema.shape.type,
6678
6720
  caseInsensitive: ChallengeFileSchema.shape.caseInsensitive,
6679
- pendingApproval: boolean().optional()
6721
+ pendingApproval: boolean().optional(),
6722
+ publicOptions: record(string(), string()).optional()
6680
6723
  });
6681
6724
  const ChallengeFileFactorySchema = _function({
6682
6725
  input: [object({ challengeSettings: CommunityChallengeSettingSchema })],
@@ -16151,7 +16194,7 @@ function extractNetworkErrorDetails(err, depth = 0) {
16151
16194
  }
16152
16195
  //#endregion
16153
16196
  //#region dist/node/generated-version.js
16154
- const version = "0.0.84";
16197
+ const version = "0.0.85";
16155
16198
  //#endregion
16156
16199
  //#region dist/node/version.js
16157
16200
  const protocolVersion = ProtocolVersionSchema.parse("1.0.0");
@@ -1,4 +1,4 @@
1
- import { br as PKCError, et as pubsubTopicToDhtKeyCid } from "./schema-AXrL86Q4.js";
1
+ import { br as PKCError, et as pubsubTopicToDhtKeyCid } from "./schema-qhSDu1BU.js";
2
2
  import { ipnsSelector } from "ipns/selector";
3
3
  import { equals } from "uint8arrays/equals";
4
4
  //#region dist/node/helia/util.js
@@ -1,2 +1,2 @@
1
- import { a as getShortCid, i as getShortAddress, n as challenges, o as nativeFunctions, r as createAnchorIpnsRecord, s as setNativeFunctions, t as PKC } from "./chunks/node-B7GkmuSc.js";
1
+ import { a as getShortCid, i as getShortAddress, n as challenges, o as nativeFunctions, r as createAnchorIpnsRecord, s as setNativeFunctions, t as PKC } from "./chunks/node-C2DKW30L.js";
2
2
  export { challenges, createAnchorIpnsRecord, PKC as default, getShortAddress, getShortCid, nativeFunctions, setNativeFunctions };
@@ -1,7 +1,7 @@
1
- import { Ct as findStartedCommunity, L as hideClassPrivateProps, Sr as logger_default, br as PKCError, lt as replaceXWithY, rr as t, tr as n } from "../../chunks/schema-AXrL86Q4.js";
2
- import { _ as parseRpcPublishAnchorRecordParam, c as parseRpcAuthorNameParam, d as parseRpcCommentRepliesPageParam, f as parseRpcCommunityIdentifierParam, g as parseRpcExportCommunityParam, h as parseRpcExportCommunityModLogsParam, l as parseRpcCancelExportParam, m as parseRpcEditCommunityParam, p as parseRpcCommunityPageParam, t as PKC, u as parseRpcCidParam, v as parseRpcPublishChallengeAnswersParam, y as parseRpcUnsubscribeParam } from "../../chunks/node-B7GkmuSc.js";
3
- import { An as parseVoteChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, K as buildPageRuntimeFields, Sn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, _n as parseCreateNewLocalCommunityUserOptionsSchemaWithPKCErrorIfItFails, an as parseCommentModerationChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ct as pLimit, kn as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, ln as parseCommunityEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, lr as stringify, nn as parseCommentEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, nr as t$1, nt as extractCrosspostRuntimeFields, q as buildPagesRuntimeFields, st as pRetry, tn as parseCommentChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, un as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, ut as require_lib, vn as parseCreatePKCWsServerOptionsSchemaWithPKCErrorIfItFails } from "../../chunks/rpc-local-community-r51cTBYd.js";
4
- import { t as LocalCommunity } from "../../chunks/local-community-5PMI-TDB.js";
1
+ import { Ct as findStartedCommunity, L as hideClassPrivateProps, Sr as logger_default, br as PKCError, lt as replaceXWithY, rr as t, tr as n } from "../../chunks/schema-qhSDu1BU.js";
2
+ import { _ as parseRpcPublishAnchorRecordParam, c as parseRpcAuthorNameParam, d as parseRpcCommentRepliesPageParam, f as parseRpcCommunityIdentifierParam, g as parseRpcExportCommunityParam, h as parseRpcExportCommunityModLogsParam, l as parseRpcCancelExportParam, m as parseRpcEditCommunityParam, p as parseRpcCommunityPageParam, t as PKC, u as parseRpcCidParam, v as parseRpcPublishChallengeAnswersParam, y as parseRpcUnsubscribeParam } from "../../chunks/node-C2DKW30L.js";
3
+ import { An as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, Cn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, J as buildPagesRuntimeFields, ct as pRetry, dn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, dt as require_lib, jn as parseVoteChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, lt as pLimit, nn as parseCommentChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, on as parseCommentModerationChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, q as buildPageRuntimeFields, rn as parseCommentEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, rr as t$1, rt as extractCrosspostRuntimeFields, un as parseCommunityEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ur as stringify, vn as parseCreateNewLocalCommunityUserOptionsSchemaWithPKCErrorIfItFails, yn as parseCreatePKCWsServerOptionsSchemaWithPKCErrorIfItFails } from "../../chunks/rpc-local-community-o0teUvw_.js";
4
+ import { t as LocalCommunity } from "../../chunks/local-community-BqxmCg5p.js";
5
5
  import { fileURLToPath } from "node:url";
6
6
  import path from "path";
7
7
  import assert from "assert";
@@ -744,7 +744,7 @@ var PKCWsServer = class extends import_lib.TypedEmitter {
744
744
  challenges: t$1({
745
745
  ...PKCJs.PKC.challenges || {},
746
746
  ...pkc.settings?.challenges || {}
747
- }, (challengeFactory) => n(challengeFactory({ challengeSettings: {} }), ["getChallenge"]))
747
+ }, (challengeFactory) => n(challengeFactory({ challengeSettings: {} }), ["getChallenge", "validateChallengeSettings"]))
748
748
  };
749
749
  }
750
750
  async settingsSubscribe(params, connectionId) {
@@ -105,6 +105,7 @@ export declare const parseRpcEditCommunityParam: (params: unknown) => {
105
105
  path?: string | undefined;
106
106
  name?: string | undefined;
107
107
  options?: Record<string, string> | undefined;
108
+ publicOptions?: string[] | undefined;
108
109
  exclude?: {
109
110
  [x: string]: unknown;
110
111
  community?: {
@@ -377,6 +377,7 @@ export declare const RpcEditCommunityParamSchema: z.ZodObject<{
377
377
  path: z.ZodOptional<z.ZodString>;
378
378
  name: z.ZodOptional<z.ZodString>;
379
379
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
380
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
380
381
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
381
382
  community: z.ZodOptional<z.ZodObject<{
382
383
  addresses: z.ZodArray<z.ZodString>;
@@ -169,6 +169,7 @@ export declare const CommunityChallengeSettingSchema: z.ZodObject<{
169
169
  path: z.ZodOptional<z.ZodString>;
170
170
  name: z.ZodOptional<z.ZodString>;
171
171
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
172
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
173
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
173
174
  community: z.ZodOptional<z.ZodObject<{
174
175
  addresses: z.ZodArray<z.ZodString>;
@@ -208,6 +209,7 @@ export declare const GetChallengeArgsSchema: z.ZodObject<{
208
209
  path: z.ZodOptional<z.ZodString>;
209
210
  name: z.ZodOptional<z.ZodString>;
210
211
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
212
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
211
213
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
212
214
  community: z.ZodOptional<z.ZodObject<{
213
215
  addresses: z.ZodArray<z.ZodString>;
@@ -264,6 +266,7 @@ export declare const ChallengeFileSchema: z.ZodObject<{
264
266
  path: z.ZodOptional<z.ZodString>;
265
267
  name: z.ZodOptional<z.ZodString>;
266
268
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
269
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
267
270
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
271
  community: z.ZodOptional<z.ZodObject<{
269
272
  addresses: z.ZodArray<z.ZodString>;
@@ -323,7 +326,48 @@ export declare const ChallengeFileSchema: z.ZodObject<{
323
326
  error: z.ZodString;
324
327
  reason: z.ZodOptional<z.ZodString>;
325
328
  }, z.core.$strip>]>]>>>;
326
- }, z.core.$strict>;
329
+ validateChallengeSettings: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
330
+ challengeSettings: z.ZodObject<{
331
+ path: z.ZodOptional<z.ZodString>;
332
+ name: z.ZodOptional<z.ZodString>;
333
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
334
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
335
+ exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
336
+ community: z.ZodOptional<z.ZodObject<{
337
+ addresses: z.ZodArray<z.ZodString>;
338
+ maxCommentCids: z.ZodNumber;
339
+ postScore: z.ZodOptional<z.ZodNumber>;
340
+ replyScore: z.ZodOptional<z.ZodNumber>;
341
+ firstCommentTimestamp: z.ZodOptional<z.ZodNumber>;
342
+ }, z.core.$strict>>;
343
+ postScore: z.ZodOptional<z.ZodNumber>;
344
+ replyScore: z.ZodOptional<z.ZodNumber>;
345
+ postCount: z.ZodOptional<z.ZodNumber>;
346
+ replyCount: z.ZodOptional<z.ZodNumber>;
347
+ firstCommentTimestamp: z.ZodOptional<z.ZodNumber>;
348
+ challenges: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
349
+ role: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<{
350
+ owner: "owner";
351
+ admin: "admin";
352
+ moderator: "moderator";
353
+ }>, z.ZodString]>>>;
354
+ address: z.ZodOptional<z.ZodArray<z.ZodString>>;
355
+ rateLimit: z.ZodOptional<z.ZodNumber>;
356
+ rateLimitChallengeSuccess: z.ZodOptional<z.ZodBoolean>;
357
+ publicationType: z.ZodOptional<z.ZodObject<{
358
+ post: z.ZodOptional<z.ZodBoolean>;
359
+ reply: z.ZodOptional<z.ZodBoolean>;
360
+ vote: z.ZodOptional<z.ZodBoolean>;
361
+ commentEdit: z.ZodOptional<z.ZodBoolean>;
362
+ commentModeration: z.ZodOptional<z.ZodBoolean>;
363
+ communityEdit: z.ZodOptional<z.ZodBoolean>;
364
+ }, z.core.$loose>>;
365
+ }, z.core.$loose>>>;
366
+ description: z.ZodOptional<z.ZodString>;
367
+ pendingApproval: z.ZodOptional<z.ZodBoolean>;
368
+ }, z.core.$strict>;
369
+ }, z.core.$strip>], null>, z.ZodVoid>>;
370
+ }, z.core.$loose>;
327
371
  export declare const CommunityChallengeSchema: z.ZodObject<{
328
372
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
329
373
  community: z.ZodOptional<z.ZodObject<{
@@ -361,12 +405,14 @@ export declare const CommunityChallengeSchema: z.ZodObject<{
361
405
  type: z.ZodString;
362
406
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
363
407
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
408
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
364
409
  }, z.core.$loose>;
365
410
  export declare const ChallengeFileFactoryArgsSchema: z.ZodObject<{
366
411
  challengeSettings: z.ZodObject<{
367
412
  path: z.ZodOptional<z.ZodString>;
368
413
  name: z.ZodOptional<z.ZodString>;
369
414
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
415
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
370
416
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
371
417
  community: z.ZodOptional<z.ZodObject<{
372
418
  addresses: z.ZodArray<z.ZodString>;
@@ -407,6 +453,7 @@ export declare const ChallengeFileFactorySchema: z.ZodFunction<z.ZodTuple<readon
407
453
  path: z.ZodOptional<z.ZodString>;
408
454
  name: z.ZodOptional<z.ZodString>;
409
455
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
456
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
410
457
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
411
458
  community: z.ZodOptional<z.ZodObject<{
412
459
  addresses: z.ZodArray<z.ZodString>;
@@ -459,6 +506,7 @@ export declare const ChallengeFileFactorySchema: z.ZodFunction<z.ZodTuple<readon
459
506
  path: z.ZodOptional<z.ZodString>;
460
507
  name: z.ZodOptional<z.ZodString>;
461
508
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
509
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
462
510
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
463
511
  community: z.ZodOptional<z.ZodObject<{
464
512
  addresses: z.ZodArray<z.ZodString>;
@@ -518,7 +566,48 @@ export declare const ChallengeFileFactorySchema: z.ZodFunction<z.ZodTuple<readon
518
566
  error: z.ZodString;
519
567
  reason: z.ZodOptional<z.ZodString>;
520
568
  }, z.core.$strip>]>]>>>;
521
- }, z.core.$strict>>;
569
+ validateChallengeSettings: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodObject<{
570
+ challengeSettings: z.ZodObject<{
571
+ path: z.ZodOptional<z.ZodString>;
572
+ name: z.ZodOptional<z.ZodString>;
573
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
574
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
+ exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
576
+ community: z.ZodOptional<z.ZodObject<{
577
+ addresses: z.ZodArray<z.ZodString>;
578
+ maxCommentCids: z.ZodNumber;
579
+ postScore: z.ZodOptional<z.ZodNumber>;
580
+ replyScore: z.ZodOptional<z.ZodNumber>;
581
+ firstCommentTimestamp: z.ZodOptional<z.ZodNumber>;
582
+ }, z.core.$strict>>;
583
+ postScore: z.ZodOptional<z.ZodNumber>;
584
+ replyScore: z.ZodOptional<z.ZodNumber>;
585
+ postCount: z.ZodOptional<z.ZodNumber>;
586
+ replyCount: z.ZodOptional<z.ZodNumber>;
587
+ firstCommentTimestamp: z.ZodOptional<z.ZodNumber>;
588
+ challenges: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
589
+ role: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<{
590
+ owner: "owner";
591
+ admin: "admin";
592
+ moderator: "moderator";
593
+ }>, z.ZodString]>>>;
594
+ address: z.ZodOptional<z.ZodArray<z.ZodString>>;
595
+ rateLimit: z.ZodOptional<z.ZodNumber>;
596
+ rateLimitChallengeSuccess: z.ZodOptional<z.ZodBoolean>;
597
+ publicationType: z.ZodOptional<z.ZodObject<{
598
+ post: z.ZodOptional<z.ZodBoolean>;
599
+ reply: z.ZodOptional<z.ZodBoolean>;
600
+ vote: z.ZodOptional<z.ZodBoolean>;
601
+ commentEdit: z.ZodOptional<z.ZodBoolean>;
602
+ commentModeration: z.ZodOptional<z.ZodBoolean>;
603
+ communityEdit: z.ZodOptional<z.ZodBoolean>;
604
+ }, z.core.$loose>>;
605
+ }, z.core.$loose>>>;
606
+ description: z.ZodOptional<z.ZodString>;
607
+ pendingApproval: z.ZodOptional<z.ZodBoolean>;
608
+ }, z.core.$strict>;
609
+ }, z.core.$strip>], null>, z.ZodVoid>>;
610
+ }, z.core.$loose>>;
522
611
  export declare const CommunityAnchorSchema: z.ZodObject<{
523
612
  publicKey: z.ZodString;
524
613
  }, z.core.$strict>;
@@ -777,6 +866,7 @@ export declare const CommunityIpfsSchema: z.ZodObject<{
777
866
  type: z.ZodString;
778
867
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
779
868
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
869
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
780
870
  }, z.core.$loose>>;
781
871
  signature: z.ZodObject<{
782
872
  type: z.ZodString;
@@ -1122,6 +1212,7 @@ export declare const RpcRemoteCommunityUpdateEventResultSchema: z.ZodObject<{
1122
1212
  type: z.ZodString;
1123
1213
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
1124
1214
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
1215
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1125
1216
  }, z.core.$loose>>;
1126
1217
  signature: z.ZodObject<{
1127
1218
  type: z.ZodString;
@@ -1260,6 +1351,7 @@ export declare const CreateRemoteCommunityOptionsSchema: z.ZodObject<{
1260
1351
  type: z.ZodString;
1261
1352
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
1262
1353
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
1354
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1263
1355
  }, z.core.$loose>>>;
1264
1356
  signature: z.ZodOptional<z.ZodObject<{
1265
1357
  type: z.ZodString;
@@ -1584,6 +1676,7 @@ export declare const CommunitySettingsSchema: z.ZodObject<{
1584
1676
  path: z.ZodOptional<z.ZodString>;
1585
1677
  name: z.ZodOptional<z.ZodString>;
1586
1678
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1679
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1587
1680
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
1588
1681
  community: z.ZodOptional<z.ZodObject<{
1589
1682
  addresses: z.ZodArray<z.ZodString>;
@@ -1690,6 +1783,7 @@ export declare const CommunityEditOptionsSchema: z.ZodObject<{
1690
1783
  path: z.ZodOptional<z.ZodString>;
1691
1784
  name: z.ZodOptional<z.ZodString>;
1692
1785
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1786
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1693
1787
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
1694
1788
  community: z.ZodOptional<z.ZodObject<{
1695
1789
  addresses: z.ZodArray<z.ZodString>;
@@ -1803,6 +1897,7 @@ export declare const CreateNewLocalCommunityUserOptionsSchema: z.ZodObject<{
1803
1897
  path: z.ZodOptional<z.ZodString>;
1804
1898
  name: z.ZodOptional<z.ZodString>;
1805
1899
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1900
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1806
1901
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
1807
1902
  community: z.ZodOptional<z.ZodObject<{
1808
1903
  addresses: z.ZodArray<z.ZodString>;
@@ -1925,6 +2020,7 @@ export declare const CreateNewLocalCommunityParsedOptionsSchema: z.ZodObject<{
1925
2020
  path: z.ZodOptional<z.ZodString>;
1926
2021
  name: z.ZodOptional<z.ZodString>;
1927
2022
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2023
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1928
2024
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
1929
2025
  community: z.ZodOptional<z.ZodObject<{
1930
2026
  addresses: z.ZodArray<z.ZodString>;
@@ -2024,6 +2120,7 @@ export declare const CreateRemoteCommunityFunctionArgumentSchema: z.ZodUnion<[z.
2024
2120
  type: z.ZodString;
2025
2121
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
2026
2122
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
2123
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2027
2124
  }, z.core.$loose>>>;
2028
2125
  signature: z.ZodOptional<z.ZodObject<{
2029
2126
  type: z.ZodString;
@@ -2595,6 +2692,7 @@ export declare const CreateRemoteCommunityFunctionArgumentSchema: z.ZodUnion<[z.
2595
2692
  type: z.ZodString;
2596
2693
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
2597
2694
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
2695
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2598
2696
  }, z.core.$loose>>;
2599
2697
  signature: z.ZodObject<{
2600
2698
  type: z.ZodString;
@@ -2724,6 +2822,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
2724
2822
  type: z.ZodString;
2725
2823
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
2726
2824
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
2825
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2727
2826
  }, z.core.$loose>>>;
2728
2827
  signature: z.ZodOptional<z.ZodObject<{
2729
2828
  type: z.ZodString;
@@ -3295,6 +3394,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
3295
3394
  type: z.ZodString;
3296
3395
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
3297
3396
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
3397
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3298
3398
  }, z.core.$loose>>;
3299
3399
  signature: z.ZodObject<{
3300
3400
  type: z.ZodString;
@@ -3449,6 +3549,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
3449
3549
  path: z.ZodOptional<z.ZodString>;
3450
3550
  name: z.ZodOptional<z.ZodString>;
3451
3551
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3552
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
3452
3553
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
3453
3554
  community: z.ZodOptional<z.ZodObject<{
3454
3555
  addresses: z.ZodArray<z.ZodString>;
@@ -3571,6 +3672,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
3571
3672
  path: z.ZodOptional<z.ZodString>;
3572
3673
  name: z.ZodOptional<z.ZodString>;
3573
3674
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3675
+ publicOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
3574
3676
  exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
3575
3677
  community: z.ZodOptional<z.ZodObject<{
3576
3678
  addresses: z.ZodArray<z.ZodString>;
@@ -3666,6 +3768,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
3666
3768
  type: z.ZodString;
3667
3769
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
3668
3770
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
3771
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3669
3772
  }, z.core.$loose>>>;
3670
3773
  signature: z.ZodOptional<z.ZodObject<{
3671
3774
  type: z.ZodString;
@@ -4237,6 +4340,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
4237
4340
  type: z.ZodString;
4238
4341
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
4239
4342
  pendingApproval: z.ZodOptional<z.ZodBoolean>;
4343
+ publicOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4240
4344
  }, z.core.$loose>>;
4241
4345
  signature: z.ZodObject<{
4242
4346
  type: z.ZodString;
@@ -137,6 +137,10 @@ export const CommunityChallengeSettingSchema = z
137
137
  path: z.string().optional(), // (only if name is undefined) the path to the challenge js file, used to get the props ChallengeFile {optionInputs, type, getChallenge}
138
138
  name: z.string().optional(), // (only if path is undefined) the challengeName from PKC.challenges to identify it
139
139
  options: z.record(z.string(), z.string()).optional(), //{ [optionPropertyName: string]: string } the options to be used to the getChallenge function, all values must be strings for UI ease of use
140
+ // The option names this owner chose to publish in community.challenges[i].publicOptions. Private is
141
+ // the default, so an owner who sets nothing publishes nothing. Only options that are actually set in
142
+ // `options` are emitted. See docs/protocol/challenge-settings.md.
143
+ publicOptions: z.string().array().optional(),
140
144
  exclude: ChallengeExcludeSchema.array().nonempty().optional(), // singular because it only has to match 1 exclude, the client must know the exclude setting to configure what challengeCommentCids to send
141
145
  description: z.string().optional(), // describe in the frontend what kind of challenge the user will receive when publishing
142
146
  pendingApproval: z.boolean().optional()
@@ -149,8 +153,11 @@ export const GetChallengeArgsSchema = z.object({
149
153
  challengeIndex: z.number().int().nonnegative(),
150
154
  community: z.custom()
151
155
  });
152
- export const ChallengeFileSchema = z
153
- .object({
156
+ // Loose, not strict: an unknown key here would be a parse error, and a parse error takes community
157
+ // startup down. A challenge package that ships a newer optional key (see #283's validateChallengeSettings)
158
+ // must still load on an older node, so unknown keys are ignored instead of fatal. The tradeoff is that a
159
+ // misspelled *optional* export (e.g. `descriptio`) is now silently ignored rather than reported.
160
+ export const ChallengeFileSchema = z.looseObject({
154
161
  // the result of the function exported by the challenge file
155
162
  optionInputs: ChallengeOptionInputSchema.array().optional(), // the options inputs fields to display to the user
156
163
  type: ChallengeFromGetChallengeSchema.shape.type,
@@ -160,16 +167,28 @@ export const ChallengeFileSchema = z
160
167
  getChallenge: z.function({
161
168
  input: [GetChallengeArgsSchema],
162
169
  output: z.promise(ResultOfGetChallengeSchema)
163
- })
164
- })
165
- .strict();
170
+ }),
171
+ // Optional semantic validation of the owner's challengeSettings, for the checks only the challenge can
172
+ // make (does `matches` parse as JSON, does every regexp compile). Core already enforces the mechanical
173
+ // things optionInputs describes, so a challenge with nothing semantic to check omits this.
174
+ // Sync and no network: it runs on every community start, so an async validator hitting a third party
175
+ // would turn that third party's outage into a startup problem. Rejection is a throw of anything at all,
176
+ // so a package needs no pkc-js import; core wraps it in a PKCError with code
177
+ // ERR_CHALLENGE_SETTINGS_VALIDATION_FAILED. See docs/protocol/challenge-authoring.md.
178
+ validateChallengeSettings: z
179
+ .function({ input: [z.object({ challengeSettings: CommunityChallengeSettingSchema })], output: z.void() })
180
+ .optional()
181
+ });
166
182
  export const CommunityChallengeSchema = z.looseObject({
167
183
  exclude: ChallengeExcludeSchema.array().nonempty().optional(),
168
184
  description: ChallengeFileSchema.shape.description,
169
185
  challenge: ChallengeFileSchema.shape.challenge,
170
186
  type: ChallengeFileSchema.shape.type,
171
187
  caseInsensitive: ChallengeFileSchema.shape.caseInsensitive,
172
- pendingApproval: z.boolean().optional()
188
+ pendingApproval: z.boolean().optional(),
189
+ // The subset of settings.challenges[i].options the owner opted into publishing, by naming them in
190
+ // settings.challenges[i].publicOptions. Omitted entirely when the owner published nothing.
191
+ publicOptions: z.record(z.string(), z.string()).optional()
173
192
  });
174
193
  export const ChallengeFileFactoryArgsSchema = z.object({
175
194
  challengeSettings: CommunityChallengeSettingSchema
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/community/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EACnB,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AEhF,kBAAkB;AAElB,kDAAkD;AAClD,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CACjD;IACI,KAAK;IACL,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,UAAU;IACV,QAAQ;IACR,KAAK;IACL,uBAAuB;IACvB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,cAAc;IACd,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,SAAS;IACT,SAAS;IACT,+DAA+D;IAC/D,aAAa;CAChB,EACD,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClC,CAAC"}
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/community/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACtB,UAAU,EACV,0BAA0B,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,qCAAqC;AACrC,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,uEAAuE;IAChG,SAAS,EAAE,gCAAgC,CAAC,KAAK,CAAC,SAAS,CAAC,8DAA8D;CAC7H,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC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M,CAAC,MAAM,2BAA2B,GAAG,UAAU,CACjD;IACI,KAAK;IACL,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,UAAU;IACV,QAAQ;IACR,KAAK;IACL,uBAAuB;IACvB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,cAAc;IACd,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,SAAS;IACT,SAAS;IACT,+DAA+D;IAC/D,aAAa;CAChB,EACD,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClC,CAAC"}
@@ -386,5 +386,10 @@ export declare enum messages {
386
386
  ERR_CHALLENGE_RESULT_OVERRIDES_COMMENT_SIGNED_FIELD = "A challenge result attempted to set comment.<field> that is in CommentSignedPropertyNames (would invalidate the author's signature on CommentIpfs)",
387
387
  ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMENT_UPDATE_FIELD = "A challenge result attempted to set commentUpdate.<field> that is in CommentUpdateChallengeReservedFieldNames (community-computed field)",
388
388
  ERR_CHALLENGE_RESULT_OVERRIDES_NON_COMMUNITY_AUTHOR_KEY = "A challenge result attempted to set commentUpdate.author.<field> with a key other than 'community' \u2014 challenges may only extend commentUpdate.author.community",
389
- ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMUNITY_AUTHOR_FIELD = "A challenge result attempted to set commentUpdate.author.community.<field> that is in CommunityAuthorChallengeReservedFieldNames (community-computed or mod-settable field)"
389
+ ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMUNITY_AUTHOR_FIELD = "A challenge result attempted to set commentUpdate.author.community.<field> that is in CommunityAuthorChallengeReservedFieldNames (community-computed or mod-settable field)",
390
+ ERR_CHALLENGE_OPTION_NOT_DECLARED_IN_OPTION_INPUTS = "settings.challenges[i].options has a key that no optionInputs entry of the challenge declares, so it is never read",
391
+ ERR_CHALLENGE_REQUIRED_OPTION_MISSING = "settings.challenges[i].options is missing an option whose optionInputs entry is required",
392
+ ERR_CHALLENGE_PUBLIC_OPTION_NOT_DECLARED_IN_OPTION_INPUTS = "settings.challenges[i].publicOptions names an option that no optionInputs entry of the challenge declares",
393
+ ERR_CHALLENGE_SETTINGS_VALIDATION_FAILED = "The challenge's validateChallengeSettings hook rejected settings.challenges[i]",
394
+ ERR_CHALLENGE_SETTINGS_VALIDATION_FAILED_FOR_CHALLENGES = "One or more challenges in settings.challenges failed validation"
390
395
  }
@@ -402,5 +402,13 @@ export var messages;
402
402
  messages["ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMENT_UPDATE_FIELD"] = "A challenge result attempted to set commentUpdate.<field> that is in CommentUpdateChallengeReservedFieldNames (community-computed field)";
403
403
  messages["ERR_CHALLENGE_RESULT_OVERRIDES_NON_COMMUNITY_AUTHOR_KEY"] = "A challenge result attempted to set commentUpdate.author.<field> with a key other than 'community' \u2014 challenges may only extend commentUpdate.author.community";
404
404
  messages["ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMUNITY_AUTHOR_FIELD"] = "A challenge result attempted to set commentUpdate.author.community.<field> that is in CommunityAuthorChallengeReservedFieldNames (community-computed or mod-settable field)";
405
+ // Validation of settings.challenges[i] against the challenge file. Emitted by the same codes on every
406
+ // path (edit, creation, start), because a consumer filtering on the code cares about what is wrong,
407
+ // not about which path noticed. See docs/protocol/challenge-authoring.md.
408
+ messages["ERR_CHALLENGE_OPTION_NOT_DECLARED_IN_OPTION_INPUTS"] = "settings.challenges[i].options has a key that no optionInputs entry of the challenge declares, so it is never read";
409
+ messages["ERR_CHALLENGE_REQUIRED_OPTION_MISSING"] = "settings.challenges[i].options is missing an option whose optionInputs entry is required";
410
+ messages["ERR_CHALLENGE_PUBLIC_OPTION_NOT_DECLARED_IN_OPTION_INPUTS"] = "settings.challenges[i].publicOptions names an option that no optionInputs entry of the challenge declares";
411
+ messages["ERR_CHALLENGE_SETTINGS_VALIDATION_FAILED"] = "The challenge's validateChallengeSettings hook rejected settings.challenges[i]";
412
+ messages["ERR_CHALLENGE_SETTINGS_VALIDATION_FAILED_FOR_CHALLENGES"] = "One or more challenges in settings.challenges failed validation";
405
413
  })(messages || (messages = {}));
406
414
  //# sourceMappingURL=errors.js.map