@code0-tech/sagittarius-graphql-types 0.0.0-25fbf0c9e886bd28673ab74a9e554aa777aff987 → 0.0.0-4b2e73eae302fe499001bf42fdb3a6bcc5be78aa
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 +117 -71
- package/package.json +4 -5
package/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export interface Scalars {
|
|
|
28
28
|
FlowTypeSettingID: { input: `gid://sagittarius/FlowTypeSetting/${number}`; output: `gid://sagittarius/FlowTypeSetting/${number}`; }
|
|
29
29
|
/** A unique identifier for all FunctionDefinition entities of the application */
|
|
30
30
|
FunctionDefinitionID: { input: `gid://sagittarius/FunctionDefinition/${number}`; output: `gid://sagittarius/FunctionDefinition/${number}`; }
|
|
31
|
+
/** A unique identifier for all GenericCombinationStrategy entities of the application */
|
|
32
|
+
GenericCombinationStrategyID: { input: `gid://sagittarius/GenericCombinationStrategy/${number}`; output: `gid://sagittarius/GenericCombinationStrategy/${number}`; }
|
|
31
33
|
/** A unique identifier for all GenericMapper entities of the application */
|
|
32
34
|
GenericMapperID: { input: `gid://sagittarius/GenericMapper/${number}`; output: `gid://sagittarius/GenericMapper/${number}`; }
|
|
33
35
|
/** A unique identifier for all GenericType entities of the application */
|
|
@@ -122,25 +124,6 @@ export interface ApplicationSettingsUpdatePayload {
|
|
|
122
124
|
/** Objects that can present an authentication */
|
|
123
125
|
export type Authentication = UserSession;
|
|
124
126
|
|
|
125
|
-
/** Represents a rule that can be applied to a data type. */
|
|
126
|
-
export type Config = ContainsKeyConfig | ContainsTypeConfig | InputTypesConfig | ItemOfCollectionConfig | NumberRangeConfig | RegexConfig | ReturnTypeConfig;
|
|
127
|
-
|
|
128
|
-
/** Represents a rule that can be applied to a data type. */
|
|
129
|
-
export interface ContainsKeyConfig {
|
|
130
|
-
__typename?: 'ContainsKeyConfig';
|
|
131
|
-
/** The identifier of the data type this rule belongs to */
|
|
132
|
-
dataTypeIdentifier: DataTypeIdentifier;
|
|
133
|
-
/** The key of the rule */
|
|
134
|
-
key: Scalars['String']['output'];
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/** Represents a rule that can be applied to a data type. */
|
|
138
|
-
export interface ContainsTypeConfig {
|
|
139
|
-
__typename?: 'ContainsTypeConfig';
|
|
140
|
-
/** The identifier of the data type this rule belongs to */
|
|
141
|
-
dataTypeIdentifier: DataTypeIdentifier;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
127
|
/** Represents a DataType */
|
|
145
128
|
export interface DataType {
|
|
146
129
|
__typename?: 'DataType';
|
|
@@ -237,7 +220,7 @@ export interface DataTypeIdentifierInput {
|
|
|
237
220
|
export interface DataTypeRule {
|
|
238
221
|
__typename?: 'DataTypeRule';
|
|
239
222
|
/** The configuration of the rule */
|
|
240
|
-
config:
|
|
223
|
+
config: DataTypeRulesConfig;
|
|
241
224
|
/** Time when this DataTypeRule was created */
|
|
242
225
|
createdAt: Scalars['Time']['output'];
|
|
243
226
|
/** Global ID of this DataTypeRule */
|
|
@@ -245,7 +228,7 @@ export interface DataTypeRule {
|
|
|
245
228
|
/** Time when this DataTypeRule was last updated */
|
|
246
229
|
updatedAt: Scalars['Time']['output'];
|
|
247
230
|
/** The type of the rule */
|
|
248
|
-
variant:
|
|
231
|
+
variant: DataTypeRulesVariant;
|
|
249
232
|
}
|
|
250
233
|
|
|
251
234
|
/** The connection type for DataTypeRule. */
|
|
@@ -270,8 +253,75 @@ export interface DataTypeRuleEdge {
|
|
|
270
253
|
node?: Maybe<DataTypeRule>;
|
|
271
254
|
}
|
|
272
255
|
|
|
256
|
+
/** Represents a rule that can be applied to a data type. */
|
|
257
|
+
export type DataTypeRulesConfig = DataTypeRulesContainsKeyConfig | DataTypeRulesContainsTypeConfig | DataTypeRulesInputTypesConfig | DataTypeRulesItemOfCollectionConfig | DataTypeRulesNumberRangeConfig | DataTypeRulesRegexConfig | DataTypeRulesReturnTypeConfig;
|
|
258
|
+
|
|
259
|
+
/** Represents a rule that can be applied to a data type. */
|
|
260
|
+
export interface DataTypeRulesContainsKeyConfig {
|
|
261
|
+
__typename?: 'DataTypeRulesContainsKeyConfig';
|
|
262
|
+
/** The identifier of the data type this rule belongs to */
|
|
263
|
+
dataTypeIdentifier: DataTypeIdentifier;
|
|
264
|
+
/** The key of the rule */
|
|
265
|
+
key: Scalars['String']['output'];
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/** Represents a rule that can be applied to a data type. */
|
|
269
|
+
export interface DataTypeRulesContainsTypeConfig {
|
|
270
|
+
__typename?: 'DataTypeRulesContainsTypeConfig';
|
|
271
|
+
/** The identifier of the data type this rule belongs to */
|
|
272
|
+
dataTypeIdentifier: DataTypeIdentifier;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/** Represents a subtype of input type configuration for a input data type. */
|
|
276
|
+
export interface DataTypeRulesInputTypeConfig {
|
|
277
|
+
__typename?: 'DataTypeRulesInputTypeConfig';
|
|
278
|
+
/** The identifier of the data type this input type belongs to */
|
|
279
|
+
dataTypeIdentifier: DataTypeIdentifier;
|
|
280
|
+
/** The input data type that this configuration applies to */
|
|
281
|
+
inputType: DataType;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Represents a rule that can be applied to a data type. */
|
|
285
|
+
export interface DataTypeRulesInputTypesConfig {
|
|
286
|
+
__typename?: 'DataTypeRulesInputTypesConfig';
|
|
287
|
+
/** The input types that can be used in this data type rule */
|
|
288
|
+
inputTypes: Array<DataTypeRulesInputTypeConfig>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/** Represents a rule that can be applied to a data type. */
|
|
292
|
+
export interface DataTypeRulesItemOfCollectionConfig {
|
|
293
|
+
__typename?: 'DataTypeRulesItemOfCollectionConfig';
|
|
294
|
+
/** The items that can be configured for this rule. */
|
|
295
|
+
items?: Maybe<Array<Scalars['JSON']['output']>>;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/** Represents a rule that can be applied to a data type. */
|
|
299
|
+
export interface DataTypeRulesNumberRangeConfig {
|
|
300
|
+
__typename?: 'DataTypeRulesNumberRangeConfig';
|
|
301
|
+
/** The minimum value of the range */
|
|
302
|
+
from: Scalars['Int']['output'];
|
|
303
|
+
/** The step value for the range, if applicable */
|
|
304
|
+
steps?: Maybe<Scalars['Int']['output']>;
|
|
305
|
+
/** The maximum value of the range */
|
|
306
|
+
to: Scalars['Int']['output'];
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/** Represents a rule that can be applied to a data type. */
|
|
310
|
+
export interface DataTypeRulesRegexConfig {
|
|
311
|
+
__typename?: 'DataTypeRulesRegexConfig';
|
|
312
|
+
/** The regex pattern to match against the data type value. */
|
|
313
|
+
pattern: Scalars['String']['output'];
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/** Represents a rule that can be applied to a data type. */
|
|
317
|
+
export interface DataTypeRulesReturnTypeConfig {
|
|
318
|
+
__typename?: 'DataTypeRulesReturnTypeConfig';
|
|
319
|
+
/** The data type identifier for the return type. */
|
|
320
|
+
dataTypeIdentifier: DataTypeIdentifier;
|
|
321
|
+
}
|
|
322
|
+
|
|
273
323
|
/** The type of rule that can be applied to a data type. */
|
|
274
|
-
export enum
|
|
324
|
+
export enum DataTypeRulesVariant {
|
|
275
325
|
/** The rule checks if a key is present in the data type. */
|
|
276
326
|
ContainsKey = 'CONTAINS_KEY',
|
|
277
327
|
/** The rule checks if a specific type is present in the data type. */
|
|
@@ -515,10 +565,14 @@ export interface FunctionDefinition {
|
|
|
515
565
|
__typename?: 'FunctionDefinition';
|
|
516
566
|
/** Time when this FunctionDefinition was created */
|
|
517
567
|
createdAt: Scalars['Time']['output'];
|
|
568
|
+
/** Deprecation message of the function */
|
|
569
|
+
deprecationMessages?: Maybe<TranslationConnection>;
|
|
518
570
|
/** Description of the function */
|
|
519
571
|
descriptions?: Maybe<TranslationConnection>;
|
|
520
572
|
/** Documentation of the function */
|
|
521
573
|
documentations?: Maybe<TranslationConnection>;
|
|
574
|
+
/** Generic keys of the function */
|
|
575
|
+
genericKeys?: Maybe<Array<Scalars['String']['output']>>;
|
|
522
576
|
/** Global ID of this FunctionDefinition */
|
|
523
577
|
id: Scalars['FunctionDefinitionID']['output'];
|
|
524
578
|
/** Name of the function */
|
|
@@ -527,11 +581,24 @@ export interface FunctionDefinition {
|
|
|
527
581
|
parameterDefinitions?: Maybe<ParameterDefinitionConnection>;
|
|
528
582
|
/** Return type of the function */
|
|
529
583
|
returnType?: Maybe<DataTypeIdentifier>;
|
|
584
|
+
/** Runtime function definition */
|
|
585
|
+
runtimeFunctionDefinition?: Maybe<RuntimeFunctionDefinition>;
|
|
586
|
+
/** Indicates if the function can throw an error */
|
|
587
|
+
throwsError: Scalars['Boolean']['output'];
|
|
530
588
|
/** Time when this FunctionDefinition was last updated */
|
|
531
589
|
updatedAt: Scalars['Time']['output'];
|
|
532
590
|
}
|
|
533
591
|
|
|
534
592
|
|
|
593
|
+
/** Represents a function definition */
|
|
594
|
+
export interface FunctionDefinitionDeprecationMessagesArgs {
|
|
595
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
596
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
597
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
598
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
|
|
535
602
|
/** Represents a function definition */
|
|
536
603
|
export interface FunctionDefinitionDescriptionsArgs {
|
|
537
604
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -589,15 +656,40 @@ export interface FunctionDefinitionEdge {
|
|
|
589
656
|
node?: Maybe<FunctionDefinition>;
|
|
590
657
|
}
|
|
591
658
|
|
|
659
|
+
/** Represents a combination strategy with AND/OR logic used by a generic mapper. */
|
|
660
|
+
export interface GenericCombinationStrategy {
|
|
661
|
+
__typename?: 'GenericCombinationStrategy';
|
|
662
|
+
/** Time when this GenericCombinationStrategy was created */
|
|
663
|
+
createdAt: Scalars['Time']['output'];
|
|
664
|
+
/** The associated generic mapper, if any. */
|
|
665
|
+
genericMapper?: Maybe<GenericMapper>;
|
|
666
|
+
/** Global ID of this GenericCombinationStrategy */
|
|
667
|
+
id: Scalars['GenericCombinationStrategyID']['output'];
|
|
668
|
+
/** The combination type ('AND' or 'OR'). */
|
|
669
|
+
type: GenericCombinationStrategyType;
|
|
670
|
+
/** Time when this GenericCombinationStrategy was last updated */
|
|
671
|
+
updatedAt: Scalars['Time']['output'];
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** The available combination strategy types. */
|
|
675
|
+
export enum GenericCombinationStrategyType {
|
|
676
|
+
/** Represents a logical AND combination. */
|
|
677
|
+
And = 'AND',
|
|
678
|
+
/** Represents a logical OR combination. */
|
|
679
|
+
Or = 'OR'
|
|
680
|
+
}
|
|
681
|
+
|
|
592
682
|
/** Represents a mapping between a source data type and a target key for generic values. */
|
|
593
683
|
export interface GenericMapper {
|
|
594
684
|
__typename?: 'GenericMapper';
|
|
595
685
|
/** Time when this GenericMapper was created */
|
|
596
686
|
createdAt: Scalars['Time']['output'];
|
|
687
|
+
/** Combination strategies associated with this generic mapper. */
|
|
688
|
+
genericCombinationStrategies?: Maybe<Array<GenericCombinationStrategy>>;
|
|
597
689
|
/** Global ID of this GenericMapper */
|
|
598
690
|
id: Scalars['GenericMapperID']['output'];
|
|
599
691
|
/** The source data type identifier. */
|
|
600
|
-
|
|
692
|
+
sources: Array<DataTypeIdentifier>;
|
|
601
693
|
/** The target key for the generic value. */
|
|
602
694
|
target: Scalars['String']['output'];
|
|
603
695
|
/** Time when this GenericMapper was last updated */
|
|
@@ -641,29 +733,6 @@ export interface IdentityInput {
|
|
|
641
733
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
642
734
|
}
|
|
643
735
|
|
|
644
|
-
/** Represents a subtype of input type configuration for a input data type. */
|
|
645
|
-
export interface InputTypeConfig {
|
|
646
|
-
__typename?: 'InputTypeConfig';
|
|
647
|
-
/** The identifier of the data type this input type belongs to */
|
|
648
|
-
dataTypeIdentifier: DataTypeIdentifier;
|
|
649
|
-
/** The input data type that this configuration applies to */
|
|
650
|
-
inputType: DataType;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
/** Represents a rule that can be applied to a data type. */
|
|
654
|
-
export interface InputTypesConfig {
|
|
655
|
-
__typename?: 'InputTypesConfig';
|
|
656
|
-
/** The input types that can be used in this data type rule */
|
|
657
|
-
inputTypes: Array<InputTypeConfig>;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
/** Represents a rule that can be applied to a data type. */
|
|
661
|
-
export interface ItemOfCollectionConfig {
|
|
662
|
-
__typename?: 'ItemOfCollectionConfig';
|
|
663
|
-
/** The items that can be configured for this rule. */
|
|
664
|
-
items?: Maybe<Array<Scalars['JSON']['output']>>;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
736
|
/** Represents a literal value, such as a string or number. */
|
|
668
737
|
export interface LiteralValue {
|
|
669
738
|
__typename?: 'LiteralValue';
|
|
@@ -1763,17 +1832,6 @@ export interface NodeParameterValueInput {
|
|
|
1763
1832
|
referenceValue?: InputMaybe<ReferenceValueInput>;
|
|
1764
1833
|
}
|
|
1765
1834
|
|
|
1766
|
-
/** Represents a rule that can be applied to a data type. */
|
|
1767
|
-
export interface NumberRangeConfig {
|
|
1768
|
-
__typename?: 'NumberRangeConfig';
|
|
1769
|
-
/** The minimum value of the range */
|
|
1770
|
-
from: Scalars['Int']['output'];
|
|
1771
|
-
/** The step value for the range, if applicable */
|
|
1772
|
-
steps?: Maybe<Scalars['Int']['output']>;
|
|
1773
|
-
/** The maximum value of the range */
|
|
1774
|
-
to: Scalars['Int']['output'];
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
1835
|
/** Represents a Organization */
|
|
1778
1836
|
export interface Organization {
|
|
1779
1837
|
__typename?: 'Organization';
|
|
@@ -2061,20 +2119,6 @@ export interface ReferenceValueInput {
|
|
|
2061
2119
|
tertiaryLevel?: InputMaybe<Scalars['Int']['input']>;
|
|
2062
2120
|
}
|
|
2063
2121
|
|
|
2064
|
-
/** Represents a rule that can be applied to a data type. */
|
|
2065
|
-
export interface RegexConfig {
|
|
2066
|
-
__typename?: 'RegexConfig';
|
|
2067
|
-
/** The regex pattern to match against the data type value. */
|
|
2068
|
-
pattern: Scalars['String']['output'];
|
|
2069
|
-
}
|
|
2070
|
-
|
|
2071
|
-
/** Represents a rule that can be applied to a data type. */
|
|
2072
|
-
export interface ReturnTypeConfig {
|
|
2073
|
-
__typename?: 'ReturnTypeConfig';
|
|
2074
|
-
/** The data type identifier for the return type. */
|
|
2075
|
-
dataTypeIdentifier: DataTypeIdentifier;
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
2122
|
/** Represents a runtime */
|
|
2079
2123
|
export interface Runtime {
|
|
2080
2124
|
__typename?: 'Runtime';
|
|
@@ -2160,6 +2204,8 @@ export interface RuntimeFunctionDefinition {
|
|
|
2160
2204
|
functionDefinitions?: Maybe<FunctionDefinitionConnection>;
|
|
2161
2205
|
/** Global ID of this RuntimeFunctionDefinition */
|
|
2162
2206
|
id: Scalars['RuntimeParameterDefinitionID']['output'];
|
|
2207
|
+
/** The runtime this Node Function belongs to */
|
|
2208
|
+
runtime: Runtime;
|
|
2163
2209
|
/** Time when this RuntimeFunctionDefinition was last updated */
|
|
2164
2210
|
updatedAt: Scalars['Time']['output'];
|
|
2165
2211
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/sagittarius-graphql-types",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4b2e73eae302fe499001bf42fdb3a6bcc5be78aa",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/code0-tech/sagittarius#readme",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@graphql-codegen/cli": "^
|
|
22
|
-
"@graphql-codegen/typescript": "^
|
|
21
|
+
"@graphql-codegen/cli": "^6.0.0",
|
|
22
|
+
"@graphql-codegen/typescript": "^5.0.0"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"index.d.ts",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"package.json"
|
|
28
28
|
],
|
|
29
29
|
"publishConfig": {
|
|
30
|
-
"access": "public"
|
|
31
|
-
"tag": "latest"
|
|
30
|
+
"access": "public"
|
|
32
31
|
}
|
|
33
32
|
}
|