data-of-loathing 2.3.0 → 2.5.0

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
@@ -227,7 +227,7 @@ export interface Item {
227
227
  nodeId: Scalars['ID'];
228
228
  id: Scalars['Int'];
229
229
  name: Scalars['String'];
230
- descid: (Scalars['String'] | null);
230
+ descid: (Scalars['Int'] | null);
231
231
  image: Scalars['String'];
232
232
  uses: (ItemUse | null)[];
233
233
  quest: Scalars['Boolean'];
@@ -368,7 +368,7 @@ export interface MonsterDropsConnection {
368
368
  export interface MonsterDrop {
369
369
  monster: Scalars['Int'];
370
370
  item: Scalars['Int'];
371
- rate: Scalars['Int'];
371
+ rate: Scalars['Float'];
372
372
  category: (MonsterDropCategory | null);
373
373
  /** Reads a single `Monster` that is related to this `MonsterDrop`. */
374
374
  monsterByMonster: (Monster | null);
@@ -386,9 +386,9 @@ export interface Monster {
386
386
  boss: Scalars['Boolean'];
387
387
  defence: Scalars['String'];
388
388
  drippy: Scalars['Boolean'];
389
- element: MonsterElement;
390
- elementalAttack: MonsterElement;
391
- elementalDefence: MonsterElement;
389
+ element: (MonsterElement | null);
390
+ elementalAttack: (MonsterElement | null);
391
+ elementalDefence: (MonsterElement | null);
392
392
  elementalResistance: Scalars['String'];
393
393
  experience: (Scalars['String'] | null);
394
394
  free: Scalars['Boolean'];
@@ -2828,7 +2828,7 @@ export interface QueryGenqlSelection {
2828
2828
  });
2829
2829
  itemByDescid?: (ItemGenqlSelection & {
2830
2830
  __args: {
2831
- descid: Scalars['String'];
2831
+ descid: Scalars['Int'];
2832
2832
  };
2833
2833
  });
2834
2834
  locationByName?: (LocationGenqlSelection & {
@@ -3627,7 +3627,7 @@ export interface MonsterDropCondition {
3627
3627
  /** Checks for equality with the object’s `item` field. */
3628
3628
  item?: (Scalars['Int'] | null);
3629
3629
  /** Checks for equality with the object’s `rate` field. */
3630
- rate?: (Scalars['Int'] | null);
3630
+ rate?: (Scalars['Float'] | null);
3631
3631
  /** Checks for equality with the object’s `category` field. */
3632
3632
  category?: (MonsterDropCategory | null);
3633
3633
  }
@@ -4353,7 +4353,7 @@ export interface ItemCondition {
4353
4353
  /** Checks for equality with the object’s `name` field. */
4354
4354
  name?: (Scalars['String'] | null);
4355
4355
  /** Checks for equality with the object’s `descid` field. */
4356
- descid?: (Scalars['String'] | null);
4356
+ descid?: (Scalars['Int'] | null);
4357
4357
  /** Checks for equality with the object’s `image` field. */
4358
4358
  image?: (Scalars['String'] | null);
4359
4359
  /** Checks for equality with the object’s `uses` field. */
@@ -5986,7 +5986,7 @@ export interface CreateItemInput {
5986
5986
  export interface ItemInput {
5987
5987
  id: Scalars['Int'];
5988
5988
  name: Scalars['String'];
5989
- descid?: (Scalars['String'] | null);
5989
+ descid?: (Scalars['Int'] | null);
5990
5990
  image: Scalars['String'];
5991
5991
  uses: (ItemUse | null)[];
5992
5992
  quest: Scalars['Boolean'];
@@ -6116,7 +6116,7 @@ export interface CreateMonsterDropInput {
6116
6116
  export interface MonsterDropInput {
6117
6117
  monster: Scalars['Int'];
6118
6118
  item: Scalars['Int'];
6119
- rate: Scalars['Int'];
6119
+ rate: Scalars['Float'];
6120
6120
  category?: (MonsterDropCategory | null);
6121
6121
  }
6122
6122
  /** The output of our create `Monster` mutation. */
@@ -6158,9 +6158,9 @@ export interface MonsterInput {
6158
6158
  boss: Scalars['Boolean'];
6159
6159
  defence: Scalars['String'];
6160
6160
  drippy: Scalars['Boolean'];
6161
- element: MonsterElement;
6162
- elementalAttack: MonsterElement;
6163
- elementalDefence: MonsterElement;
6161
+ element?: (MonsterElement | null);
6162
+ elementalAttack?: (MonsterElement | null);
6163
+ elementalDefence?: (MonsterElement | null);
6164
6164
  elementalResistance: Scalars['String'];
6165
6165
  experience?: (Scalars['String'] | null);
6166
6166
  free: Scalars['Boolean'];
@@ -7089,7 +7089,7 @@ export interface UpdateItemInput {
7089
7089
  export interface ItemPatch {
7090
7090
  id?: (Scalars['Int'] | null);
7091
7091
  name?: (Scalars['String'] | null);
7092
- descid?: (Scalars['String'] | null);
7092
+ descid?: (Scalars['Int'] | null);
7093
7093
  image?: (Scalars['String'] | null);
7094
7094
  uses?: ((ItemUse | null)[] | null);
7095
7095
  quest?: (Scalars['Boolean'] | null);
@@ -7120,7 +7120,7 @@ export interface UpdateItemByDescidInput {
7120
7120
  clientMutationId?: (Scalars['String'] | null);
7121
7121
  /** An object where the defined keys will be set on the `Item` being updated. */
7122
7122
  itemPatch: ItemPatch;
7123
- descid: Scalars['String'];
7123
+ descid: Scalars['Int'];
7124
7124
  }
7125
7125
  /** The output of our update `Location` mutation. */
7126
7126
  export interface UpdateLocationPayloadGenqlSelection {
@@ -7985,7 +7985,7 @@ export interface DeleteItemByDescidInput {
7985
7985
  * payload verbatim. May be used to track mutations by the client.
7986
7986
  */
7987
7987
  clientMutationId?: (Scalars['String'] | null);
7988
- descid: Scalars['String'];
7988
+ descid: Scalars['Int'];
7989
7989
  }
7990
7990
  /** The output of our delete `Location` mutation. */
7991
7991
  export interface DeleteLocationPayloadGenqlSelection {
package/dist/types.js CHANGED
@@ -821,8 +821,8 @@ exports.default = {
821
821
  16,
822
822
  {
823
823
  "descid": [
824
- 6,
825
- "String!"
824
+ 5,
825
+ "Int!"
826
826
  ]
827
827
  }
828
828
  ],
@@ -1384,7 +1384,7 @@ exports.default = {
1384
1384
  6
1385
1385
  ],
1386
1386
  "descid": [
1387
- 6
1387
+ 5
1388
1388
  ],
1389
1389
  "image": [
1390
1390
  6
@@ -1894,7 +1894,7 @@ exports.default = {
1894
1894
  5
1895
1895
  ],
1896
1896
  "rate": [
1897
- 5
1897
+ 21
1898
1898
  ],
1899
1899
  "category": [
1900
1900
  32
@@ -2117,7 +2117,7 @@ exports.default = {
2117
2117
  5
2118
2118
  ],
2119
2119
  "rate": [
2120
- 5
2120
+ 21
2121
2121
  ],
2122
2122
  "category": [
2123
2123
  32
@@ -3140,7 +3140,7 @@ exports.default = {
3140
3140
  6
3141
3141
  ],
3142
3142
  "descid": [
3143
- 6
3143
+ 5
3144
3144
  ],
3145
3145
  "image": [
3146
3146
  6
@@ -5380,7 +5380,7 @@ exports.default = {
5380
5380
  6
5381
5381
  ],
5382
5382
  "descid": [
5383
- 6
5383
+ 5
5384
5384
  ],
5385
5385
  "image": [
5386
5386
  6
@@ -5575,7 +5575,7 @@ exports.default = {
5575
5575
  5
5576
5576
  ],
5577
5577
  "rate": [
5578
- 5
5578
+ 21
5579
5579
  ],
5580
5580
  "category": [
5581
5581
  32
@@ -7007,7 +7007,7 @@ exports.default = {
7007
7007
  6
7008
7008
  ],
7009
7009
  "descid": [
7010
- 6
7010
+ 5
7011
7011
  ],
7012
7012
  "image": [
7013
7013
  6
@@ -7062,7 +7062,7 @@ exports.default = {
7062
7062
  256
7063
7063
  ],
7064
7064
  "descid": [
7065
- 6
7065
+ 5
7066
7066
  ],
7067
7067
  "__typename": [
7068
7068
  6
@@ -8241,7 +8241,7 @@ exports.default = {
8241
8241
  6
8242
8242
  ],
8243
8243
  "descid": [
8244
- 6
8244
+ 5
8245
8245
  ],
8246
8246
  "__typename": [
8247
8247
  6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-of-loathing",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "packageManager": "yarn@4.6.0",
5
5
  "devDependencies": {
6
6
  "@genql/cli": "^6.3.3",