@snapshot-labs/snapshot.js 0.4.60 → 0.4.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -0
- package/dist/schemas/index.d.ts +12 -0
- package/dist/snapshot.cjs.js +13 -1
- package/dist/snapshot.esm.js +13 -1
- package/dist/snapshot.min.js +1 -1
- package/package.json +1 -1
- package/src/schemas/proposal.json +1 -1
- package/src/schemas/space.json +12 -0
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,18 @@ declare const _default: {
|
|
|
151
151
|
title: string;
|
|
152
152
|
uniqueItems: boolean;
|
|
153
153
|
};
|
|
154
|
+
moderators: {
|
|
155
|
+
type: string;
|
|
156
|
+
maxItems: number;
|
|
157
|
+
items: {
|
|
158
|
+
type: string;
|
|
159
|
+
pattern: string;
|
|
160
|
+
minLength: number;
|
|
161
|
+
maxLength: number;
|
|
162
|
+
};
|
|
163
|
+
title: string;
|
|
164
|
+
uniqueItems: boolean;
|
|
165
|
+
};
|
|
154
166
|
filters: {
|
|
155
167
|
type: string;
|
|
156
168
|
properties: {
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -147,6 +147,18 @@ declare const _default: {
|
|
|
147
147
|
title: string;
|
|
148
148
|
uniqueItems: boolean;
|
|
149
149
|
};
|
|
150
|
+
moderators: {
|
|
151
|
+
type: string;
|
|
152
|
+
maxItems: number;
|
|
153
|
+
items: {
|
|
154
|
+
type: string;
|
|
155
|
+
pattern: string;
|
|
156
|
+
minLength: number;
|
|
157
|
+
maxLength: number;
|
|
158
|
+
};
|
|
159
|
+
title: string;
|
|
160
|
+
uniqueItems: boolean;
|
|
161
|
+
};
|
|
150
162
|
filters: {
|
|
151
163
|
type: string;
|
|
152
164
|
properties: {
|
package/dist/snapshot.cjs.js
CHANGED
|
@@ -636,6 +636,18 @@ var definitions = {
|
|
|
636
636
|
title: "admins",
|
|
637
637
|
uniqueItems: true
|
|
638
638
|
},
|
|
639
|
+
moderators: {
|
|
640
|
+
type: "array",
|
|
641
|
+
maxItems: 100,
|
|
642
|
+
items: {
|
|
643
|
+
type: "string",
|
|
644
|
+
pattern: "^0x[a-fA-F0-9]{40}$",
|
|
645
|
+
minLength: 42,
|
|
646
|
+
maxLength: 42
|
|
647
|
+
},
|
|
648
|
+
title: "moderators",
|
|
649
|
+
uniqueItems: true
|
|
650
|
+
},
|
|
639
651
|
filters: {
|
|
640
652
|
type: "object",
|
|
641
653
|
properties: {
|
|
@@ -874,7 +886,7 @@ var definitions$1 = {
|
|
|
874
886
|
type: "array",
|
|
875
887
|
title: "choices",
|
|
876
888
|
minItems: 1,
|
|
877
|
-
maxItems:
|
|
889
|
+
maxItems: 500
|
|
878
890
|
},
|
|
879
891
|
type: {
|
|
880
892
|
type: "string",
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -627,6 +627,18 @@ var definitions = {
|
|
|
627
627
|
title: "admins",
|
|
628
628
|
uniqueItems: true
|
|
629
629
|
},
|
|
630
|
+
moderators: {
|
|
631
|
+
type: "array",
|
|
632
|
+
maxItems: 100,
|
|
633
|
+
items: {
|
|
634
|
+
type: "string",
|
|
635
|
+
pattern: "^0x[a-fA-F0-9]{40}$",
|
|
636
|
+
minLength: 42,
|
|
637
|
+
maxLength: 42
|
|
638
|
+
},
|
|
639
|
+
title: "moderators",
|
|
640
|
+
uniqueItems: true
|
|
641
|
+
},
|
|
630
642
|
filters: {
|
|
631
643
|
type: "object",
|
|
632
644
|
properties: {
|
|
@@ -865,7 +877,7 @@ var definitions$1 = {
|
|
|
865
877
|
type: "array",
|
|
866
878
|
title: "choices",
|
|
867
879
|
minItems: 1,
|
|
868
|
-
maxItems:
|
|
880
|
+
maxItems: 500
|
|
869
881
|
},
|
|
870
882
|
type: {
|
|
871
883
|
type: "string",
|