@code0-tech/sagittarius-graphql-types 0.0.0-4e14e2ae65b66543ca2d02d685fa36e9e1b8b5ec → 0.0.0-625a1038b022ac5f60370cc4ba77beba858c86a6

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 +118 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -91,8 +91,12 @@ export type Authentication = UserSession;
91
91
  /** Represents a DataType */
92
92
  export interface DataType {
93
93
  __typename?: 'DataType';
94
+ /** Name of the function */
95
+ aliases?: Maybe<TranslationConnection>;
94
96
  /** Time when this DataType was created */
95
97
  createdAt?: Maybe<Scalars['Time']['output']>;
98
+ /** Display message of the function */
99
+ displayMessages?: Maybe<TranslationConnection>;
96
100
  /** Generic keys of the datatype */
97
101
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
102
  /** Global ID of this DataType */
@@ -112,6 +116,24 @@ export interface DataType {
112
116
  }
113
117
 
114
118
 
119
+ /** Represents a DataType */
120
+ export interface DataTypeAliasesArgs {
121
+ after?: InputMaybe<Scalars['String']['input']>;
122
+ before?: InputMaybe<Scalars['String']['input']>;
123
+ first?: InputMaybe<Scalars['Int']['input']>;
124
+ last?: InputMaybe<Scalars['Int']['input']>;
125
+ }
126
+
127
+
128
+ /** Represents a DataType */
129
+ export interface DataTypeDisplayMessagesArgs {
130
+ after?: InputMaybe<Scalars['String']['input']>;
131
+ before?: InputMaybe<Scalars['String']['input']>;
132
+ first?: InputMaybe<Scalars['Int']['input']>;
133
+ last?: InputMaybe<Scalars['Int']['input']>;
134
+ }
135
+
136
+
115
137
  /** Represents a DataType */
116
138
  export interface DataTypeNameArgs {
117
139
  after?: InputMaybe<Scalars['String']['input']>;
@@ -398,6 +420,8 @@ export const enum ErrorCodeEnum {
398
420
  InvalidAttachment = 'INVALID_ATTACHMENT',
399
421
  /** This external identity is invalid */
400
422
  InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
423
+ /** The flow is invalid because of active model errors */
424
+ InvalidFlow = 'INVALID_FLOW',
401
425
  /** The flow setting is invalid because of active model errors */
402
426
  InvalidFlowSetting = 'INVALID_FLOW_SETTING',
403
427
  /** Invalid login data provided */
@@ -436,12 +460,16 @@ export const enum ErrorCodeEnum {
436
460
  MfaFailed = 'MFA_FAILED',
437
461
  /** MFA is required */
438
462
  MfaRequired = 'MFA_REQUIRED',
463
+ /** The primary runtime has more definitions than this one */
464
+ MissingDefinition = 'MISSING_DEFINITION',
439
465
  /** This external identity is missing data */
440
466
  MissingIdentityData = 'MISSING_IDENTITY_DATA',
441
467
  /** Not all required parameters are present */
442
468
  MissingParameter = 'MISSING_PARAMETER',
443
469
  /** The user is not permitted to perform this operation */
444
470
  MissingPermission = 'MISSING_PERMISSION',
471
+ /** The project is missing a primary runtime */
472
+ MissingPrimaryRuntime = 'MISSING_PRIMARY_RUNTIME',
445
473
  /** The namespace member with the given identifier was not found */
446
474
  NamespaceMemberNotFound = 'NAMESPACE_MEMBER_NOT_FOUND',
447
475
  /** The namespace with the given identifier was not found */
@@ -456,6 +484,8 @@ export const enum ErrorCodeEnum {
456
484
  NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
457
485
  /** The organization with the given identifier was not found */
458
486
  OrganizationNotFound = 'ORGANIZATION_NOT_FOUND',
487
+ /** The primary runtime has a newer definition than this one */
488
+ OutdatedDefinition = 'OUTDATED_DEFINITION',
459
489
  /** @deprecated Outdated concept */
460
490
  PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
461
491
  /** The namespace project with the given identifier was not found */
@@ -603,18 +633,22 @@ export interface FlowSettingEdge {
603
633
  /** Input type for flow settings */
604
634
  export interface FlowSettingInput {
605
635
  /** The identifier (not database id) of the flow setting */
606
- flowSettingId: Scalars['String']['input'];
636
+ flowSettingIdentifier: Scalars['String']['input'];
607
637
  /** The value of the flow setting */
608
- object: Scalars['JSON']['input'];
638
+ value: Scalars['JSON']['input'];
609
639
  }
610
640
 
611
641
  /** Represents a flow type */
612
642
  export interface FlowType {
613
643
  __typename?: 'FlowType';
644
+ /** Name of the function */
645
+ aliases?: Maybe<TranslationConnection>;
614
646
  /** Time when this FlowType was created */
615
647
  createdAt?: Maybe<Scalars['Time']['output']>;
616
648
  /** Descriptions of the flow type */
617
649
  descriptions?: Maybe<TranslationConnection>;
650
+ /** Display message of the function */
651
+ displayMessages?: Maybe<TranslationConnection>;
618
652
  /** Editable status of the flow type */
619
653
  editable?: Maybe<Scalars['Boolean']['output']>;
620
654
  /** Flow type settings of the flow type */
@@ -634,6 +668,15 @@ export interface FlowType {
634
668
  }
635
669
 
636
670
 
671
+ /** Represents a flow type */
672
+ export interface FlowTypeAliasesArgs {
673
+ after?: InputMaybe<Scalars['String']['input']>;
674
+ before?: InputMaybe<Scalars['String']['input']>;
675
+ first?: InputMaybe<Scalars['Int']['input']>;
676
+ last?: InputMaybe<Scalars['Int']['input']>;
677
+ }
678
+
679
+
637
680
  /** Represents a flow type */
638
681
  export interface FlowTypeDescriptionsArgs {
639
682
  after?: InputMaybe<Scalars['String']['input']>;
@@ -643,6 +686,15 @@ export interface FlowTypeDescriptionsArgs {
643
686
  }
644
687
 
645
688
 
689
+ /** Represents a flow type */
690
+ export interface FlowTypeDisplayMessagesArgs {
691
+ after?: InputMaybe<Scalars['String']['input']>;
692
+ before?: InputMaybe<Scalars['String']['input']>;
693
+ first?: InputMaybe<Scalars['Int']['input']>;
694
+ last?: InputMaybe<Scalars['Int']['input']>;
695
+ }
696
+
697
+
646
698
  /** Represents a flow type */
647
699
  export interface FlowTypeNamesArgs {
648
700
  after?: InputMaybe<Scalars['String']['input']>;
@@ -767,12 +819,16 @@ export const enum FlowValidationSeverityEnum {
767
819
  /** Represents a function definition */
768
820
  export interface FunctionDefinition {
769
821
  __typename?: 'FunctionDefinition';
822
+ /** Name of the function */
823
+ aliases?: Maybe<TranslationConnection>;
770
824
  /** Time when this FunctionDefinition was created */
771
825
  createdAt?: Maybe<Scalars['Time']['output']>;
772
826
  /** Deprecation message of the function */
773
827
  deprecationMessages?: Maybe<TranslationConnection>;
774
828
  /** Description of the function */
775
829
  descriptions?: Maybe<TranslationConnection>;
830
+ /** Display message of the function */
831
+ displayMessages?: Maybe<TranslationConnection>;
776
832
  /** Documentation of the function */
777
833
  documentations?: Maybe<TranslationConnection>;
778
834
  /** Generic keys of the function */
@@ -796,6 +852,15 @@ export interface FunctionDefinition {
796
852
  }
797
853
 
798
854
 
855
+ /** Represents a function definition */
856
+ export interface FunctionDefinitionAliasesArgs {
857
+ after?: InputMaybe<Scalars['String']['input']>;
858
+ before?: InputMaybe<Scalars['String']['input']>;
859
+ first?: InputMaybe<Scalars['Int']['input']>;
860
+ last?: InputMaybe<Scalars['Int']['input']>;
861
+ }
862
+
863
+
799
864
  /** Represents a function definition */
800
865
  export interface FunctionDefinitionDeprecationMessagesArgs {
801
866
  after?: InputMaybe<Scalars['String']['input']>;
@@ -814,6 +879,15 @@ export interface FunctionDefinitionDescriptionsArgs {
814
879
  }
815
880
 
816
881
 
882
+ /** Represents a function definition */
883
+ export interface FunctionDefinitionDisplayMessagesArgs {
884
+ after?: InputMaybe<Scalars['String']['input']>;
885
+ before?: InputMaybe<Scalars['String']['input']>;
886
+ first?: InputMaybe<Scalars['Int']['input']>;
887
+ last?: InputMaybe<Scalars['Int']['input']>;
888
+ }
889
+
890
+
817
891
  /** Represents a function definition */
818
892
  export interface FunctionDefinitionDocumentationsArgs {
819
893
  after?: InputMaybe<Scalars['String']['input']>;
@@ -905,7 +979,7 @@ export interface GenericMapper {
905
979
  /** Input type for generic mappers */
906
980
  export interface GenericMapperInput {
907
981
  /** The source data type identifier for the mapper */
908
- sources: Array<DataTypeIdentifierInput>;
982
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
909
983
  /** The target data type identifier for the mapper */
910
984
  target: Scalars['String']['input'];
911
985
  }
@@ -974,6 +1048,15 @@ export interface MessageError {
974
1048
  message?: Maybe<Scalars['String']['output']>;
975
1049
  }
976
1050
 
1051
+ /** Application metadata */
1052
+ export interface Metadata {
1053
+ __typename?: 'Metadata';
1054
+ /** List of loaded extensions */
1055
+ extensions?: Maybe<Array<Scalars['String']['output']>>;
1056
+ /** Application version */
1057
+ version?: Maybe<Scalars['String']['output']>;
1058
+ }
1059
+
977
1060
  /** Represents the input for mfa authentication */
978
1061
  export interface MfaInput {
979
1062
  /** The type of the mfa authentication */
@@ -1564,6 +1647,8 @@ export interface NamespaceProject {
1564
1647
  namespace?: Maybe<Namespace>;
1565
1648
  /** The primary runtime for the project */
1566
1649
  primaryRuntime?: Maybe<Runtime>;
1650
+ /** Roles assigned to this project */
1651
+ roles?: Maybe<NamespaceRoleConnection>;
1567
1652
  /** Runtimes assigned to this project */
1568
1653
  runtimes?: Maybe<RuntimeConnection>;
1569
1654
  /** Time when this NamespaceProject was last updated */
@@ -1588,6 +1673,15 @@ export interface NamespaceProjectFlowsArgs {
1588
1673
  }
1589
1674
 
1590
1675
 
1676
+ /** Represents a namespace project */
1677
+ export interface NamespaceProjectRolesArgs {
1678
+ after?: InputMaybe<Scalars['String']['input']>;
1679
+ before?: InputMaybe<Scalars['String']['input']>;
1680
+ first?: InputMaybe<Scalars['Int']['input']>;
1681
+ last?: InputMaybe<Scalars['Int']['input']>;
1682
+ }
1683
+
1684
+
1591
1685
  /** Represents a namespace project */
1592
1686
  export interface NamespaceProjectRuntimesArgs {
1593
1687
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1642,6 +1736,8 @@ export interface NamespaceRole {
1642
1736
  createdAt?: Maybe<Scalars['Time']['output']>;
1643
1737
  /** Global ID of this NamespaceRole */
1644
1738
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1739
+ /** The members this role is assigned to */
1740
+ members?: Maybe<NamespaceMemberConnection>;
1645
1741
  /** The name of this role */
1646
1742
  name?: Maybe<Scalars['String']['output']>;
1647
1743
  /** The namespace where this role belongs to */
@@ -1661,6 +1757,15 @@ export interface NamespaceRoleAssignedProjectsArgs {
1661
1757
  last?: InputMaybe<Scalars['Int']['input']>;
1662
1758
  }
1663
1759
 
1760
+
1761
+ /** Represents a namespace role. */
1762
+ export interface NamespaceRoleMembersArgs {
1763
+ after?: InputMaybe<Scalars['String']['input']>;
1764
+ before?: InputMaybe<Scalars['String']['input']>;
1765
+ first?: InputMaybe<Scalars['Int']['input']>;
1766
+ last?: InputMaybe<Scalars['Int']['input']>;
1767
+ }
1768
+
1664
1769
  /** Represents abilities that can be granted to roles in namespaces. */
1665
1770
  export const enum NamespaceRoleAbility {
1666
1771
  /** Allows to change the roles of a namespace member */
@@ -2426,6 +2531,8 @@ export interface Query {
2426
2531
  echo?: Maybe<Scalars['String']['output']>;
2427
2532
  /** Find runtimes */
2428
2533
  globalRuntimes?: Maybe<RuntimeConnection>;
2534
+ /** Get application metadata */
2535
+ metadata?: Maybe<Metadata>;
2429
2536
  /** Find a namespace */
2430
2537
  namespace?: Maybe<Namespace>;
2431
2538
  /** Fetches an object given its ID */
@@ -2436,6 +2543,8 @@ export interface Query {
2436
2543
  organization?: Maybe<Organization>;
2437
2544
  /** Find organizations */
2438
2545
  organizations?: Maybe<OrganizationConnection>;
2546
+ /** Find a user */
2547
+ user?: Maybe<User>;
2439
2548
  /** Abilities for the current user on this Instance */
2440
2549
  userAbilities?: Maybe<InstanceUserAbilities>;
2441
2550
  /** Find users */
@@ -2492,6 +2601,12 @@ export interface QueryOrganizationsArgs {
2492
2601
  }
2493
2602
 
2494
2603
 
2604
+ /** Root Query type */
2605
+ export interface QueryUserArgs {
2606
+ id: Scalars['UserID']['input'];
2607
+ }
2608
+
2609
+
2495
2610
  /** Root Query type */
2496
2611
  export interface QueryUsersArgs {
2497
2612
  after?: InputMaybe<Scalars['String']['input']>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-4e14e2ae65b66543ca2d02d685fa36e9e1b8b5ec",
3
+ "version": "0.0.0-625a1038b022ac5f60370cc4ba77beba858c86a6",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",