@code0-tech/sagittarius-graphql-types 0.0.0-3dbc1d7dffaa541501b2cb0954dabc06a9288cf6 → 0.0.0-56198dce107a9c09cc5eca0773f239d9c3eba598
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.
- package/index.d.ts +185 -14
- package/package.json +2 -3
- package/index.js +0 -0
package/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type Maybe<T> = T | null;
|
|
2
2
|
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
-
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
|
|
4
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
|
|
5
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
|
|
6
|
-
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }
|
|
7
|
-
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
|
|
3
|
+
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
|
|
4
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
|
|
5
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
|
|
6
|
+
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }
|
|
7
|
+
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
|
|
8
8
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
9
9
|
export interface Scalars {
|
|
10
10
|
ID: { input: `gid://sagittarius//${number}`; output: `gid://sagittarius//${number}`; }
|
|
@@ -239,8 +239,8 @@ export interface DataTypeRulesInputTypeConfig {
|
|
|
239
239
|
__typename?: 'DataTypeRulesInputTypeConfig';
|
|
240
240
|
/** The identifier of the data type this input type belongs to */
|
|
241
241
|
dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
|
|
242
|
-
/** The input
|
|
243
|
-
|
|
242
|
+
/** The input identifier that this configuration applies to */
|
|
243
|
+
inputIdentifier?: Maybe<Scalars['String']['output']>;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
/** Represents a rule that can be applied to a data type. */
|
|
@@ -290,7 +290,7 @@ export interface DataTypeRulesReturnTypeConfig {
|
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
/** The type of rule that can be applied to a data type. */
|
|
293
|
-
export enum DataTypeRulesVariant {
|
|
293
|
+
export const enum DataTypeRulesVariant {
|
|
294
294
|
/** The rule checks if a key is present in the data type. */
|
|
295
295
|
ContainsKey = 'CONTAINS_KEY',
|
|
296
296
|
/** The rule checks if a specific type is present in the data type. */
|
|
@@ -310,7 +310,7 @@ export enum DataTypeRulesVariant {
|
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
/** Represent all available types of a datatype */
|
|
313
|
-
export enum DataTypeVariant {
|
|
313
|
+
export const enum DataTypeVariant {
|
|
314
314
|
/** Represents an array */
|
|
315
315
|
Array = 'ARRAY',
|
|
316
316
|
/** Represents an data type containing a data type */
|
|
@@ -347,7 +347,74 @@ export interface EchoPayload {
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
/** Objects that can present an error */
|
|
350
|
-
export type Error = ActiveModelError | MessageError;
|
|
350
|
+
export type Error = ActiveModelError | ErrorCode | MessageError;
|
|
351
|
+
|
|
352
|
+
/** Represents an error code */
|
|
353
|
+
export interface ErrorCode {
|
|
354
|
+
__typename?: 'ErrorCode';
|
|
355
|
+
/** The error code */
|
|
356
|
+
errorCode?: Maybe<ErrorCodeEnum>;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/** Represents the available error responses */
|
|
360
|
+
export const enum ErrorCodeEnum {
|
|
361
|
+
/** This action would remove the last administrative role */
|
|
362
|
+
CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
|
|
363
|
+
/** This action would remove the last administrator */
|
|
364
|
+
CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
|
|
365
|
+
/** This action would remove the last administrative ability */
|
|
366
|
+
CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
|
|
367
|
+
/** This external identity does not exist */
|
|
368
|
+
ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
|
|
369
|
+
/** The old backup codes could not be deleted */
|
|
370
|
+
FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
|
|
371
|
+
/** The new backup codes could not be saved */
|
|
372
|
+
FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
|
|
373
|
+
/** The given key was not found in the data type */
|
|
374
|
+
GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
|
|
375
|
+
/** Failed to validate the external identity */
|
|
376
|
+
IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
|
|
377
|
+
/** Resources are from different namespaces */
|
|
378
|
+
InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
|
|
379
|
+
/** This external identity is invalid */
|
|
380
|
+
InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
|
|
381
|
+
/** Invalid login data provided */
|
|
382
|
+
InvalidLoginData = 'INVALID_LOGIN_DATA',
|
|
383
|
+
/** Invalid setting provided */
|
|
384
|
+
InvalidSetting = 'INVALID_SETTING',
|
|
385
|
+
/** Invalid verification code provided */
|
|
386
|
+
InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
|
|
387
|
+
/** Invalid MFA data provided */
|
|
388
|
+
MfaFailed = 'MFA_FAILED',
|
|
389
|
+
/** MFA is required */
|
|
390
|
+
MfaRequired = 'MFA_REQUIRED',
|
|
391
|
+
/** This external identity is missing data */
|
|
392
|
+
MissingIdentityData = 'MISSING_IDENTITY_DATA',
|
|
393
|
+
/** Not all required parameters are present */
|
|
394
|
+
MissingParameter = 'MISSING_PARAMETER',
|
|
395
|
+
/** The user is not permitted to perform this operation */
|
|
396
|
+
MissingPermission = 'MISSING_PERMISSION',
|
|
397
|
+
/** There are no free license seats to complete this operation */
|
|
398
|
+
NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
|
|
399
|
+
/** The project does not have a primary runtime */
|
|
400
|
+
NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
|
|
401
|
+
/** @deprecated Outdated concept */
|
|
402
|
+
PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
|
|
403
|
+
/** Self-registration is disabled */
|
|
404
|
+
RegistrationDisabled = 'REGISTRATION_DISABLED',
|
|
405
|
+
/** Resources are from different runtimes */
|
|
406
|
+
RuntimeMismatch = 'RUNTIME_MISMATCH',
|
|
407
|
+
/** @deprecated Outdated concept */
|
|
408
|
+
SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
|
|
409
|
+
/** @deprecated Outdated concept */
|
|
410
|
+
TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
|
|
411
|
+
/** This user already has TOTP set up */
|
|
412
|
+
TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
|
|
413
|
+
/** The user is not permitted to modify this field */
|
|
414
|
+
UnmodifiableField = 'UNMODIFIABLE_FIELD',
|
|
415
|
+
/** Invalid TOTP code provided */
|
|
416
|
+
WrongTotp = 'WRONG_TOTP'
|
|
417
|
+
}
|
|
351
418
|
|
|
352
419
|
/** Represents a flow */
|
|
353
420
|
export interface Flow {
|
|
@@ -687,7 +754,7 @@ export interface GenericCombinationStrategy {
|
|
|
687
754
|
}
|
|
688
755
|
|
|
689
756
|
/** The available combination strategy types. */
|
|
690
|
-
export enum GenericCombinationStrategyType {
|
|
757
|
+
export const enum GenericCombinationStrategyType {
|
|
691
758
|
/** Represents a logical AND combination. */
|
|
692
759
|
And = 'AND',
|
|
693
760
|
/** Represents a logical OR combination. */
|
|
@@ -775,7 +842,7 @@ export interface MfaInput {
|
|
|
775
842
|
}
|
|
776
843
|
|
|
777
844
|
/** Represent all available types to authenticate with mfa */
|
|
778
|
-
export enum MfaType {
|
|
845
|
+
export const enum MfaType {
|
|
779
846
|
/** Single use backup code */
|
|
780
847
|
BackupCode = 'BACKUP_CODE',
|
|
781
848
|
/** Time based onetime password */
|
|
@@ -861,6 +928,10 @@ export interface Mutation {
|
|
|
861
928
|
usersMfaTotpGenerateSecret?: Maybe<UsersMfaTotpGenerateSecretPayload>;
|
|
862
929
|
/** Validates a TOTP value for the given secret and enables TOTP MFA for the user */
|
|
863
930
|
usersMfaTotpValidateSecret?: Maybe<UsersMfaTotpValidateSecretPayload>;
|
|
931
|
+
/** Reset the password using a reset token */
|
|
932
|
+
usersPasswordReset?: Maybe<UsersPasswordResetPayload>;
|
|
933
|
+
/** Request an password reset */
|
|
934
|
+
usersPasswordResetRequest?: Maybe<UsersPasswordResetRequestPayload>;
|
|
864
935
|
/** Register a new user */
|
|
865
936
|
usersRegister?: Maybe<UsersRegisterPayload>;
|
|
866
937
|
/** Update an existing user. */
|
|
@@ -1078,6 +1149,18 @@ export interface MutationUsersMfaTotpValidateSecretArgs {
|
|
|
1078
1149
|
}
|
|
1079
1150
|
|
|
1080
1151
|
|
|
1152
|
+
/** Root Mutation type */
|
|
1153
|
+
export interface MutationUsersPasswordResetArgs {
|
|
1154
|
+
input: UsersPasswordResetInput;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
/** Root Mutation type */
|
|
1159
|
+
export interface MutationUsersPasswordResetRequestArgs {
|
|
1160
|
+
input: UsersPasswordResetRequestInput;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
|
|
1081
1164
|
/** Root Mutation type */
|
|
1082
1165
|
export interface MutationUsersRegisterArgs {
|
|
1083
1166
|
input: UsersRegisterInput;
|
|
@@ -1205,14 +1288,36 @@ export interface NamespaceMember {
|
|
|
1205
1288
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1206
1289
|
/** Global ID of this NamespaceMember */
|
|
1207
1290
|
id?: Maybe<Scalars['NamespaceMemberID']['output']>;
|
|
1291
|
+
/** Memberroles of the member */
|
|
1292
|
+
memberRoles?: Maybe<NamespaceMemberRoleConnection>;
|
|
1208
1293
|
/** Namespace this member belongs to */
|
|
1209
1294
|
namespace?: Maybe<Namespace>;
|
|
1295
|
+
/** Roles of the member */
|
|
1296
|
+
roles?: Maybe<NamespaceRoleConnection>;
|
|
1210
1297
|
/** Time when this NamespaceMember was last updated */
|
|
1211
1298
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1212
1299
|
/** User this member belongs to */
|
|
1213
1300
|
user?: Maybe<User>;
|
|
1214
1301
|
}
|
|
1215
1302
|
|
|
1303
|
+
|
|
1304
|
+
/** Represents a namespace member */
|
|
1305
|
+
export interface NamespaceMemberMemberRolesArgs {
|
|
1306
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1307
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1308
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1309
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
/** Represents a namespace member */
|
|
1314
|
+
export interface NamespaceMemberRolesArgs {
|
|
1315
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1316
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1317
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1318
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1216
1321
|
/** The connection type for NamespaceMember. */
|
|
1217
1322
|
export interface NamespaceMemberConnection {
|
|
1218
1323
|
__typename?: 'NamespaceMemberConnection';
|
|
@@ -1250,6 +1355,28 @@ export interface NamespaceMemberRole {
|
|
|
1250
1355
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1251
1356
|
}
|
|
1252
1357
|
|
|
1358
|
+
/** The connection type for NamespaceMemberRole. */
|
|
1359
|
+
export interface NamespaceMemberRoleConnection {
|
|
1360
|
+
__typename?: 'NamespaceMemberRoleConnection';
|
|
1361
|
+
/** Total count of collection. */
|
|
1362
|
+
count?: Maybe<Scalars['Int']['output']>;
|
|
1363
|
+
/** A list of edges. */
|
|
1364
|
+
edges?: Maybe<Array<Maybe<NamespaceMemberRoleEdge>>>;
|
|
1365
|
+
/** A list of nodes. */
|
|
1366
|
+
nodes?: Maybe<Array<Maybe<NamespaceMemberRole>>>;
|
|
1367
|
+
/** Information to aid in pagination. */
|
|
1368
|
+
pageInfo?: Maybe<PageInfo>;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/** An edge in a connection. */
|
|
1372
|
+
export interface NamespaceMemberRoleEdge {
|
|
1373
|
+
__typename?: 'NamespaceMemberRoleEdge';
|
|
1374
|
+
/** A cursor for use in pagination. */
|
|
1375
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
1376
|
+
/** The item at the end of the edge. */
|
|
1377
|
+
node?: Maybe<NamespaceMemberRole>;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1253
1380
|
/** Objects that can present a namespace */
|
|
1254
1381
|
export type NamespaceParent = Organization | User;
|
|
1255
1382
|
|
|
@@ -1353,7 +1480,7 @@ export interface NamespaceRoleAssignedProjectsArgs {
|
|
|
1353
1480
|
}
|
|
1354
1481
|
|
|
1355
1482
|
/** Represents abilities that can be granted to roles in namespaces. */
|
|
1356
|
-
export enum NamespaceRoleAbility {
|
|
1483
|
+
export const enum NamespaceRoleAbility {
|
|
1357
1484
|
/** Allows to change the roles of a namespace member */
|
|
1358
1485
|
AssignMemberRoles = 'ASSIGN_MEMBER_ROLES',
|
|
1359
1486
|
/** Allows to assign runtimes to a project in the namespace */
|
|
@@ -2320,7 +2447,7 @@ export interface RuntimeParameterDefinitionEdge {
|
|
|
2320
2447
|
}
|
|
2321
2448
|
|
|
2322
2449
|
/** Represent all available types of statuses of a runtime */
|
|
2323
|
-
export enum RuntimeStatusType {
|
|
2450
|
+
export const enum RuntimeStatusType {
|
|
2324
2451
|
/** No problem with connection, everything works as expected */
|
|
2325
2452
|
Connected = 'CONNECTED',
|
|
2326
2453
|
/** The runtime is disconnected, cause unknown */
|
|
@@ -2453,6 +2580,8 @@ export interface User {
|
|
|
2453
2580
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
2454
2581
|
/** Email of the user */
|
|
2455
2582
|
email?: Maybe<Scalars['String']['output']>;
|
|
2583
|
+
/** Email verification date of the user if present */
|
|
2584
|
+
emailVerifiedAt?: Maybe<Scalars['Time']['output']>;
|
|
2456
2585
|
/** Firstname of the user */
|
|
2457
2586
|
firstname?: Maybe<Scalars['String']['output']>;
|
|
2458
2587
|
/** Global ID of this User */
|
|
@@ -2803,6 +2932,48 @@ export interface UsersMfaTotpValidateSecretPayload {
|
|
|
2803
2932
|
user?: Maybe<User>;
|
|
2804
2933
|
}
|
|
2805
2934
|
|
|
2935
|
+
/** Autogenerated input type of UsersPasswordReset */
|
|
2936
|
+
export interface UsersPasswordResetInput {
|
|
2937
|
+
/** A unique identifier for the client performing the mutation. */
|
|
2938
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2939
|
+
/** The new password to set for the user */
|
|
2940
|
+
newPassword: Scalars['String']['input'];
|
|
2941
|
+
/** The confirmation of the new password to set for the user needs to be the same as the new password */
|
|
2942
|
+
newPasswordConfirmation: Scalars['String']['input'];
|
|
2943
|
+
/** The password reset token sent to the user email */
|
|
2944
|
+
resetToken: Scalars['String']['input'];
|
|
2945
|
+
}
|
|
2946
|
+
|
|
2947
|
+
/** Autogenerated return type of UsersPasswordReset. */
|
|
2948
|
+
export interface UsersPasswordResetPayload {
|
|
2949
|
+
__typename?: 'UsersPasswordResetPayload';
|
|
2950
|
+
/** A unique identifier for the client performing the mutation. */
|
|
2951
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
2952
|
+
/** Errors encountered during execution of the mutation. */
|
|
2953
|
+
errors?: Maybe<Array<Error>>;
|
|
2954
|
+
/** A message indicating the result of the password reset request */
|
|
2955
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
/** Autogenerated input type of UsersPasswordResetRequest */
|
|
2959
|
+
export interface UsersPasswordResetRequestInput {
|
|
2960
|
+
/** A unique identifier for the client performing the mutation. */
|
|
2961
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2962
|
+
/** Email of the user to reset the password */
|
|
2963
|
+
email: Scalars['String']['input'];
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
/** Autogenerated return type of UsersPasswordResetRequest. */
|
|
2967
|
+
export interface UsersPasswordResetRequestPayload {
|
|
2968
|
+
__typename?: 'UsersPasswordResetRequestPayload';
|
|
2969
|
+
/** A unique identifier for the client performing the mutation. */
|
|
2970
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
2971
|
+
/** Errors encountered during execution of the mutation. */
|
|
2972
|
+
errors?: Maybe<Array<Error>>;
|
|
2973
|
+
/** A message indicating the result of the password reset request */
|
|
2974
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2806
2977
|
/** Autogenerated input type of UsersRegister */
|
|
2807
2978
|
export interface UsersRegisterInput {
|
|
2808
2979
|
/** A unique identifier for the client performing the mutation. */
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/sagittarius-graphql-types",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-56198dce107a9c09cc5eca0773f239d9c3eba598",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "index.
|
|
5
|
+
"main": "index.d.ts",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"generate": "graphql-codegen --config codegen.ts"
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"index.d.ts",
|
|
26
|
-
"index.js",
|
|
27
26
|
"package.json"
|
|
28
27
|
],
|
|
29
28
|
"publishConfig": {
|
package/index.js
DELETED
|
File without changes
|