@code0-tech/sagittarius-graphql-types 0.0.0-25fbf0c9e886bd28673ab74a9e554aa777aff987 → 0.0.0-6c84ca6a692d3341e857f740343aead437ab4427

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 +70 -70
  2. package/package.json +2 -3
package/index.d.ts CHANGED
@@ -122,25 +122,6 @@ export interface ApplicationSettingsUpdatePayload {
122
122
  /** Objects that can present an authentication */
123
123
  export type Authentication = UserSession;
124
124
 
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
125
  /** Represents a DataType */
145
126
  export interface DataType {
146
127
  __typename?: 'DataType';
@@ -237,7 +218,7 @@ export interface DataTypeIdentifierInput {
237
218
  export interface DataTypeRule {
238
219
  __typename?: 'DataTypeRule';
239
220
  /** The configuration of the rule */
240
- config: Config;
221
+ config: DataTypeRulesConfig;
241
222
  /** Time when this DataTypeRule was created */
242
223
  createdAt: Scalars['Time']['output'];
243
224
  /** Global ID of this DataTypeRule */
@@ -245,7 +226,7 @@ export interface DataTypeRule {
245
226
  /** Time when this DataTypeRule was last updated */
246
227
  updatedAt: Scalars['Time']['output'];
247
228
  /** The type of the rule */
248
- variant: DataTypeRulesDataTypeRuleVariant;
229
+ variant: DataTypeRulesVariant;
249
230
  }
250
231
 
251
232
  /** The connection type for DataTypeRule. */
@@ -270,8 +251,75 @@ export interface DataTypeRuleEdge {
270
251
  node?: Maybe<DataTypeRule>;
271
252
  }
272
253
 
254
+ /** Represents a rule that can be applied to a data type. */
255
+ export type DataTypeRulesConfig = DataTypeRulesContainsKeyConfig | DataTypeRulesContainsTypeConfig | DataTypeRulesInputTypesConfig | DataTypeRulesItemOfCollectionConfig | DataTypeRulesNumberRangeConfig | DataTypeRulesRegexConfig | DataTypeRulesReturnTypeConfig;
256
+
257
+ /** Represents a rule that can be applied to a data type. */
258
+ export interface DataTypeRulesContainsKeyConfig {
259
+ __typename?: 'DataTypeRulesContainsKeyConfig';
260
+ /** The identifier of the data type this rule belongs to */
261
+ dataTypeIdentifier: DataTypeIdentifier;
262
+ /** The key of the rule */
263
+ key: Scalars['String']['output'];
264
+ }
265
+
266
+ /** Represents a rule that can be applied to a data type. */
267
+ export interface DataTypeRulesContainsTypeConfig {
268
+ __typename?: 'DataTypeRulesContainsTypeConfig';
269
+ /** The identifier of the data type this rule belongs to */
270
+ dataTypeIdentifier: DataTypeIdentifier;
271
+ }
272
+
273
+ /** Represents a subtype of input type configuration for a input data type. */
274
+ export interface DataTypeRulesInputTypeConfig {
275
+ __typename?: 'DataTypeRulesInputTypeConfig';
276
+ /** The identifier of the data type this input type belongs to */
277
+ dataTypeIdentifier: DataTypeIdentifier;
278
+ /** The input data type that this configuration applies to */
279
+ inputType: DataType;
280
+ }
281
+
282
+ /** Represents a rule that can be applied to a data type. */
283
+ export interface DataTypeRulesInputTypesConfig {
284
+ __typename?: 'DataTypeRulesInputTypesConfig';
285
+ /** The input types that can be used in this data type rule */
286
+ inputTypes: Array<DataTypeRulesInputTypeConfig>;
287
+ }
288
+
289
+ /** Represents a rule that can be applied to a data type. */
290
+ export interface DataTypeRulesItemOfCollectionConfig {
291
+ __typename?: 'DataTypeRulesItemOfCollectionConfig';
292
+ /** The items that can be configured for this rule. */
293
+ items?: Maybe<Array<Scalars['JSON']['output']>>;
294
+ }
295
+
296
+ /** Represents a rule that can be applied to a data type. */
297
+ export interface DataTypeRulesNumberRangeConfig {
298
+ __typename?: 'DataTypeRulesNumberRangeConfig';
299
+ /** The minimum value of the range */
300
+ from: Scalars['Int']['output'];
301
+ /** The step value for the range, if applicable */
302
+ steps?: Maybe<Scalars['Int']['output']>;
303
+ /** The maximum value of the range */
304
+ to: Scalars['Int']['output'];
305
+ }
306
+
307
+ /** Represents a rule that can be applied to a data type. */
308
+ export interface DataTypeRulesRegexConfig {
309
+ __typename?: 'DataTypeRulesRegexConfig';
310
+ /** The regex pattern to match against the data type value. */
311
+ pattern: Scalars['String']['output'];
312
+ }
313
+
314
+ /** Represents a rule that can be applied to a data type. */
315
+ export interface DataTypeRulesReturnTypeConfig {
316
+ __typename?: 'DataTypeRulesReturnTypeConfig';
317
+ /** The data type identifier for the return type. */
318
+ dataTypeIdentifier: DataTypeIdentifier;
319
+ }
320
+
273
321
  /** The type of rule that can be applied to a data type. */
274
- export enum DataTypeRulesDataTypeRuleVariant {
322
+ export enum DataTypeRulesVariant {
275
323
  /** The rule checks if a key is present in the data type. */
276
324
  ContainsKey = 'CONTAINS_KEY',
277
325
  /** The rule checks if a specific type is present in the data type. */
@@ -641,29 +689,6 @@ export interface IdentityInput {
641
689
  code?: InputMaybe<Scalars['String']['input']>;
642
690
  }
643
691
 
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
692
  /** Represents a literal value, such as a string or number. */
668
693
  export interface LiteralValue {
669
694
  __typename?: 'LiteralValue';
@@ -1763,17 +1788,6 @@ export interface NodeParameterValueInput {
1763
1788
  referenceValue?: InputMaybe<ReferenceValueInput>;
1764
1789
  }
1765
1790
 
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
1791
  /** Represents a Organization */
1778
1792
  export interface Organization {
1779
1793
  __typename?: 'Organization';
@@ -2061,20 +2075,6 @@ export interface ReferenceValueInput {
2061
2075
  tertiaryLevel?: InputMaybe<Scalars['Int']['input']>;
2062
2076
  }
2063
2077
 
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
2078
  /** Represents a runtime */
2079
2079
  export interface Runtime {
2080
2080
  __typename?: 'Runtime';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-25fbf0c9e886bd28673ab74a9e554aa777aff987",
3
+ "version": "0.0.0-6c84ca6a692d3341e857f740343aead437ab4427",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "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
  }