@code0-tech/sagittarius-graphql-types 0.0.0-755f9382e6589ede0182dace55452703bcd6e85b → 0.0.0-ca5a2e89e8ecc3f5f20bf795a7da11d37e15e88e

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.
Files changed (2) hide show
  1. package/index.d.ts +171 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -40,7 +40,6 @@ export interface Scalars {
40
40
  RuntimeID: { input: `gid://sagittarius/Runtime/${number}`; output: `gid://sagittarius/Runtime/${number}`; }
41
41
  RuntimeParameterDefinitionID: { input: `gid://sagittarius/RuntimeParameterDefinition/${number}`; output: `gid://sagittarius/RuntimeParameterDefinition/${number}`; }
42
42
  Time: { input: string; output: string; }
43
- TypesFlowTypeID: { input: `gid://sagittarius/TypesFlowType/${number}`; output: `gid://sagittarius/TypesFlowType/${number}`; }
44
43
  UserID: { input: `gid://sagittarius/User/${number}`; output: `gid://sagittarius/User/${number}`; }
45
44
  UserIdentityID: { input: `gid://sagittarius/UserIdentity/${number}`; output: `gid://sagittarius/UserIdentity/${number}`; }
46
45
  UserSessionID: { input: `gid://sagittarius/UserSession/${number}`; output: `gid://sagittarius/UserSession/${number}`; }
@@ -55,6 +54,15 @@ export interface ActiveModelError {
55
54
  type?: Maybe<Scalars['String']['output']>;
56
55
  }
57
56
 
57
+ /** Represents the application instance */
58
+ export interface Application {
59
+ __typename?: 'Application';
60
+ /** Metadata about the application */
61
+ metadata?: Maybe<Metadata>;
62
+ /** Global application settings */
63
+ settings?: Maybe<ApplicationSettings>;
64
+ }
65
+
58
66
  /** Represents the application settings */
59
67
  export interface ApplicationSettings {
60
68
  __typename?: 'ApplicationSettings';
@@ -91,8 +99,12 @@ export type Authentication = UserSession;
91
99
  /** Represents a DataType */
92
100
  export interface DataType {
93
101
  __typename?: 'DataType';
102
+ /** Name of the function */
103
+ aliases?: Maybe<TranslationConnection>;
94
104
  /** Time when this DataType was created */
95
105
  createdAt?: Maybe<Scalars['Time']['output']>;
106
+ /** Display message of the function */
107
+ displayMessages?: Maybe<TranslationConnection>;
96
108
  /** Generic keys of the datatype */
97
109
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
110
  /** Global ID of this DataType */
@@ -112,6 +124,24 @@ export interface DataType {
112
124
  }
113
125
 
114
126
 
127
+ /** Represents a DataType */
128
+ export interface DataTypeAliasesArgs {
129
+ after?: InputMaybe<Scalars['String']['input']>;
130
+ before?: InputMaybe<Scalars['String']['input']>;
131
+ first?: InputMaybe<Scalars['Int']['input']>;
132
+ last?: InputMaybe<Scalars['Int']['input']>;
133
+ }
134
+
135
+
136
+ /** Represents a DataType */
137
+ export interface DataTypeDisplayMessagesArgs {
138
+ after?: InputMaybe<Scalars['String']['input']>;
139
+ before?: InputMaybe<Scalars['String']['input']>;
140
+ first?: InputMaybe<Scalars['Int']['input']>;
141
+ last?: InputMaybe<Scalars['Int']['input']>;
142
+ }
143
+
144
+
115
145
  /** Represents a DataType */
116
146
  export interface DataTypeNameArgs {
117
147
  after?: InputMaybe<Scalars['String']['input']>;
@@ -296,7 +326,7 @@ export const enum DataTypeRulesVariant {
296
326
  /** The rule checks if a specific type is present in the data type. */
297
327
  ContainsType = 'CONTAINS_TYPE',
298
328
  /** The rule checks if the data type matches a specific input type. */
299
- InputType = 'INPUT_TYPE',
329
+ InputTypes = 'INPUT_TYPES',
300
330
  /** The rule checks if an item is part of a collection in the data type. */
301
331
  ItemOfCollection = 'ITEM_OF_COLLECTION',
302
332
  /** The rule checks if a number falls within a specified range. */
@@ -370,6 +400,10 @@ export const enum ErrorCodeEnum {
370
400
  CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
371
401
  /** This action would remove the last administrative ability */
372
402
  CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
403
+ /** The data type identifier with the given identifier was not found */
404
+ DataTypeIdentifierNotFound = 'DATA_TYPE_IDENTIFIER_NOT_FOUND',
405
+ /** The data type with the given identifier was not found */
406
+ DataTypeNotFound = 'DATA_TYPE_NOT_FOUND',
373
407
  /** Failed to send the email verification */
374
408
  EmailVerificationSendFailed = 'EMAIL_VERIFICATION_SEND_FAILED',
375
409
  /** This external identity does not exist */
@@ -396,12 +430,18 @@ export const enum ErrorCodeEnum {
396
430
  InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
397
431
  /** The attachment is invalid because of active model errors */
398
432
  InvalidAttachment = 'INVALID_ATTACHMENT',
433
+ /** The data type is invalid because of active model errors */
434
+ InvalidDataType = 'INVALID_DATA_TYPE',
399
435
  /** This external identity is invalid */
400
436
  InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
401
437
  /** The flow is invalid because of active model errors */
402
438
  InvalidFlow = 'INVALID_FLOW',
403
439
  /** The flow setting is invalid because of active model errors */
404
440
  InvalidFlowSetting = 'INVALID_FLOW_SETTING',
441
+ /** The flow type is invalid because of active model errors */
442
+ InvalidFlowType = 'INVALID_FLOW_TYPE',
443
+ /** The generic mapper is invalid because of active model errors */
444
+ InvalidGenericMapper = 'INVALID_GENERIC_MAPPER',
405
445
  /** Invalid login data provided */
406
446
  InvalidLoginData = 'INVALID_LOGIN_DATA',
407
447
  /** The namespace license is invalid because of active model errors */
@@ -418,6 +458,14 @@ export const enum ErrorCodeEnum {
418
458
  InvalidPasswordRepeat = 'INVALID_PASSWORD_REPEAT',
419
459
  /** The runtime is invalid because of active model errors */
420
460
  InvalidRuntime = 'INVALID_RUNTIME',
461
+ /** The runtime function definition is invalid */
462
+ InvalidRuntimeFunctionDefinition = 'INVALID_RUNTIME_FUNCTION_DEFINITION',
463
+ /** The runtime function ID is invalid */
464
+ InvalidRuntimeFunctionId = 'INVALID_RUNTIME_FUNCTION_ID',
465
+ /** The runtime parameter definition is invalid */
466
+ InvalidRuntimeParameterDefinition = 'INVALID_RUNTIME_PARAMETER_DEFINITION',
467
+ /** The runtime parameter ID is invalid */
468
+ InvalidRuntimeParameterId = 'INVALID_RUNTIME_PARAMETER_ID',
421
469
  /** Invalid setting provided */
422
470
  InvalidSetting = 'INVALID_SETTING',
423
471
  /** The TOTP secret is invalid or cannot be verified */
@@ -456,8 +504,14 @@ export const enum ErrorCodeEnum {
456
504
  NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
457
505
  /** The namespace role with the given identifier was not found */
458
506
  NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
507
+ /** No data type identifier could be found for the given generic key */
508
+ NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
509
+ /** No data type could be found for the given identifier */
510
+ NoDataTypeForIdentifier = 'NO_DATA_TYPE_FOR_IDENTIFIER',
459
511
  /** There are no free license seats to complete this operation */
460
512
  NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
513
+ /** No generic type could be found for the given identifier */
514
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
461
515
  /** The project does not have a primary runtime */
462
516
  NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
463
517
  /** The organization with the given identifier was not found */
@@ -468,6 +522,8 @@ export const enum ErrorCodeEnum {
468
522
  PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
469
523
  /** The namespace project with the given identifier was not found */
470
524
  ProjectNotFound = 'PROJECT_NOT_FOUND',
525
+ /** A referenced value could not be found */
526
+ ReferencedValueNotFound = 'REFERENCED_VALUE_NOT_FOUND',
471
527
  /** Self-registration is disabled */
472
528
  RegistrationDisabled = 'REGISTRATION_DISABLED',
473
529
  /** Resources are from different runtimes */
@@ -619,16 +675,20 @@ export interface FlowSettingInput {
619
675
  /** Represents a flow type */
620
676
  export interface FlowType {
621
677
  __typename?: 'FlowType';
678
+ /** Name of the function */
679
+ aliases?: Maybe<TranslationConnection>;
622
680
  /** Time when this FlowType was created */
623
681
  createdAt?: Maybe<Scalars['Time']['output']>;
624
682
  /** Descriptions of the flow type */
625
683
  descriptions?: Maybe<TranslationConnection>;
684
+ /** Display message of the function */
685
+ displayMessages?: Maybe<TranslationConnection>;
626
686
  /** Editable status of the flow type */
627
687
  editable?: Maybe<Scalars['Boolean']['output']>;
628
688
  /** Flow type settings of the flow type */
629
689
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
630
690
  /** Global ID of this FlowType */
631
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
691
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
632
692
  /** Identifier of the flow type */
633
693
  identifier?: Maybe<Scalars['String']['output']>;
634
694
  /** Input type of the flow type */
@@ -642,6 +702,15 @@ export interface FlowType {
642
702
  }
643
703
 
644
704
 
705
+ /** Represents a flow type */
706
+ export interface FlowTypeAliasesArgs {
707
+ after?: InputMaybe<Scalars['String']['input']>;
708
+ before?: InputMaybe<Scalars['String']['input']>;
709
+ first?: InputMaybe<Scalars['Int']['input']>;
710
+ last?: InputMaybe<Scalars['Int']['input']>;
711
+ }
712
+
713
+
645
714
  /** Represents a flow type */
646
715
  export interface FlowTypeDescriptionsArgs {
647
716
  after?: InputMaybe<Scalars['String']['input']>;
@@ -651,6 +720,15 @@ export interface FlowTypeDescriptionsArgs {
651
720
  }
652
721
 
653
722
 
723
+ /** Represents a flow type */
724
+ export interface FlowTypeDisplayMessagesArgs {
725
+ after?: InputMaybe<Scalars['String']['input']>;
726
+ before?: InputMaybe<Scalars['String']['input']>;
727
+ first?: InputMaybe<Scalars['Int']['input']>;
728
+ last?: InputMaybe<Scalars['Int']['input']>;
729
+ }
730
+
731
+
654
732
  /** Represents a flow type */
655
733
  export interface FlowTypeNamesArgs {
656
734
  after?: InputMaybe<Scalars['String']['input']>;
@@ -775,12 +853,16 @@ export const enum FlowValidationSeverityEnum {
775
853
  /** Represents a function definition */
776
854
  export interface FunctionDefinition {
777
855
  __typename?: 'FunctionDefinition';
856
+ /** Name of the function */
857
+ aliases?: Maybe<TranslationConnection>;
778
858
  /** Time when this FunctionDefinition was created */
779
859
  createdAt?: Maybe<Scalars['Time']['output']>;
780
860
  /** Deprecation message of the function */
781
861
  deprecationMessages?: Maybe<TranslationConnection>;
782
862
  /** Description of the function */
783
863
  descriptions?: Maybe<TranslationConnection>;
864
+ /** Display message of the function */
865
+ displayMessages?: Maybe<TranslationConnection>;
784
866
  /** Documentation of the function */
785
867
  documentations?: Maybe<TranslationConnection>;
786
868
  /** Generic keys of the function */
@@ -804,6 +886,15 @@ export interface FunctionDefinition {
804
886
  }
805
887
 
806
888
 
889
+ /** Represents a function definition */
890
+ export interface FunctionDefinitionAliasesArgs {
891
+ after?: InputMaybe<Scalars['String']['input']>;
892
+ before?: InputMaybe<Scalars['String']['input']>;
893
+ first?: InputMaybe<Scalars['Int']['input']>;
894
+ last?: InputMaybe<Scalars['Int']['input']>;
895
+ }
896
+
897
+
807
898
  /** Represents a function definition */
808
899
  export interface FunctionDefinitionDeprecationMessagesArgs {
809
900
  after?: InputMaybe<Scalars['String']['input']>;
@@ -822,6 +913,15 @@ export interface FunctionDefinitionDescriptionsArgs {
822
913
  }
823
914
 
824
915
 
916
+ /** Represents a function definition */
917
+ export interface FunctionDefinitionDisplayMessagesArgs {
918
+ after?: InputMaybe<Scalars['String']['input']>;
919
+ before?: InputMaybe<Scalars['String']['input']>;
920
+ first?: InputMaybe<Scalars['Int']['input']>;
921
+ last?: InputMaybe<Scalars['Int']['input']>;
922
+ }
923
+
924
+
825
925
  /** Represents a function definition */
826
926
  export interface FunctionDefinitionDocumentationsArgs {
827
927
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1066,6 +1166,10 @@ export interface Mutation {
1066
1166
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
1067
1167
  /** Update an existing runtime. */
1068
1168
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
1169
+ /** Admin-create a user. */
1170
+ usersCreate?: Maybe<UsersCreatePayload>;
1171
+ /** Delete an existing user. */
1172
+ usersDelete?: Maybe<UsersDeletePayload>;
1069
1173
  /** Verify your email when changing it or signing up */
1070
1174
  usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
1071
1175
  /** Links an external identity to an existing user */
@@ -1247,6 +1351,18 @@ export interface MutationRuntimesUpdateArgs {
1247
1351
  }
1248
1352
 
1249
1353
 
1354
+ /** Root Mutation type */
1355
+ export interface MutationUsersCreateArgs {
1356
+ input: UsersCreateInput;
1357
+ }
1358
+
1359
+
1360
+ /** Root Mutation type */
1361
+ export interface MutationUsersDeleteArgs {
1362
+ input: UsersDeleteInput;
1363
+ }
1364
+
1365
+
1250
1366
  /** Root Mutation type */
1251
1367
  export interface MutationUsersEmailVerificationArgs {
1252
1368
  input: UsersEmailVerificationInput;
@@ -2455,8 +2571,8 @@ export interface ParameterDefinitionEdge {
2455
2571
  /** Root Query type */
2456
2572
  export interface Query {
2457
2573
  __typename?: 'Query';
2458
- /** Get global application settings */
2459
- applicationSettings?: Maybe<ApplicationSettings>;
2574
+ /** Get application information */
2575
+ application?: Maybe<Application>;
2460
2576
  /** Get the currently logged in authentication */
2461
2577
  currentAuthentication?: Maybe<Authentication>;
2462
2578
  /** Get the currently logged in user */
@@ -2465,8 +2581,6 @@ export interface Query {
2465
2581
  echo?: Maybe<Scalars['String']['output']>;
2466
2582
  /** Find runtimes */
2467
2583
  globalRuntimes?: Maybe<RuntimeConnection>;
2468
- /** Get application metadata */
2469
- metadata?: Maybe<Metadata>;
2470
2584
  /** Find a namespace */
2471
2585
  namespace?: Maybe<Namespace>;
2472
2586
  /** Fetches an object given its ID */
@@ -3073,6 +3187,56 @@ export interface UserUserAbilities {
3073
3187
  updateUser?: Maybe<Scalars['Boolean']['output']>;
3074
3188
  }
3075
3189
 
3190
+ /** Autogenerated input type of UsersCreate */
3191
+ export interface UsersCreateInput {
3192
+ /** Admin status for the user. */
3193
+ admin?: InputMaybe<Scalars['Boolean']['input']>;
3194
+ /** A unique identifier for the client performing the mutation. */
3195
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3196
+ /** Email for the user. */
3197
+ email: Scalars['String']['input'];
3198
+ /** Firstname for the user. */
3199
+ firstname?: InputMaybe<Scalars['String']['input']>;
3200
+ /** Lastname for the user. */
3201
+ lastname?: InputMaybe<Scalars['String']['input']>;
3202
+ /** Password for the user. */
3203
+ password: Scalars['String']['input'];
3204
+ /** Password repeat for the user to check for typos. */
3205
+ passwordRepeat: Scalars['String']['input'];
3206
+ /** Username for the user. */
3207
+ username: Scalars['String']['input'];
3208
+ }
3209
+
3210
+ /** Autogenerated return type of UsersCreate. */
3211
+ export interface UsersCreatePayload {
3212
+ __typename?: 'UsersCreatePayload';
3213
+ /** A unique identifier for the client performing the mutation. */
3214
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3215
+ /** Errors encountered during execution of the mutation. */
3216
+ errors?: Maybe<Array<Error>>;
3217
+ /** The created user. */
3218
+ user?: Maybe<User>;
3219
+ }
3220
+
3221
+ /** Autogenerated input type of UsersDelete */
3222
+ export interface UsersDeleteInput {
3223
+ /** A unique identifier for the client performing the mutation. */
3224
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3225
+ /** The user to delete. */
3226
+ userId: Scalars['UserID']['input'];
3227
+ }
3228
+
3229
+ /** Autogenerated return type of UsersDelete. */
3230
+ export interface UsersDeletePayload {
3231
+ __typename?: 'UsersDeletePayload';
3232
+ /** A unique identifier for the client performing the mutation. */
3233
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3234
+ /** Errors encountered during execution of the mutation. */
3235
+ errors?: Maybe<Array<Error>>;
3236
+ /** The deleted user. */
3237
+ user?: Maybe<User>;
3238
+ }
3239
+
3076
3240
  /** Autogenerated input type of UsersEmailVerification */
3077
3241
  export interface UsersEmailVerificationInput {
3078
3242
  /** A unique identifier for the client performing the mutation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-755f9382e6589ede0182dace55452703bcd6e85b",
3
+ "version": "0.0.0-ca5a2e89e8ecc3f5f20bf795a7da11d37e15e88e",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",