@snapshot-labs/snapshot.js 0.11.33 → 0.11.35

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 CHANGED
@@ -593,8 +593,25 @@ declare const _default: {
593
593
  title: string;
594
594
  maxLength: number;
595
595
  };
596
+ discourse: {
597
+ type: string;
598
+ title: string;
599
+ pattern: string;
600
+ maxLength: number;
601
+ minLength: number;
602
+ };
603
+ network: {
604
+ type: string;
605
+ title: string;
606
+ pattern: string;
607
+ maxLength: number;
608
+ };
609
+ status: {
610
+ enum: string[];
611
+ title: string;
612
+ };
596
613
  };
597
- required: string[];
614
+ required: never[];
598
615
  additionalProperties: boolean;
599
616
  };
600
617
  zodiac: {
@@ -589,8 +589,25 @@ declare const _default: {
589
589
  title: string;
590
590
  maxLength: number;
591
591
  };
592
+ discourse: {
593
+ type: string;
594
+ title: string;
595
+ pattern: string;
596
+ maxLength: number;
597
+ minLength: number;
598
+ };
599
+ network: {
600
+ type: string;
601
+ title: string;
602
+ pattern: string;
603
+ maxLength: number;
604
+ };
605
+ status: {
606
+ enum: string[];
607
+ title: string;
608
+ };
592
609
  };
593
- required: string[];
610
+ required: never[];
594
611
  additionalProperties: boolean;
595
612
  };
596
613
  zodiac: {
@@ -91,6 +91,9 @@ export interface Statement {
91
91
  space: string;
92
92
  about: string;
93
93
  statement: string;
94
+ discourse?: string;
95
+ status?: string;
96
+ network?: string;
94
97
  }
95
98
  export interface Alias {
96
99
  from?: string;
@@ -300,7 +300,10 @@ var statementTypes = {
300
300
  { name: 'timestamp', type: 'uint64' },
301
301
  { name: 'space', type: 'string' },
302
302
  { name: 'about', type: 'string' },
303
- { name: 'statement', type: 'string' }
303
+ { name: 'statement', type: 'string' },
304
+ { name: 'discourse', type: 'string' },
305
+ { name: 'status', type: 'string' },
306
+ { name: 'network', type: 'string' }
304
307
  ]
305
308
  };
306
309
  var aliasTypes = {
@@ -1321,10 +1324,29 @@ var definitions$5 = {
1321
1324
  format: "long",
1322
1325
  title: "Statement",
1323
1326
  maxLength: 10000
1327
+ },
1328
+ discourse: {
1329
+ type: "string",
1330
+ title: "discourse",
1331
+ pattern: "^[A-Za-z0-9-_.]*$",
1332
+ maxLength: 30,
1333
+ minLength: 3
1334
+ },
1335
+ network: {
1336
+ type: "string",
1337
+ title: "network",
1338
+ pattern: "^[a-z0-9-]*$",
1339
+ maxLength: 24
1340
+ },
1341
+ status: {
1342
+ "enum": [
1343
+ "active",
1344
+ "inactive"
1345
+ ],
1346
+ title: "status"
1324
1347
  }
1325
1348
  },
1326
1349
  required: [
1327
- "about"
1328
1350
  ],
1329
1351
  additionalProperties: false
1330
1352
  }
@@ -290,7 +290,10 @@ var statementTypes = {
290
290
  { name: 'timestamp', type: 'uint64' },
291
291
  { name: 'space', type: 'string' },
292
292
  { name: 'about', type: 'string' },
293
- { name: 'statement', type: 'string' }
293
+ { name: 'statement', type: 'string' },
294
+ { name: 'discourse', type: 'string' },
295
+ { name: 'status', type: 'string' },
296
+ { name: 'network', type: 'string' }
294
297
  ]
295
298
  };
296
299
  var aliasTypes = {
@@ -1311,10 +1314,29 @@ var definitions$5 = {
1311
1314
  format: "long",
1312
1315
  title: "Statement",
1313
1316
  maxLength: 10000
1317
+ },
1318
+ discourse: {
1319
+ type: "string",
1320
+ title: "discourse",
1321
+ pattern: "^[A-Za-z0-9-_.]*$",
1322
+ maxLength: 30,
1323
+ minLength: 3
1324
+ },
1325
+ network: {
1326
+ type: "string",
1327
+ title: "network",
1328
+ pattern: "^[a-z0-9-]*$",
1329
+ maxLength: 24
1330
+ },
1331
+ status: {
1332
+ "enum": [
1333
+ "active",
1334
+ "inactive"
1335
+ ],
1336
+ title: "status"
1314
1337
  }
1315
1338
  },
1316
1339
  required: [
1317
- "about"
1318
1340
  ],
1319
1341
  additionalProperties: false
1320
1342
  }