elections-types 1.0.21 → 1.0.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.
@@ -1,4 +1,4 @@
1
- export declare const designations: readonly ["F1", "F2", "F3", "F24"];
1
+ export declare const designations: readonly ["P", "A", "U", "J", "D", "B"];
2
2
  export type CommitteeDesignation = typeof designations[number];
3
3
  export declare function is_committee_designation(designation: any): designation is CommitteeDesignation;
4
4
  export declare class Committee {
@@ -1,4 +1,4 @@
1
- export const designations = ["F1", "F2", "F3", "F24"];
1
+ export const designations = ["P", "A", "U", "J", "D", "B"];
2
2
  export function is_committee_designation(designation) {
3
3
  return designations.includes(designation);
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elections-types",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -1,4 +1,4 @@
1
- export const designations = ["F1", "F2", "F3", "F24"] as const
1
+ export const designations = ["P", "A", "U", "J", "D", "B"] as const
2
2
 
3
3
  export type CommitteeDesignation = typeof designations[number]
4
4