Browse Source

types: fix WorkingGroup type

Mokhtar Naamani 3 years ago
parent
commit
f88d5eb550
3 changed files with 0 additions and 8 deletions
  1. 0 2
      types/augment/all/defs.json
  2. 0 2
      types/augment/all/types.ts
  3. 0 4
      types/src/common.ts

+ 0 - 2
types/augment/all/defs.json

@@ -82,8 +82,6 @@
     },
     "WorkingGroup": {
         "_enum": [
-            "_Reserved0",
-            "_Reserved1",
             "Storage",
             "Content",
             "OperationsAlpha",

+ 0 - 2
types/augment/all/types.ts

@@ -1400,8 +1400,6 @@ export interface WorkerOf extends Struct {
 
 /** @name WorkingGroup */
 export interface WorkingGroup extends Enum {
-  readonly isReserved0: boolean;
-  readonly isReserved1: boolean;
   readonly isStorage: boolean;
   readonly isContent: boolean;
   readonly isOperationsAlpha: boolean;

+ 0 - 4
types/src/common.ts

@@ -72,8 +72,6 @@ export class InputValidationLengthConstraint
 
 // Reserved keys are not part of the exported definition const, since they are not intented to be used
 export const WorkingGroupDef = {
-  // _Reserved0
-  // _Reserved1
   Storage: Null,
   Content: Null,
   OperationsAlpha: Null,
@@ -84,8 +82,6 @@ export const WorkingGroupDef = {
 } as const
 export type WorkingGroupKey = keyof typeof WorkingGroupDef
 export class WorkingGroup extends JoyEnum({
-  _Reserved0: Null,
-  _Reserved1: Null,
   ...WorkingGroupDef,
 }) {}