data-of-loathing 2.6.1 → 2.6.2

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/dist/schema.d.ts CHANGED
@@ -85,6 +85,7 @@ export interface Query {
85
85
  itemById: (Item | null);
86
86
  itemByDescid: (Item | null);
87
87
  locationByName: (Location | null);
88
+ metaById: (Meta | null);
88
89
  monsterById: (Monster | null);
89
90
  outfitById: (Outfit | null);
90
91
  pathById: (Path | null);
@@ -116,6 +117,8 @@ export interface Query {
116
117
  item: (Item | null);
117
118
  /** Reads a single `Location` using its globally unique `ID`. */
118
119
  location: (Location | null);
120
+ /** Reads a single `Meta` using its globally unique `ID`. */
121
+ meta: (Meta | null);
119
122
  /** Reads a single `Monster` using its globally unique `ID`. */
120
123
  monster: (Monster | null);
121
124
  /** Reads a single `Outfit` using its globally unique `ID`. */
@@ -131,7 +134,7 @@ export interface Query {
131
134
  __typename: 'Query';
132
135
  }
133
136
  /** An object with a globally unique `ID`. */
134
- export type Node = (Query | Class | Path | Concoction | Item | Equipment | Consumable | Familiar | FamiliarModifier | Monster | Location | Outfit | FoldGroup | ZapGroup | ItemModifier | EffectModifier | Effect | SkillModifier | Skill) & {
137
+ export type Node = (Query | Class | Path | Concoction | Item | Equipment | Consumable | Familiar | FamiliarModifier | Monster | Location | Outfit | FoldGroup | ZapGroup | ItemModifier | EffectModifier | Effect | Meta | SkillModifier | Skill) & {
135
138
  __isUnion?: true;
136
139
  };
137
140
  /** A connection to a list of `Class` values. */
@@ -951,7 +954,11 @@ export interface MetasConnection {
951
954
  __typename: 'MetasConnection';
952
955
  }
953
956
  export interface Meta {
954
- lastUpdate: (Scalars['Datetime'] | null);
957
+ /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
958
+ nodeId: Scalars['ID'];
959
+ id: Scalars['Int'];
960
+ lastUpdate: Scalars['Datetime'];
961
+ lastRevision: Scalars['Int'];
955
962
  __typename: 'Meta';
956
963
  }
957
964
  /** A `Meta` edge in the connection. */
@@ -963,7 +970,7 @@ export interface MetasEdge {
963
970
  __typename: 'MetasEdge';
964
971
  }
965
972
  /** Methods to use when ordering `Meta`. */
966
- export type MetasOrderBy = 'NATURAL' | 'LAST_UPDATE_ASC' | 'LAST_UPDATE_DESC';
973
+ export type MetasOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'LAST_UPDATE_ASC' | 'LAST_UPDATE_DESC' | 'LAST_REVISION_ASC' | 'LAST_REVISION_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
967
974
  /** A connection to a list of `Monster` values. */
968
975
  export interface MonstersConnection {
969
976
  /** A list of `Monster` objects. */
@@ -1229,6 +1236,10 @@ export interface Mutation {
1229
1236
  updateLocation: (UpdateLocationPayload | null);
1230
1237
  /** Updates a single `Location` using a unique key and a patch. */
1231
1238
  updateLocationByName: (UpdateLocationPayload | null);
1239
+ /** Updates a single `Meta` using its globally unique id and a patch. */
1240
+ updateMeta: (UpdateMetaPayload | null);
1241
+ /** Updates a single `Meta` using a unique key and a patch. */
1242
+ updateMetaById: (UpdateMetaPayload | null);
1232
1243
  /** Updates a single `Monster` using its globally unique id and a patch. */
1233
1244
  updateMonster: (UpdateMonsterPayload | null);
1234
1245
  /** Updates a single `Monster` using a unique key and a patch. */
@@ -1307,6 +1318,10 @@ export interface Mutation {
1307
1318
  deleteLocation: (DeleteLocationPayload | null);
1308
1319
  /** Deletes a single `Location` using a unique key. */
1309
1320
  deleteLocationByName: (DeleteLocationPayload | null);
1321
+ /** Deletes a single `Meta` using its globally unique id. */
1322
+ deleteMeta: (DeleteMetaPayload | null);
1323
+ /** Deletes a single `Meta` using a unique key. */
1324
+ deleteMetaById: (DeleteMetaPayload | null);
1310
1325
  /** Deletes a single `Monster` using its globally unique id. */
1311
1326
  deleteMonster: (DeleteMonsterPayload | null);
1312
1327
  /** Deletes a single `Monster` using a unique key. */
@@ -1971,6 +1986,21 @@ export interface UpdateLocationPayload {
1971
1986
  locationEdge: (LocationsEdge | null);
1972
1987
  __typename: 'UpdateLocationPayload';
1973
1988
  }
1989
+ /** The output of our update `Meta` mutation. */
1990
+ export interface UpdateMetaPayload {
1991
+ /**
1992
+ * The exact same `clientMutationId` that was provided in the mutation input,
1993
+ * unchanged and unused. May be used by a client to track mutations.
1994
+ */
1995
+ clientMutationId: (Scalars['String'] | null);
1996
+ /** The `Meta` that was updated by this mutation. */
1997
+ meta: (Meta | null);
1998
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
1999
+ query: (Query | null);
2000
+ /** An edge for our `Meta`. May be used by Relay 1. */
2001
+ metaEdge: (MetasEdge | null);
2002
+ __typename: 'UpdateMetaPayload';
2003
+ }
1974
2004
  /** The output of our update `Monster` mutation. */
1975
2005
  export interface UpdateMonsterPayload {
1976
2006
  /**
@@ -2273,6 +2303,22 @@ export interface DeleteLocationPayload {
2273
2303
  locationEdge: (LocationsEdge | null);
2274
2304
  __typename: 'DeleteLocationPayload';
2275
2305
  }
2306
+ /** The output of our delete `Meta` mutation. */
2307
+ export interface DeleteMetaPayload {
2308
+ /**
2309
+ * The exact same `clientMutationId` that was provided in the mutation input,
2310
+ * unchanged and unused. May be used by a client to track mutations.
2311
+ */
2312
+ clientMutationId: (Scalars['String'] | null);
2313
+ /** The `Meta` that was deleted by this mutation. */
2314
+ meta: (Meta | null);
2315
+ deletedMetaId: (Scalars['ID'] | null);
2316
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
2317
+ query: (Query | null);
2318
+ /** An edge for our `Meta`. May be used by Relay 1. */
2319
+ metaEdge: (MetasEdge | null);
2320
+ __typename: 'DeleteMetaPayload';
2321
+ }
2276
2322
  /** The output of our delete `Monster` mutation. */
2277
2323
  export interface DeleteMonsterPayload {
2278
2324
  /**
@@ -3029,6 +3075,11 @@ export interface QueryGenqlSelection {
3029
3075
  name: Scalars['String'];
3030
3076
  };
3031
3077
  });
3078
+ metaById?: (MetaGenqlSelection & {
3079
+ __args: {
3080
+ id: Scalars['Int'];
3081
+ };
3082
+ });
3032
3083
  monsterById?: (MonsterGenqlSelection & {
3033
3084
  __args: {
3034
3085
  id: Scalars['Int'];
@@ -3148,6 +3199,13 @@ export interface QueryGenqlSelection {
3148
3199
  nodeId: Scalars['ID'];
3149
3200
  };
3150
3201
  });
3202
+ /** Reads a single `Meta` using its globally unique `ID`. */
3203
+ meta?: (MetaGenqlSelection & {
3204
+ __args: {
3205
+ /** The globally unique `ID` to be used in selecting a single `Meta`. */
3206
+ nodeId: Scalars['ID'];
3207
+ };
3208
+ });
3151
3209
  /** Reads a single `Monster` using its globally unique `ID`. */
3152
3210
  monster?: (MonsterGenqlSelection & {
3153
3211
  __args: {
@@ -3214,6 +3272,7 @@ export interface NodeGenqlSelection {
3214
3272
  on_ItemModifier?: ItemModifierGenqlSelection;
3215
3273
  on_EffectModifier?: EffectModifierGenqlSelection;
3216
3274
  on_Effect?: EffectGenqlSelection;
3275
+ on_Meta?: MetaGenqlSelection;
3217
3276
  on_SkillModifier?: SkillModifierGenqlSelection;
3218
3277
  on_Skill?: SkillGenqlSelection;
3219
3278
  __typename?: boolean | number;
@@ -4738,7 +4797,11 @@ export interface MetasConnectionGenqlSelection {
4738
4797
  __scalar?: boolean | number;
4739
4798
  }
4740
4799
  export interface MetaGenqlSelection {
4800
+ /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
4801
+ nodeId?: boolean | number;
4802
+ id?: boolean | number;
4741
4803
  lastUpdate?: boolean | number;
4804
+ lastRevision?: boolean | number;
4742
4805
  __typename?: boolean | number;
4743
4806
  __scalar?: boolean | number;
4744
4807
  }
@@ -4753,8 +4816,12 @@ export interface MetasEdgeGenqlSelection {
4753
4816
  }
4754
4817
  /** A condition to be used against `Meta` object types. All fields are tested for equality and combined with a logical ‘and.’ */
4755
4818
  export interface MetaCondition {
4819
+ /** Checks for equality with the object’s `id` field. */
4820
+ id?: (Scalars['Int'] | null);
4756
4821
  /** Checks for equality with the object’s `lastUpdate` field. */
4757
4822
  lastUpdate?: (Scalars['Datetime'] | null);
4823
+ /** Checks for equality with the object’s `lastRevision` field. */
4824
+ lastRevision?: (Scalars['Int'] | null);
4758
4825
  }
4759
4826
  /** A connection to a list of `Monster` values. */
4760
4827
  export interface MonstersConnectionGenqlSelection {
@@ -5456,6 +5523,20 @@ export interface MutationGenqlSelection {
5456
5523
  input: UpdateLocationByNameInput;
5457
5524
  };
5458
5525
  });
5526
+ /** Updates a single `Meta` using its globally unique id and a patch. */
5527
+ updateMeta?: (UpdateMetaPayloadGenqlSelection & {
5528
+ __args: {
5529
+ /** The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. */
5530
+ input: UpdateMetaInput;
5531
+ };
5532
+ });
5533
+ /** Updates a single `Meta` using a unique key and a patch. */
5534
+ updateMetaById?: (UpdateMetaPayloadGenqlSelection & {
5535
+ __args: {
5536
+ /** The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. */
5537
+ input: UpdateMetaByIdInput;
5538
+ };
5539
+ });
5459
5540
  /** Updates a single `Monster` using its globally unique id and a patch. */
5460
5541
  updateMonster?: (UpdateMonsterPayloadGenqlSelection & {
5461
5542
  __args: {
@@ -5729,6 +5810,20 @@ export interface MutationGenqlSelection {
5729
5810
  input: DeleteLocationByNameInput;
5730
5811
  };
5731
5812
  });
5813
+ /** Deletes a single `Meta` using its globally unique id. */
5814
+ deleteMeta?: (DeleteMetaPayloadGenqlSelection & {
5815
+ __args: {
5816
+ /** The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. */
5817
+ input: DeleteMetaInput;
5818
+ };
5819
+ });
5820
+ /** Deletes a single `Meta` using a unique key. */
5821
+ deleteMetaById?: (DeleteMetaPayloadGenqlSelection & {
5822
+ __args: {
5823
+ /** The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. */
5824
+ input: DeleteMetaByIdInput;
5825
+ };
5826
+ });
5732
5827
  /** Deletes a single `Monster` using its globally unique id. */
5733
5828
  deleteMonster?: (DeleteMonsterPayloadGenqlSelection & {
5734
5829
  __args: {
@@ -6452,7 +6547,9 @@ export interface CreateMetaInput {
6452
6547
  }
6453
6548
  /** An input for mutations affecting `Meta` */
6454
6549
  export interface MetaInput {
6550
+ id?: (Scalars['Int'] | null);
6455
6551
  lastUpdate?: (Scalars['Datetime'] | null);
6552
+ lastRevision?: (Scalars['Int'] | null);
6456
6553
  }
6457
6554
  /** The output of our create `MonsterDrop` mutation. */
6458
6555
  export interface CreateMonsterDropPayloadGenqlSelection {
@@ -7634,6 +7731,56 @@ export interface UpdateLocationByNameInput {
7634
7731
  locationPatch: LocationPatch;
7635
7732
  name: Scalars['String'];
7636
7733
  }
7734
+ /** The output of our update `Meta` mutation. */
7735
+ export interface UpdateMetaPayloadGenqlSelection {
7736
+ /**
7737
+ * The exact same `clientMutationId` that was provided in the mutation input,
7738
+ * unchanged and unused. May be used by a client to track mutations.
7739
+ */
7740
+ clientMutationId?: boolean | number;
7741
+ /** The `Meta` that was updated by this mutation. */
7742
+ meta?: MetaGenqlSelection;
7743
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
7744
+ query?: QueryGenqlSelection;
7745
+ /** An edge for our `Meta`. May be used by Relay 1. */
7746
+ metaEdge?: (MetasEdgeGenqlSelection & {
7747
+ __args?: {
7748
+ /** The method to use when ordering `Meta`. */
7749
+ orderBy?: (MetasOrderBy[] | null);
7750
+ };
7751
+ });
7752
+ __typename?: boolean | number;
7753
+ __scalar?: boolean | number;
7754
+ }
7755
+ /** All input for the `updateMeta` mutation. */
7756
+ export interface UpdateMetaInput {
7757
+ /**
7758
+ * An arbitrary string value with no semantic meaning. Will be included in the
7759
+ * payload verbatim. May be used to track mutations by the client.
7760
+ */
7761
+ clientMutationId?: (Scalars['String'] | null);
7762
+ /** The globally unique `ID` which will identify a single `Meta` to be updated. */
7763
+ nodeId: Scalars['ID'];
7764
+ /** An object where the defined keys will be set on the `Meta` being updated. */
7765
+ metaPatch: MetaPatch;
7766
+ }
7767
+ /** Represents an update to a `Meta`. Fields that are set will be updated. */
7768
+ export interface MetaPatch {
7769
+ id?: (Scalars['Int'] | null);
7770
+ lastUpdate?: (Scalars['Datetime'] | null);
7771
+ lastRevision?: (Scalars['Int'] | null);
7772
+ }
7773
+ /** All input for the `updateMetaById` mutation. */
7774
+ export interface UpdateMetaByIdInput {
7775
+ /**
7776
+ * An arbitrary string value with no semantic meaning. Will be included in the
7777
+ * payload verbatim. May be used to track mutations by the client.
7778
+ */
7779
+ clientMutationId?: (Scalars['String'] | null);
7780
+ /** An object where the defined keys will be set on the `Meta` being updated. */
7781
+ metaPatch: MetaPatch;
7782
+ id: Scalars['Int'];
7783
+ }
7637
7784
  /** The output of our update `Monster` mutation. */
7638
7785
  export interface UpdateMonsterPayloadGenqlSelection {
7639
7786
  /**
@@ -8532,6 +8679,47 @@ export interface DeleteLocationByNameInput {
8532
8679
  clientMutationId?: (Scalars['String'] | null);
8533
8680
  name: Scalars['String'];
8534
8681
  }
8682
+ /** The output of our delete `Meta` mutation. */
8683
+ export interface DeleteMetaPayloadGenqlSelection {
8684
+ /**
8685
+ * The exact same `clientMutationId` that was provided in the mutation input,
8686
+ * unchanged and unused. May be used by a client to track mutations.
8687
+ */
8688
+ clientMutationId?: boolean | number;
8689
+ /** The `Meta` that was deleted by this mutation. */
8690
+ meta?: MetaGenqlSelection;
8691
+ deletedMetaId?: boolean | number;
8692
+ /** Our root query field type. Allows us to run any query from our mutation payload. */
8693
+ query?: QueryGenqlSelection;
8694
+ /** An edge for our `Meta`. May be used by Relay 1. */
8695
+ metaEdge?: (MetasEdgeGenqlSelection & {
8696
+ __args?: {
8697
+ /** The method to use when ordering `Meta`. */
8698
+ orderBy?: (MetasOrderBy[] | null);
8699
+ };
8700
+ });
8701
+ __typename?: boolean | number;
8702
+ __scalar?: boolean | number;
8703
+ }
8704
+ /** All input for the `deleteMeta` mutation. */
8705
+ export interface DeleteMetaInput {
8706
+ /**
8707
+ * An arbitrary string value with no semantic meaning. Will be included in the
8708
+ * payload verbatim. May be used to track mutations by the client.
8709
+ */
8710
+ clientMutationId?: (Scalars['String'] | null);
8711
+ /** The globally unique `ID` which will identify a single `Meta` to be deleted. */
8712
+ nodeId: Scalars['ID'];
8713
+ }
8714
+ /** All input for the `deleteMetaById` mutation. */
8715
+ export interface DeleteMetaByIdInput {
8716
+ /**
8717
+ * An arbitrary string value with no semantic meaning. Will be included in the
8718
+ * payload verbatim. May be used to track mutations by the client.
8719
+ */
8720
+ clientMutationId?: (Scalars['String'] | null);
8721
+ id: Scalars['Int'];
8722
+ }
8535
8723
  /** The output of our delete `Monster` mutation. */
8536
8724
  export interface DeleteMonsterPayloadGenqlSelection {
8537
8725
  /**
@@ -9149,6 +9337,9 @@ export declare const isUpdateItemPayload: (obj?: {
9149
9337
  export declare const isUpdateLocationPayload: (obj?: {
9150
9338
  __typename?: any;
9151
9339
  } | null) => obj is UpdateLocationPayload;
9340
+ export declare const isUpdateMetaPayload: (obj?: {
9341
+ __typename?: any;
9342
+ } | null) => obj is UpdateMetaPayload;
9152
9343
  export declare const isUpdateMonsterPayload: (obj?: {
9153
9344
  __typename?: any;
9154
9345
  } | null) => obj is UpdateMonsterPayload;
@@ -9203,6 +9394,9 @@ export declare const isDeleteItemPayload: (obj?: {
9203
9394
  export declare const isDeleteLocationPayload: (obj?: {
9204
9395
  __typename?: any;
9205
9396
  } | null) => obj is DeleteLocationPayload;
9397
+ export declare const isDeleteMetaPayload: (obj?: {
9398
+ __typename?: any;
9399
+ } | null) => obj is DeleteMetaPayload;
9206
9400
  export declare const isDeleteMonsterPayload: (obj?: {
9207
9401
  __typename?: any;
9208
9402
  } | null) => obj is DeleteMonsterPayload;
@@ -9655,8 +9849,14 @@ export declare const enumLocationsOrderBy: {
9655
9849
  };
9656
9850
  export declare const enumMetasOrderBy: {
9657
9851
  NATURAL: "NATURAL";
9852
+ ID_ASC: "ID_ASC";
9853
+ ID_DESC: "ID_DESC";
9658
9854
  LAST_UPDATE_ASC: "LAST_UPDATE_ASC";
9659
9855
  LAST_UPDATE_DESC: "LAST_UPDATE_DESC";
9856
+ LAST_REVISION_ASC: "LAST_REVISION_ASC";
9857
+ LAST_REVISION_DESC: "LAST_REVISION_DESC";
9858
+ PRIMARY_KEY_ASC: "PRIMARY_KEY_ASC";
9859
+ PRIMARY_KEY_DESC: "PRIMARY_KEY_DESC";
9660
9860
  };
9661
9861
  export declare const enumMonstersOrderBy: {
9662
9862
  NATURAL: "NATURAL";
package/dist/schema.js CHANGED
@@ -6,8 +6,8 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.isEffectModifiersEdge = exports.isEffect = exports.isEffectModifier = exports.isEffectModifiersConnection = exports.isConsumablesEdge = exports.isConsumablesConnection = exports.isConcoctionsEdge = exports.isIngredientsEdge = exports.isIngredient = exports.isIngredientsConnection = exports.isItemModifier = exports.isZapGroupItemsEdge = exports.isZapGroup = exports.isZapGroupItem = exports.isZapGroupItemsConnection = exports.isFoldablesEdge = exports.isFoldGroup = exports.isFoldable = exports.isFoldablesConnection = exports.isOutfitEquipmentsEdge = exports.isOutfitTreatsEdge = exports.isOutfitTreat = exports.isOutfitTreatsConnection = exports.isOutfit = exports.isOutfitEquipment = exports.isOutfitEquipmentsConnection = exports.isMonsterDropsEdge = exports.isNativeMonstersEdge = exports.isLocation = exports.isNativeMonster = exports.isNativeMonstersConnection = exports.isMonster = exports.isMonsterDrop = exports.isMonsterDropsConnection = exports.isFamiliarsEdge = exports.isFamiliarModifier = exports.isFamiliar = exports.isFamiliarsConnection = exports.isConsumable = exports.isEquipment = exports.isItem = exports.isConcoction = exports.isConcoctionsConnection = exports.isPageInfo = exports.isClassesEdge = exports.isPath = exports.isClass = exports.isClassesConnection = exports.isNode = exports.isQuery = void 0;
8
8
  exports.isCreateNativeMonsterPayload = exports.isCreateMonsterPayload = exports.isCreateMonsterDropPayload = exports.isCreateMetaPayload = exports.isCreateLocationPayload = exports.isCreateItemPayload = exports.isCreateItemModifierPayload = exports.isCreateIngredientPayload = exports.isCreateFoldablePayload = exports.isCreateFoldGroupPayload = exports.isCreateFamiliarPayload = exports.isCreateFamiliarModifierPayload = exports.isCreateEquipmentPayload = exports.isCreateEffectPayload = exports.isCreateEffectModifierPayload = exports.isCreateConsumablePayload = exports.isCreateConcoctionPayload = exports.isCreateClassPayload = exports.isMutation = exports.isZapGroupsEdge = exports.isZapGroupsConnection = exports.isSkillsEdge = exports.isSkillsConnection = exports.isSkillModifiersEdge = exports.isSkill = exports.isSkillModifier = exports.isSkillModifiersConnection = exports.isPathsEdge = exports.isPathsConnection = exports.isOutfitsEdge = exports.isOutfitsConnection = exports.isMonstersEdge = exports.isMonstersConnection = exports.isMetasEdge = exports.isMeta = exports.isMetasConnection = exports.isLocationsEdge = exports.isLocationsConnection = exports.isItemsEdge = exports.isItemsConnection = exports.isItemModifiersEdge = exports.isItemModifiersConnection = exports.isFoldGroupsEdge = exports.isFoldGroupsConnection = exports.isFamiliarModifiersEdge = exports.isFamiliarModifiersConnection = exports.isEquipmentEdge = exports.isEquipmentConnection = exports.isEffectsEdge = exports.isEffectsConnection = void 0;
9
- exports.enumMonsterDropCategory = exports.enumFamiliarsOrderBy = exports.enumFamiliarCategory = exports.enumConsumableQuality = exports.enumItemUse = exports.enumClassesOrderBy = exports.isDeleteZapGroupPayload = exports.isDeleteSkillPayload = exports.isDeleteSkillModifierPayload = exports.isDeletePathPayload = exports.isDeleteOutfitPayload = exports.isDeleteMonsterPayload = exports.isDeleteLocationPayload = exports.isDeleteItemPayload = exports.isDeleteItemModifierPayload = exports.isDeleteFoldGroupPayload = exports.isDeleteFamiliarPayload = exports.isDeleteFamiliarModifierPayload = exports.isDeleteEquipmentPayload = exports.isDeleteEffectPayload = exports.isDeleteEffectModifierPayload = exports.isDeleteConsumablePayload = exports.isDeleteConcoctionPayload = exports.isDeleteClassPayload = exports.isUpdateZapGroupPayload = exports.isUpdateSkillPayload = exports.isUpdateSkillModifierPayload = exports.isUpdatePathPayload = exports.isUpdateOutfitPayload = exports.isUpdateMonsterPayload = exports.isUpdateLocationPayload = exports.isUpdateItemPayload = exports.isUpdateItemModifierPayload = exports.isUpdateFoldGroupPayload = exports.isUpdateFamiliarPayload = exports.isUpdateFamiliarModifierPayload = exports.isUpdateEquipmentPayload = exports.isUpdateEffectPayload = exports.isUpdateEffectModifierPayload = exports.isUpdateConsumablePayload = exports.isUpdateConcoctionPayload = exports.isUpdateClassPayload = exports.isCreateZapGroupPayload = exports.isCreateZapGroupItemPayload = exports.isCreateSkillPayload = exports.isCreateSkillModifierPayload = exports.isCreatePathPayload = exports.isCreateOutfitPayload = exports.isCreateOutfitTreatPayload = exports.isCreateOutfitEquipmentPayload = void 0;
10
- exports.enumZapGroupsOrderBy = exports.enumSkillsOrderBy = exports.enumSkillModifiersOrderBy = exports.enumSkillTag = exports.enumPathsOrderBy = exports.enumOutfitsOrderBy = exports.enumMonstersOrderBy = exports.enumMetasOrderBy = exports.enumLocationsOrderBy = exports.enumItemsOrderBy = exports.enumItemModifiersOrderBy = exports.enumFoldGroupsOrderBy = exports.enumFamiliarModifiersOrderBy = exports.enumEquipmentOrderBy = exports.enumEffectsOrderBy = exports.enumEffectModifiersOrderBy = exports.enumEffectQuality = exports.enumConsumablesOrderBy = exports.enumIngredientsOrderBy = exports.enumConcoctionsOrderBy = exports.enumZapGroupItemsOrderBy = exports.enumFoldablesOrderBy = exports.enumOutfitTreatsOrderBy = exports.enumOutfitEquipmentsOrderBy = exports.enumNativeMonstersOrderBy = exports.enumLocationEnvironment = exports.enumLocationDifficulty = exports.enumMonsterDropsOrderBy = exports.enumMonsterElement = void 0;
9
+ exports.enumFamiliarCategory = exports.enumConsumableQuality = exports.enumItemUse = exports.enumClassesOrderBy = exports.isDeleteZapGroupPayload = exports.isDeleteSkillPayload = exports.isDeleteSkillModifierPayload = exports.isDeletePathPayload = exports.isDeleteOutfitPayload = exports.isDeleteMonsterPayload = exports.isDeleteMetaPayload = exports.isDeleteLocationPayload = exports.isDeleteItemPayload = exports.isDeleteItemModifierPayload = exports.isDeleteFoldGroupPayload = exports.isDeleteFamiliarPayload = exports.isDeleteFamiliarModifierPayload = exports.isDeleteEquipmentPayload = exports.isDeleteEffectPayload = exports.isDeleteEffectModifierPayload = exports.isDeleteConsumablePayload = exports.isDeleteConcoctionPayload = exports.isDeleteClassPayload = exports.isUpdateZapGroupPayload = exports.isUpdateSkillPayload = exports.isUpdateSkillModifierPayload = exports.isUpdatePathPayload = exports.isUpdateOutfitPayload = exports.isUpdateMonsterPayload = exports.isUpdateMetaPayload = exports.isUpdateLocationPayload = exports.isUpdateItemPayload = exports.isUpdateItemModifierPayload = exports.isUpdateFoldGroupPayload = exports.isUpdateFamiliarPayload = exports.isUpdateFamiliarModifierPayload = exports.isUpdateEquipmentPayload = exports.isUpdateEffectPayload = exports.isUpdateEffectModifierPayload = exports.isUpdateConsumablePayload = exports.isUpdateConcoctionPayload = exports.isUpdateClassPayload = exports.isCreateZapGroupPayload = exports.isCreateZapGroupItemPayload = exports.isCreateSkillPayload = exports.isCreateSkillModifierPayload = exports.isCreatePathPayload = exports.isCreateOutfitPayload = exports.isCreateOutfitTreatPayload = exports.isCreateOutfitEquipmentPayload = void 0;
10
+ exports.enumZapGroupsOrderBy = exports.enumSkillsOrderBy = exports.enumSkillModifiersOrderBy = exports.enumSkillTag = exports.enumPathsOrderBy = exports.enumOutfitsOrderBy = exports.enumMonstersOrderBy = exports.enumMetasOrderBy = exports.enumLocationsOrderBy = exports.enumItemsOrderBy = exports.enumItemModifiersOrderBy = exports.enumFoldGroupsOrderBy = exports.enumFamiliarModifiersOrderBy = exports.enumEquipmentOrderBy = exports.enumEffectsOrderBy = exports.enumEffectModifiersOrderBy = exports.enumEffectQuality = exports.enumConsumablesOrderBy = exports.enumIngredientsOrderBy = exports.enumConcoctionsOrderBy = exports.enumZapGroupItemsOrderBy = exports.enumFoldablesOrderBy = exports.enumOutfitTreatsOrderBy = exports.enumOutfitEquipmentsOrderBy = exports.enumNativeMonstersOrderBy = exports.enumLocationEnvironment = exports.enumLocationDifficulty = exports.enumMonsterDropsOrderBy = exports.enumMonsterElement = exports.enumMonsterDropCategory = exports.enumFamiliarsOrderBy = void 0;
11
11
  const Query_possibleTypes = ['Query'];
12
12
  const isQuery = (obj) => {
13
13
  if (!(obj === null || obj === void 0 ? void 0 : obj.__typename))
@@ -15,7 +15,7 @@ const isQuery = (obj) => {
15
15
  return Query_possibleTypes.includes(obj.__typename);
16
16
  };
17
17
  exports.isQuery = isQuery;
18
- const Node_possibleTypes = ['Query', 'Class', 'Path', 'Concoction', 'Item', 'Equipment', 'Consumable', 'Familiar', 'FamiliarModifier', 'Monster', 'Location', 'Outfit', 'FoldGroup', 'ZapGroup', 'ItemModifier', 'EffectModifier', 'Effect', 'SkillModifier', 'Skill'];
18
+ const Node_possibleTypes = ['Query', 'Class', 'Path', 'Concoction', 'Item', 'Equipment', 'Consumable', 'Familiar', 'FamiliarModifier', 'Monster', 'Location', 'Outfit', 'FoldGroup', 'ZapGroup', 'ItemModifier', 'EffectModifier', 'Effect', 'Meta', 'SkillModifier', 'Skill'];
19
19
  const isNode = (obj) => {
20
20
  if (!(obj === null || obj === void 0 ? void 0 : obj.__typename))
21
21
  throw new Error('__typename is missing in "isNode"');
@@ -848,6 +848,13 @@ const isUpdateLocationPayload = (obj) => {
848
848
  return UpdateLocationPayload_possibleTypes.includes(obj.__typename);
849
849
  };
850
850
  exports.isUpdateLocationPayload = isUpdateLocationPayload;
851
+ const UpdateMetaPayload_possibleTypes = ['UpdateMetaPayload'];
852
+ const isUpdateMetaPayload = (obj) => {
853
+ if (!(obj === null || obj === void 0 ? void 0 : obj.__typename))
854
+ throw new Error('__typename is missing in "isUpdateMetaPayload"');
855
+ return UpdateMetaPayload_possibleTypes.includes(obj.__typename);
856
+ };
857
+ exports.isUpdateMetaPayload = isUpdateMetaPayload;
851
858
  const UpdateMonsterPayload_possibleTypes = ['UpdateMonsterPayload'];
852
859
  const isUpdateMonsterPayload = (obj) => {
853
860
  if (!(obj === null || obj === void 0 ? void 0 : obj.__typename))
@@ -974,6 +981,13 @@ const isDeleteLocationPayload = (obj) => {
974
981
  return DeleteLocationPayload_possibleTypes.includes(obj.__typename);
975
982
  };
976
983
  exports.isDeleteLocationPayload = isDeleteLocationPayload;
984
+ const DeleteMetaPayload_possibleTypes = ['DeleteMetaPayload'];
985
+ const isDeleteMetaPayload = (obj) => {
986
+ if (!(obj === null || obj === void 0 ? void 0 : obj.__typename))
987
+ throw new Error('__typename is missing in "isDeleteMetaPayload"');
988
+ return DeleteMetaPayload_possibleTypes.includes(obj.__typename);
989
+ };
990
+ exports.isDeleteMetaPayload = isDeleteMetaPayload;
977
991
  const DeleteMonsterPayload_possibleTypes = ['DeleteMonsterPayload'];
978
992
  const isDeleteMonsterPayload = (obj) => {
979
993
  if (!(obj === null || obj === void 0 ? void 0 : obj.__typename))
@@ -1450,8 +1464,14 @@ exports.enumLocationsOrderBy = {
1450
1464
  };
1451
1465
  exports.enumMetasOrderBy = {
1452
1466
  NATURAL: 'NATURAL',
1467
+ ID_ASC: 'ID_ASC',
1468
+ ID_DESC: 'ID_DESC',
1453
1469
  LAST_UPDATE_ASC: 'LAST_UPDATE_ASC',
1454
- LAST_UPDATE_DESC: 'LAST_UPDATE_DESC'
1470
+ LAST_UPDATE_DESC: 'LAST_UPDATE_DESC',
1471
+ LAST_REVISION_ASC: 'LAST_REVISION_ASC',
1472
+ LAST_REVISION_DESC: 'LAST_REVISION_DESC',
1473
+ PRIMARY_KEY_ASC: 'PRIMARY_KEY_ASC',
1474
+ PRIMARY_KEY_DESC: 'PRIMARY_KEY_DESC'
1455
1475
  };
1456
1476
  exports.enumMonstersOrderBy = {
1457
1477
  NATURAL: 'NATURAL',
package/dist/types.d.ts CHANGED
@@ -283,6 +283,9 @@ declare const _default: {
283
283
  locationByName: (number | {
284
284
  name: (string | number)[];
285
285
  })[];
286
+ metaById: (number | {
287
+ id: (string | number)[];
288
+ })[];
286
289
  monsterById: (number | {
287
290
  id: (string | number)[];
288
291
  })[];
@@ -340,6 +343,9 @@ declare const _default: {
340
343
  location: (number | {
341
344
  nodeId: (string | number)[];
342
345
  })[];
346
+ meta: (number | {
347
+ nodeId: (string | number)[];
348
+ })[];
343
349
  monster: (number | {
344
350
  nodeId: (string | number)[];
345
351
  })[];
@@ -379,6 +385,7 @@ declare const _default: {
379
385
  on_ItemModifier: number[];
380
386
  on_EffectModifier: number[];
381
387
  on_Effect: number[];
388
+ on_Meta: number[];
382
389
  on_SkillModifier: number[];
383
390
  on_Skill: number[];
384
391
  __typename: number[];
@@ -1275,7 +1282,10 @@ declare const _default: {
1275
1282
  __typename: number[];
1276
1283
  };
1277
1284
  Meta: {
1285
+ nodeId: number[];
1286
+ id: number[];
1278
1287
  lastUpdate: number[];
1288
+ lastRevision: number[];
1279
1289
  __typename: number[];
1280
1290
  };
1281
1291
  Datetime: {};
@@ -1286,7 +1296,9 @@ declare const _default: {
1286
1296
  };
1287
1297
  MetasOrderBy: {};
1288
1298
  MetaCondition: {
1299
+ id: number[];
1289
1300
  lastUpdate: number[];
1301
+ lastRevision: number[];
1290
1302
  __typename: number[];
1291
1303
  };
1292
1304
  MonstersConnection: {
@@ -1640,6 +1652,12 @@ declare const _default: {
1640
1652
  updateLocationByName: (number | {
1641
1653
  input: (string | number)[];
1642
1654
  })[];
1655
+ updateMeta: (number | {
1656
+ input: (string | number)[];
1657
+ })[];
1658
+ updateMetaById: (number | {
1659
+ input: (string | number)[];
1660
+ })[];
1643
1661
  updateMonster: (number | {
1644
1662
  input: (string | number)[];
1645
1663
  })[];
@@ -1757,6 +1775,12 @@ declare const _default: {
1757
1775
  deleteLocationByName: (number | {
1758
1776
  input: (string | number)[];
1759
1777
  })[];
1778
+ deleteMeta: (number | {
1779
+ input: (string | number)[];
1780
+ })[];
1781
+ deleteMetaById: (number | {
1782
+ input: (string | number)[];
1783
+ })[];
1760
1784
  deleteMonster: (number | {
1761
1785
  input: (string | number)[];
1762
1786
  })[];
@@ -2158,7 +2182,9 @@ declare const _default: {
2158
2182
  __typename: number[];
2159
2183
  };
2160
2184
  MetaInput: {
2185
+ id: number[];
2161
2186
  lastUpdate: number[];
2187
+ lastRevision: number[];
2162
2188
  __typename: number[];
2163
2189
  };
2164
2190
  CreateMonsterDropPayload: {
@@ -2848,6 +2874,33 @@ declare const _default: {
2848
2874
  name: number[];
2849
2875
  __typename: number[];
2850
2876
  };
2877
+ UpdateMetaPayload: {
2878
+ clientMutationId: number[];
2879
+ meta: number[];
2880
+ query: number[];
2881
+ metaEdge: (number | {
2882
+ orderBy: (string | number)[];
2883
+ })[];
2884
+ __typename: number[];
2885
+ };
2886
+ UpdateMetaInput: {
2887
+ clientMutationId: number[];
2888
+ nodeId: number[];
2889
+ metaPatch: number[];
2890
+ __typename: number[];
2891
+ };
2892
+ MetaPatch: {
2893
+ id: number[];
2894
+ lastUpdate: number[];
2895
+ lastRevision: number[];
2896
+ __typename: number[];
2897
+ };
2898
+ UpdateMetaByIdInput: {
2899
+ clientMutationId: number[];
2900
+ metaPatch: number[];
2901
+ id: number[];
2902
+ __typename: number[];
2903
+ };
2851
2904
  UpdateMonsterPayload: {
2852
2905
  clientMutationId: number[];
2853
2906
  monster: number[];
@@ -3333,6 +3386,26 @@ declare const _default: {
3333
3386
  name: number[];
3334
3387
  __typename: number[];
3335
3388
  };
3389
+ DeleteMetaPayload: {
3390
+ clientMutationId: number[];
3391
+ meta: number[];
3392
+ deletedMetaId: number[];
3393
+ query: number[];
3394
+ metaEdge: (number | {
3395
+ orderBy: (string | number)[];
3396
+ })[];
3397
+ __typename: number[];
3398
+ };
3399
+ DeleteMetaInput: {
3400
+ clientMutationId: number[];
3401
+ nodeId: number[];
3402
+ __typename: number[];
3403
+ };
3404
+ DeleteMetaByIdInput: {
3405
+ clientMutationId: number[];
3406
+ id: number[];
3407
+ __typename: number[];
3408
+ };
3336
3409
  DeleteMonsterPayload: {
3337
3410
  clientMutationId: number[];
3338
3411
  monster: number[];