@openvtc/trust-tasks 0.28.20 → 0.28.22
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/CHANGELOG.md +49 -0
- package/dist/_shared/components.d.ts +48 -4
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/step-up/requests/show/0.1/payload.d.ts +458 -0
- package/dist/auth/step-up/requests/show/0.1/payload.d.ts.map +1 -0
- package/dist/auth/step-up/requests/show/0.1/payload.js +261 -0
- package/dist/auth/step-up/requests/show/0.1/payload.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/vtc/badges/_shared/0.1/badge.d.ts +1 -1
- package/dist/vtc/badges/_shared/0.1/badge.d.ts.map +1 -1
- package/dist/vtc/badges/claims/create/0.1/payload.d.ts +595 -0
- package/dist/vtc/badges/claims/create/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/create/0.1/payload.js +345 -0
- package/dist/vtc/badges/claims/create/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/claims/list/0.1/payload.d.ts +586 -0
- package/dist/vtc/badges/claims/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/list/0.1/payload.js +335 -0
- package/dist/vtc/badges/claims/list/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.d.ts +720 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.js +417 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.d.ts +512 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.js +305 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/create/0.1/payload.d.ts +40 -16
- package/dist/vtc/badges/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/create/0.1/payload.js +28 -8
- package/dist/vtc/badges/create/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/promote/0.1/payload.d.ts +40 -16
- package/dist/vtc/badges/promote/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/promote/0.1/payload.js +28 -8
- package/dist/vtc/badges/promote/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/show/0.1/payload.d.ts +472 -26
- package/dist/vtc/badges/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/show/0.1/payload.js +264 -12
- package/dist/vtc/badges/show/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/create/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/create/0.1/payload.js +28 -8
- package/dist/vtc/groups/create/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/list/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/list/0.1/payload.js +28 -8
- package/dist/vtc/groups/list/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/list/0.2/payload.d.ts +40 -16
- package/dist/vtc/groups/list/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/groups/list/0.2/payload.js +28 -8
- package/dist/vtc/groups/list/0.2/payload.js.map +1 -1
- package/dist/vtc/groups/show/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/show/0.1/payload.js +28 -8
- package/dist/vtc/groups/show/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/update/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/update/0.1/payload.js +28 -8
- package/dist/vtc/groups/update/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +48 -4
- package/src/auth/step-up/requests/show/0.1/payload.ts +317 -0
- package/src/index.ts +15 -0
- package/src/vtc/badges/_shared/0.1/badge.ts +1 -1
- package/src/vtc/badges/claims/create/0.1/payload.ts +395 -0
- package/src/vtc/badges/claims/list/0.1/payload.ts +386 -0
- package/src/vtc/badges/claims/redeem/0.1/payload.ts +454 -0
- package/src/vtc/badges/claims/withdraw/0.1/payload.ts +342 -0
- package/src/vtc/badges/create/0.1/payload.ts +28 -8
- package/src/vtc/badges/promote/0.1/payload.ts +28 -8
- package/src/vtc/badges/show/0.1/payload.ts +272 -14
- package/src/vtc/groups/create/0.1/payload.ts +28 -8
- package/src/vtc/groups/list/0.1/payload.ts +28 -8
- package/src/vtc/groups/list/0.2/payload.ts +28 -8
- package/src/vtc/groups/show/0.1/payload.ts +28 -8
- package/src/vtc/groups/update/0.1/payload.ts +28 -8
|
@@ -279,14 +279,14 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
279
279
|
};
|
|
280
280
|
readonly RuleCondition: {
|
|
281
281
|
readonly title: "RuleCondition";
|
|
282
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
282
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
283
283
|
readonly type: "object";
|
|
284
284
|
readonly additionalProperties: false;
|
|
285
285
|
readonly required: readonly ["fact", "op"];
|
|
286
286
|
readonly properties: {
|
|
287
287
|
readonly fact: {
|
|
288
288
|
readonly type: "string";
|
|
289
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
289
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
290
290
|
};
|
|
291
291
|
readonly field: {
|
|
292
292
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -294,8 +294,8 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
294
294
|
};
|
|
295
295
|
readonly op: {
|
|
296
296
|
readonly type: "string";
|
|
297
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
298
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
297
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
298
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
299
299
|
};
|
|
300
300
|
readonly value: {
|
|
301
301
|
readonly anyOf: readonly [{
|
|
@@ -314,6 +314,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
314
314
|
readonly maxLength: 256;
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
|
+
readonly count: {
|
|
318
|
+
readonly type: "integer";
|
|
319
|
+
readonly minimum: 1;
|
|
320
|
+
readonly maximum: 100000;
|
|
321
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
322
|
+
};
|
|
317
323
|
};
|
|
318
324
|
};
|
|
319
325
|
readonly FieldKey: {
|
|
@@ -537,14 +543,14 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
537
543
|
};
|
|
538
544
|
readonly RuleCondition: {
|
|
539
545
|
readonly title: "RuleCondition";
|
|
540
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
546
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
541
547
|
readonly type: "object";
|
|
542
548
|
readonly additionalProperties: false;
|
|
543
549
|
readonly required: readonly ["fact", "op"];
|
|
544
550
|
readonly properties: {
|
|
545
551
|
readonly fact: {
|
|
546
552
|
readonly type: "string";
|
|
547
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
553
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
548
554
|
};
|
|
549
555
|
readonly field: {
|
|
550
556
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -552,8 +558,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
552
558
|
};
|
|
553
559
|
readonly op: {
|
|
554
560
|
readonly type: "string";
|
|
555
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
556
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
561
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
562
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
557
563
|
};
|
|
558
564
|
readonly value: {
|
|
559
565
|
readonly anyOf: readonly [{
|
|
@@ -572,6 +578,12 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
572
578
|
readonly maxLength: 256;
|
|
573
579
|
};
|
|
574
580
|
};
|
|
581
|
+
readonly count: {
|
|
582
|
+
readonly type: "integer";
|
|
583
|
+
readonly minimum: 1;
|
|
584
|
+
readonly maximum: 100000;
|
|
585
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
586
|
+
};
|
|
575
587
|
};
|
|
576
588
|
};
|
|
577
589
|
readonly FieldKey: {
|
|
@@ -835,14 +847,14 @@ export declare const SPEC: {
|
|
|
835
847
|
};
|
|
836
848
|
readonly RuleCondition: {
|
|
837
849
|
readonly title: "RuleCondition";
|
|
838
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
850
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
839
851
|
readonly type: "object";
|
|
840
852
|
readonly additionalProperties: false;
|
|
841
853
|
readonly required: readonly ["fact", "op"];
|
|
842
854
|
readonly properties: {
|
|
843
855
|
readonly fact: {
|
|
844
856
|
readonly type: "string";
|
|
845
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
857
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
846
858
|
};
|
|
847
859
|
readonly field: {
|
|
848
860
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -850,8 +862,8 @@ export declare const SPEC: {
|
|
|
850
862
|
};
|
|
851
863
|
readonly op: {
|
|
852
864
|
readonly type: "string";
|
|
853
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
854
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
865
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
866
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
855
867
|
};
|
|
856
868
|
readonly value: {
|
|
857
869
|
readonly anyOf: readonly [{
|
|
@@ -870,6 +882,12 @@ export declare const SPEC: {
|
|
|
870
882
|
readonly maxLength: 256;
|
|
871
883
|
};
|
|
872
884
|
};
|
|
885
|
+
readonly count: {
|
|
886
|
+
readonly type: "integer";
|
|
887
|
+
readonly minimum: 1;
|
|
888
|
+
readonly maximum: 100000;
|
|
889
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
890
|
+
};
|
|
873
891
|
};
|
|
874
892
|
};
|
|
875
893
|
readonly FieldKey: {
|
|
@@ -1104,14 +1122,14 @@ export declare const RESPONSE_SPEC: {
|
|
|
1104
1122
|
};
|
|
1105
1123
|
readonly RuleCondition: {
|
|
1106
1124
|
readonly title: "RuleCondition";
|
|
1107
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
1125
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
1108
1126
|
readonly type: "object";
|
|
1109
1127
|
readonly additionalProperties: false;
|
|
1110
1128
|
readonly required: readonly ["fact", "op"];
|
|
1111
1129
|
readonly properties: {
|
|
1112
1130
|
readonly fact: {
|
|
1113
1131
|
readonly type: "string";
|
|
1114
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
1132
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
1115
1133
|
};
|
|
1116
1134
|
readonly field: {
|
|
1117
1135
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -1119,8 +1137,8 @@ export declare const RESPONSE_SPEC: {
|
|
|
1119
1137
|
};
|
|
1120
1138
|
readonly op: {
|
|
1121
1139
|
readonly type: "string";
|
|
1122
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
1123
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
1140
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
1141
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
1124
1142
|
};
|
|
1125
1143
|
readonly value: {
|
|
1126
1144
|
readonly anyOf: readonly [{
|
|
@@ -1139,6 +1157,12 @@ export declare const RESPONSE_SPEC: {
|
|
|
1139
1157
|
readonly maxLength: 256;
|
|
1140
1158
|
};
|
|
1141
1159
|
};
|
|
1160
|
+
readonly count: {
|
|
1161
|
+
readonly type: "integer";
|
|
1162
|
+
readonly minimum: 1;
|
|
1163
|
+
readonly maximum: 100000;
|
|
1164
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
1165
|
+
};
|
|
1142
1166
|
};
|
|
1143
1167
|
};
|
|
1144
1168
|
readonly FieldKey: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/groups/list/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGxM;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,KAAK,EAAE;QACL,KAAK,EAAE,KAAK,CAAC;QACb;;WAEG;QACH,YAAY,EAAE,QAAQ,GAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -261,7 +261,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
261
261
|
},
|
|
262
262
|
"RuleCondition": {
|
|
263
263
|
"title": "RuleCondition",
|
|
264
|
-
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.",
|
|
264
|
+
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.",
|
|
265
265
|
"type": "object",
|
|
266
266
|
"additionalProperties": false,
|
|
267
267
|
"required": [
|
|
@@ -275,7 +275,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
275
275
|
"role",
|
|
276
276
|
"field",
|
|
277
277
|
"personhood",
|
|
278
|
-
"joinedAt"
|
|
278
|
+
"joinedAt",
|
|
279
|
+
"kudosReceived",
|
|
280
|
+
"ideasSelected",
|
|
281
|
+
"electionTickets"
|
|
279
282
|
]
|
|
280
283
|
},
|
|
281
284
|
"field": {
|
|
@@ -289,9 +292,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
289
292
|
"oneOf",
|
|
290
293
|
"exists",
|
|
291
294
|
"before",
|
|
292
|
-
"after"
|
|
295
|
+
"after",
|
|
296
|
+
"atLeast"
|
|
293
297
|
],
|
|
294
|
-
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`."
|
|
298
|
+
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`."
|
|
295
299
|
},
|
|
296
300
|
"value": {
|
|
297
301
|
"anyOf": [
|
|
@@ -312,6 +316,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
312
316
|
"type": "string",
|
|
313
317
|
"maxLength": 256
|
|
314
318
|
}
|
|
319
|
+
},
|
|
320
|
+
"count": {
|
|
321
|
+
"type": "integer",
|
|
322
|
+
"minimum": 1,
|
|
323
|
+
"maximum": 100000,
|
|
324
|
+
"description": "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`."
|
|
315
325
|
}
|
|
316
326
|
}
|
|
317
327
|
},
|
|
@@ -570,7 +580,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
570
580
|
},
|
|
571
581
|
"RuleCondition": {
|
|
572
582
|
"title": "RuleCondition",
|
|
573
|
-
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.",
|
|
583
|
+
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.",
|
|
574
584
|
"type": "object",
|
|
575
585
|
"additionalProperties": false,
|
|
576
586
|
"required": [
|
|
@@ -584,7 +594,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
584
594
|
"role",
|
|
585
595
|
"field",
|
|
586
596
|
"personhood",
|
|
587
|
-
"joinedAt"
|
|
597
|
+
"joinedAt",
|
|
598
|
+
"kudosReceived",
|
|
599
|
+
"ideasSelected",
|
|
600
|
+
"electionTickets"
|
|
588
601
|
]
|
|
589
602
|
},
|
|
590
603
|
"field": {
|
|
@@ -598,9 +611,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
598
611
|
"oneOf",
|
|
599
612
|
"exists",
|
|
600
613
|
"before",
|
|
601
|
-
"after"
|
|
614
|
+
"after",
|
|
615
|
+
"atLeast"
|
|
602
616
|
],
|
|
603
|
-
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`."
|
|
617
|
+
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`."
|
|
604
618
|
},
|
|
605
619
|
"value": {
|
|
606
620
|
"anyOf": [
|
|
@@ -621,6 +635,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
621
635
|
"type": "string",
|
|
622
636
|
"maxLength": 256
|
|
623
637
|
}
|
|
638
|
+
},
|
|
639
|
+
"count": {
|
|
640
|
+
"type": "integer",
|
|
641
|
+
"minimum": 1,
|
|
642
|
+
"maximum": 100000,
|
|
643
|
+
"description": "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`."
|
|
624
644
|
}
|
|
625
645
|
}
|
|
626
646
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/groups/list/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmDH,2BAA2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,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/groups/list/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,iDAA0D,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAkB,IAAI,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAkB,IAAI,CAAC;AAK/C,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,0DAAmE,CAAC;AAKrG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,6BAA6B;IACtC,aAAa,EAAE,yOAAyO;IACxP,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,MAAM,EAAE;YACN,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,oCAAoC;SACpD;QACD,UAAU,EAAE;YACV,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,yFAAyF;SACzG;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,mKAAmK;SACnL;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,GAAG;YACd,aAAa,EAAE,mGAAmG;SACnH;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,sCAAsC;YAC/C,aAAa,EAAE,iKAAiK;YAChL,MAAM,EAAE,Q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S,EAAE,4BAA4B;SACxC;QACD,SAAS,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,uIAAuI;YACtJ,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,4BAA4B;SACxC;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -219,14 +219,14 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
219
219
|
};
|
|
220
220
|
readonly RuleCondition: {
|
|
221
221
|
readonly title: "RuleCondition";
|
|
222
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
222
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
223
223
|
readonly type: "object";
|
|
224
224
|
readonly additionalProperties: false;
|
|
225
225
|
readonly required: readonly ["fact", "op"];
|
|
226
226
|
readonly properties: {
|
|
227
227
|
readonly fact: {
|
|
228
228
|
readonly type: "string";
|
|
229
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
229
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
230
230
|
};
|
|
231
231
|
readonly field: {
|
|
232
232
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -234,8 +234,8 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
234
234
|
};
|
|
235
235
|
readonly op: {
|
|
236
236
|
readonly type: "string";
|
|
237
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
238
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
237
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
238
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
239
239
|
};
|
|
240
240
|
readonly value: {
|
|
241
241
|
readonly anyOf: readonly [{
|
|
@@ -254,6 +254,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
254
254
|
readonly maxLength: 256;
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
|
+
readonly count: {
|
|
258
|
+
readonly type: "integer";
|
|
259
|
+
readonly minimum: 1;
|
|
260
|
+
readonly maximum: 100000;
|
|
261
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
262
|
+
};
|
|
257
263
|
};
|
|
258
264
|
};
|
|
259
265
|
readonly FieldKey: {
|
|
@@ -460,14 +466,14 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
460
466
|
};
|
|
461
467
|
readonly RuleCondition: {
|
|
462
468
|
readonly title: "RuleCondition";
|
|
463
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
469
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
464
470
|
readonly type: "object";
|
|
465
471
|
readonly additionalProperties: false;
|
|
466
472
|
readonly required: readonly ["fact", "op"];
|
|
467
473
|
readonly properties: {
|
|
468
474
|
readonly fact: {
|
|
469
475
|
readonly type: "string";
|
|
470
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
476
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
471
477
|
};
|
|
472
478
|
readonly field: {
|
|
473
479
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -475,8 +481,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
475
481
|
};
|
|
476
482
|
readonly op: {
|
|
477
483
|
readonly type: "string";
|
|
478
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
479
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
484
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
485
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
480
486
|
};
|
|
481
487
|
readonly value: {
|
|
482
488
|
readonly anyOf: readonly [{
|
|
@@ -495,6 +501,12 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
495
501
|
readonly maxLength: 256;
|
|
496
502
|
};
|
|
497
503
|
};
|
|
504
|
+
readonly count: {
|
|
505
|
+
readonly type: "integer";
|
|
506
|
+
readonly minimum: 1;
|
|
507
|
+
readonly maximum: 100000;
|
|
508
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
509
|
+
};
|
|
498
510
|
};
|
|
499
511
|
};
|
|
500
512
|
readonly FieldKey: {
|
|
@@ -725,14 +737,14 @@ export declare const SPEC: {
|
|
|
725
737
|
};
|
|
726
738
|
readonly RuleCondition: {
|
|
727
739
|
readonly title: "RuleCondition";
|
|
728
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
740
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
729
741
|
readonly type: "object";
|
|
730
742
|
readonly additionalProperties: false;
|
|
731
743
|
readonly required: readonly ["fact", "op"];
|
|
732
744
|
readonly properties: {
|
|
733
745
|
readonly fact: {
|
|
734
746
|
readonly type: "string";
|
|
735
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
747
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
736
748
|
};
|
|
737
749
|
readonly field: {
|
|
738
750
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -740,8 +752,8 @@ export declare const SPEC: {
|
|
|
740
752
|
};
|
|
741
753
|
readonly op: {
|
|
742
754
|
readonly type: "string";
|
|
743
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
744
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
755
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
756
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
745
757
|
};
|
|
746
758
|
readonly value: {
|
|
747
759
|
readonly anyOf: readonly [{
|
|
@@ -760,6 +772,12 @@ export declare const SPEC: {
|
|
|
760
772
|
readonly maxLength: 256;
|
|
761
773
|
};
|
|
762
774
|
};
|
|
775
|
+
readonly count: {
|
|
776
|
+
readonly type: "integer";
|
|
777
|
+
readonly minimum: 1;
|
|
778
|
+
readonly maximum: 100000;
|
|
779
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
780
|
+
};
|
|
763
781
|
};
|
|
764
782
|
};
|
|
765
783
|
readonly FieldKey: {
|
|
@@ -977,14 +995,14 @@ export declare const RESPONSE_SPEC: {
|
|
|
977
995
|
};
|
|
978
996
|
readonly RuleCondition: {
|
|
979
997
|
readonly title: "RuleCondition";
|
|
980
|
-
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.";
|
|
998
|
+
readonly description: "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.";
|
|
981
999
|
readonly type: "object";
|
|
982
1000
|
readonly additionalProperties: false;
|
|
983
1001
|
readonly required: readonly ["fact", "op"];
|
|
984
1002
|
readonly properties: {
|
|
985
1003
|
readonly fact: {
|
|
986
1004
|
readonly type: "string";
|
|
987
|
-
readonly enum: readonly ["role", "field", "personhood", "joinedAt"];
|
|
1005
|
+
readonly enum: readonly ["role", "field", "personhood", "joinedAt", "kudosReceived", "ideasSelected", "electionTickets"];
|
|
988
1006
|
};
|
|
989
1007
|
readonly field: {
|
|
990
1008
|
readonly $ref: "#/$defs/FieldKey";
|
|
@@ -992,8 +1010,8 @@ export declare const RESPONSE_SPEC: {
|
|
|
992
1010
|
};
|
|
993
1011
|
readonly op: {
|
|
994
1012
|
readonly type: "string";
|
|
995
|
-
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after"];
|
|
996
|
-
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`.";
|
|
1013
|
+
readonly enum: readonly ["equals", "oneOf", "exists", "before", "after", "atLeast"];
|
|
1014
|
+
readonly description: "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`.";
|
|
997
1015
|
};
|
|
998
1016
|
readonly value: {
|
|
999
1017
|
readonly anyOf: readonly [{
|
|
@@ -1012,6 +1030,12 @@ export declare const RESPONSE_SPEC: {
|
|
|
1012
1030
|
readonly maxLength: 256;
|
|
1013
1031
|
};
|
|
1014
1032
|
};
|
|
1033
|
+
readonly count: {
|
|
1034
|
+
readonly type: "integer";
|
|
1035
|
+
readonly minimum: 1;
|
|
1036
|
+
readonly maximum: 100000;
|
|
1037
|
+
readonly description: "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`.";
|
|
1038
|
+
};
|
|
1015
1039
|
};
|
|
1016
1040
|
};
|
|
1017
1041
|
readonly FieldKey: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/groups/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGxM;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;IACvE,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ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EX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -228,7 +228,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
228
228
|
},
|
|
229
229
|
"RuleCondition": {
|
|
230
230
|
"title": "RuleCondition",
|
|
231
|
-
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.",
|
|
231
|
+
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.",
|
|
232
232
|
"type": "object",
|
|
233
233
|
"additionalProperties": false,
|
|
234
234
|
"required": [
|
|
@@ -242,7 +242,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
242
242
|
"role",
|
|
243
243
|
"field",
|
|
244
244
|
"personhood",
|
|
245
|
-
"joinedAt"
|
|
245
|
+
"joinedAt",
|
|
246
|
+
"kudosReceived",
|
|
247
|
+
"ideasSelected",
|
|
248
|
+
"electionTickets"
|
|
246
249
|
]
|
|
247
250
|
},
|
|
248
251
|
"field": {
|
|
@@ -256,9 +259,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
256
259
|
"oneOf",
|
|
257
260
|
"exists",
|
|
258
261
|
"before",
|
|
259
|
-
"after"
|
|
262
|
+
"after",
|
|
263
|
+
"atLeast"
|
|
260
264
|
],
|
|
261
|
-
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`."
|
|
265
|
+
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`."
|
|
262
266
|
},
|
|
263
267
|
"value": {
|
|
264
268
|
"anyOf": [
|
|
@@ -279,6 +283,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
279
283
|
"type": "string",
|
|
280
284
|
"maxLength": 256
|
|
281
285
|
}
|
|
286
|
+
},
|
|
287
|
+
"count": {
|
|
288
|
+
"type": "integer",
|
|
289
|
+
"minimum": 1,
|
|
290
|
+
"maximum": 100000,
|
|
291
|
+
"description": "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`."
|
|
282
292
|
}
|
|
283
293
|
}
|
|
284
294
|
},
|
|
@@ -518,7 +528,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
518
528
|
},
|
|
519
529
|
"RuleCondition": {
|
|
520
530
|
"title": "RuleCondition",
|
|
521
|
-
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card.",
|
|
531
|
+
"description": "One test over a verified fact about a member. `fact: role` tests the member's community role; `fact: field` tests an `admin`- or `credential`-sourced directory field named by `field`; `fact: personhood` tests whether a personhood assertion is on file; `fact: joinedAt` tests when they joined. A rule never reads a self-asserted (`member`-sourced) field: a member must not be able to join a group by editing their card. `kudosReceived`, `ideasSelected` and `electionTickets` are counts the community keeps of its own records (kudos the member accepted, ideas of theirs a board selected, elections it issued them a ticket in), compared with `atLeast`; only a badge's group reads them (VTI-BDG-015), and any other group refuses them with `ruleInvalid`.",
|
|
522
532
|
"type": "object",
|
|
523
533
|
"additionalProperties": false,
|
|
524
534
|
"required": [
|
|
@@ -532,7 +542,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
532
542
|
"role",
|
|
533
543
|
"field",
|
|
534
544
|
"personhood",
|
|
535
|
-
"joinedAt"
|
|
545
|
+
"joinedAt",
|
|
546
|
+
"kudosReceived",
|
|
547
|
+
"ideasSelected",
|
|
548
|
+
"electionTickets"
|
|
536
549
|
]
|
|
537
550
|
},
|
|
538
551
|
"field": {
|
|
@@ -546,9 +559,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
546
559
|
"oneOf",
|
|
547
560
|
"exists",
|
|
548
561
|
"before",
|
|
549
|
-
"after"
|
|
562
|
+
"after",
|
|
563
|
+
"atLeast"
|
|
550
564
|
],
|
|
551
|
-
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`."
|
|
565
|
+
"description": "`equals` compares with `value`; `oneOf` with any of `values`; `exists` needs neither; `before` and `after` compare a date fact with `value`; `atLeast` compares a count fact with `count`."
|
|
552
566
|
},
|
|
553
567
|
"value": {
|
|
554
568
|
"anyOf": [
|
|
@@ -569,6 +583,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
569
583
|
"type": "string",
|
|
570
584
|
"maxLength": 256
|
|
571
585
|
}
|
|
586
|
+
},
|
|
587
|
+
"count": {
|
|
588
|
+
"type": "integer",
|
|
589
|
+
"minimum": 1,
|
|
590
|
+
"maximum": 100000,
|
|
591
|
+
"description": "With `atLeast`: the least a count fact (`kudosReceived`, `ideasSelected`, `electionTickets`) must be. Present exactly when `op` is `atLeast`."
|
|
572
592
|
}
|
|
573
593
|
}
|
|
574
594
|
},
|