@snapshot-labs/snapshot.js 0.12.19 → 0.12.20

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.
@@ -80,6 +80,7 @@ const proposalTypes = {
80
80
  { name: 'body', type: 'string' },
81
81
  { name: 'discussion', type: 'string' },
82
82
  { name: 'choices', type: 'string[]' },
83
+ { name: 'labels', type: 'string[]' },
83
84
  { name: 'start', type: 'uint64' },
84
85
  { name: 'end', type: 'uint64' },
85
86
  { name: 'snapshot', type: 'uint64' },
@@ -98,6 +99,7 @@ const updateProposalTypes = {
98
99
  { name: 'body', type: 'string' },
99
100
  { name: 'discussion', type: 'string' },
100
101
  { name: 'choices', type: 'string[]' },
102
+ { name: 'labels', type: 'string[]' },
101
103
  { name: 'plugins', type: 'string' }
102
104
  ]
103
105
  };
@@ -988,6 +990,18 @@ var definitions$1 = {
988
990
  turbo: 1000
989
991
  }
990
992
  },
993
+ labels: {
994
+ type: "array",
995
+ title: "labels",
996
+ maxItems: 10,
997
+ uniqueItems: true,
998
+ items: {
999
+ type: "string",
1000
+ minLength: 1,
1001
+ maxLength: 8,
1002
+ pattern: "^[a-zA-Z0-9]+$"
1003
+ }
1004
+ },
991
1005
  type: {
992
1006
  type: "string",
993
1007
  "enum": [
@@ -1084,6 +1098,18 @@ var definitions$2 = {
1084
1098
  turbo: 1000
1085
1099
  }
1086
1100
  },
1101
+ labels: {
1102
+ type: "array",
1103
+ title: "labels",
1104
+ maxItems: 10,
1105
+ uniqueItems: true,
1106
+ items: {
1107
+ type: "string",
1108
+ minLength: 1,
1109
+ maxLength: 8,
1110
+ pattern: "^[a-zA-Z0-9]+$"
1111
+ }
1112
+ },
1087
1113
  type: {
1088
1114
  "enum": [
1089
1115
  "single-choice",
@@ -70,6 +70,7 @@ const proposalTypes = {
70
70
  { name: 'body', type: 'string' },
71
71
  { name: 'discussion', type: 'string' },
72
72
  { name: 'choices', type: 'string[]' },
73
+ { name: 'labels', type: 'string[]' },
73
74
  { name: 'start', type: 'uint64' },
74
75
  { name: 'end', type: 'uint64' },
75
76
  { name: 'snapshot', type: 'uint64' },
@@ -88,6 +89,7 @@ const updateProposalTypes = {
88
89
  { name: 'body', type: 'string' },
89
90
  { name: 'discussion', type: 'string' },
90
91
  { name: 'choices', type: 'string[]' },
92
+ { name: 'labels', type: 'string[]' },
91
93
  { name: 'plugins', type: 'string' }
92
94
  ]
93
95
  };
@@ -978,6 +980,18 @@ var definitions$1 = {
978
980
  turbo: 1000
979
981
  }
980
982
  },
983
+ labels: {
984
+ type: "array",
985
+ title: "labels",
986
+ maxItems: 10,
987
+ uniqueItems: true,
988
+ items: {
989
+ type: "string",
990
+ minLength: 1,
991
+ maxLength: 8,
992
+ pattern: "^[a-zA-Z0-9]+$"
993
+ }
994
+ },
981
995
  type: {
982
996
  type: "string",
983
997
  "enum": [
@@ -1074,6 +1088,18 @@ var definitions$2 = {
1074
1088
  turbo: 1000
1075
1089
  }
1076
1090
  },
1091
+ labels: {
1092
+ type: "array",
1093
+ title: "labels",
1094
+ maxItems: 10,
1095
+ uniqueItems: true,
1096
+ items: {
1097
+ type: "string",
1098
+ minLength: 1,
1099
+ maxLength: 8,
1100
+ pattern: "^[a-zA-Z0-9]+$"
1101
+ }
1102
+ },
1077
1103
  type: {
1078
1104
  "enum": [
1079
1105
  "single-choice",