Skip to content

Commit

Permalink
Update schema with NACE codes (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
p-janik authored Aug 16, 2023
1 parent fbb2b68 commit 673bd11
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
42 changes: 42 additions & 0 deletions lib/graphql/schema.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2158,6 +2158,47 @@ export type MutationResult = {|
success: $ElementType<Scalars, 'Boolean'>,
|};

/** NACE codes */
export type NaceCode = {|
__typename?: 'NACECode',
code: NaceCodeEnum,
deDescription: $ElementType<Scalars, 'String'>,
enDescription: $ElementType<Scalars, 'String'>,
|};

export const NaceCodeEnumValues = Object.freeze({
A: 'A',
C: 'C',
F: 'F',
G: 'G',
H: 'H',
I: 'I',
J: 'J',
J_62_01: 'J_62_01',
K: 'K',
L: 'L',
M_69: 'M_69',
M_70_1: 'M_70_1',
M_70_2: 'M_70_2',
M_71: 'M_71',
M_72: 'M_72',
M_73: 'M_73',
M_74_1: 'M_74_1',
M_74_9: 'M_74_9',
N_79: 'N_79',
N_81: 'N_81',
N_82: 'N_82',
O: 'O',
P: 'P',
Q: 'Q',
R: 'R',
R_90: 'R_90',
S: 'S'
});


export type NaceCodeEnum = $Values<typeof NaceCodeEnumValues>;

export const NationalityValues = Object.freeze({
Ad: 'AD',
Ae: 'AE',
Expand Down Expand Up @@ -2584,6 +2625,7 @@ export type Query = {|
genericFeatures: Array<GenericFeature>,
/** Determines if user device has restricted key added */
hasDeviceRestrictedKey: $ElementType<Scalars, 'Boolean'>,
naceCodes: Array<NaceCode>,
status: SystemStatus,
/** The current user information */
viewer?: ?User,
Expand Down
39 changes: 39 additions & 0 deletions lib/graphql/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2056,6 +2056,44 @@ export type MutationResult = {
success: Scalars['Boolean'];
};

/** NACE codes */
export type NaceCode = {
__typename?: 'NACECode';
code: NaceCodeEnum;
deDescription: Scalars['String'];
enDescription: Scalars['String'];
};

export enum NaceCodeEnum {
A = 'A',
C = 'C',
F = 'F',
G = 'G',
H = 'H',
I = 'I',
J = 'J',
J_62_01 = 'J_62_01',
K = 'K',
L = 'L',
M_69 = 'M_69',
M_70_1 = 'M_70_1',
M_70_2 = 'M_70_2',
M_71 = 'M_71',
M_72 = 'M_72',
M_73 = 'M_73',
M_74_1 = 'M_74_1',
M_74_9 = 'M_74_9',
N_79 = 'N_79',
N_81 = 'N_81',
N_82 = 'N_82',
O = 'O',
P = 'P',
Q = 'Q',
R = 'R',
R_90 = 'R_90',
S = 'S'
}

export enum Nationality {
Ad = 'AD',
Ae = 'AE',
Expand Down Expand Up @@ -2458,6 +2496,7 @@ export type Query = {
genericFeatures: Array<GenericFeature>;
/** Determines if user device has restricted key added */
hasDeviceRestrictedKey: Scalars['Boolean'];
naceCodes: Array<NaceCode>;
status: SystemStatus;
/** The current user information */
viewer?: Maybe<User>;
Expand Down

0 comments on commit 673bd11

Please sign in to comment.