Skip to content

Commit

Permalink
Merge pull request #250 from DestinyItemManager/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
bhollis authored Nov 15, 2024
2 parents 2593120 + 9e552ff commit aaa26e4
Show file tree
Hide file tree
Showing 3 changed files with 429 additions and 424 deletions.
74 changes: 40 additions & 34 deletions api/stately/generated/stately_item_types.js
Original file line number Diff line number Diff line change
@@ -1,61 +1,67 @@
// @generated by Stately. DO NOT EDIT.
/* eslint-disable */

import { createClient as createGenericClient, StatelyError } from "@stately-cloud/client";
import { createClient as createGenericClient } from '@stately-cloud/client';
import {
ApiAppSchema,
GlobalSettingsSchema,
ItemAnnotationSchema,
ItemHashTagSchema,
LoadoutSchema,
LoadoutShareSchema,
SearchSchema,
SettingsSchema,
TriumphSchema,
ArtifactUnlocksSchema,
CollapsedSectionSchema,
CustomStatDefSchema,
CustomStatWeightsEntrySchema,
CustomStatsEntrySchema,
CustomStatWeightsEntrySchema,
GlobalSettingsSchema,
InGameLoadoutIdentifiersSchema,
ItemAnnotationSchema,
ItemHashTagSchema,
LoadoutItemSchema,
LoadoutParametersSchema,
LoadoutSchema,
LoadoutShareSchema,
ModsByBucketEntrySchema,
SearchSchema,
SettingsSchema,
SocketOverrideSchema,
StatConstraintSchema,
StatConstraintsEntrySchema,
} from "./stately_pb.js";
TriumphSchema,
} from './stately_pb.js';

export const typeToSchema = {
// itemTypes
"ApiApp": ApiAppSchema,
"GlobalSettings": GlobalSettingsSchema,
"ItemAnnotation": ItemAnnotationSchema,
"ItemHashTag": ItemHashTagSchema,
"Loadout": LoadoutSchema,
"LoadoutShare": LoadoutShareSchema,
"Search": SearchSchema,
"Settings": SettingsSchema,
"Triumph": TriumphSchema,
ApiApp: ApiAppSchema,
GlobalSettings: GlobalSettingsSchema,
ItemAnnotation: ItemAnnotationSchema,
ItemHashTag: ItemHashTagSchema,
Loadout: LoadoutSchema,
LoadoutShare: LoadoutShareSchema,
Search: SearchSchema,
Settings: SettingsSchema,
Triumph: TriumphSchema,

// objectTypes
"ArtifactUnlocks": ArtifactUnlocksSchema,
"CollapsedSection": CollapsedSectionSchema,
"CustomStatDef": CustomStatDefSchema,
"CustomStatWeightsEntry": CustomStatWeightsEntrySchema,
"CustomStatsEntry": CustomStatsEntrySchema,
"InGameLoadoutIdentifiers": InGameLoadoutIdentifiersSchema,
"LoadoutItem": LoadoutItemSchema,
"LoadoutParameters": LoadoutParametersSchema,
"ModsByBucketEntry": ModsByBucketEntrySchema,
"SocketOverride": SocketOverrideSchema,
"StatConstraint": StatConstraintSchema,
"StatConstraintsEntry": StatConstraintsEntrySchema,
ArtifactUnlocks: ArtifactUnlocksSchema,
CollapsedSection: CollapsedSectionSchema,
CustomStatDef: CustomStatDefSchema,
CustomStatWeightsEntry: CustomStatWeightsEntrySchema,
CustomStatsEntry: CustomStatsEntrySchema,
InGameLoadoutIdentifiers: InGameLoadoutIdentifiersSchema,
LoadoutItem: LoadoutItemSchema,
LoadoutParameters: LoadoutParametersSchema,
ModsByBucketEntry: ModsByBucketEntrySchema,
SocketOverride: SocketOverrideSchema,
StatConstraint: StatConstraintSchema,
StatConstraintsEntry: StatConstraintsEntrySchema,
};

const SCHEMA_VERSION_ID = 1
/** The version of the schema that this client was generated for. */
const SCHEMA_VERSION_ID = 2;

export function createClient(storeId, opts) {

return createGenericClient(storeId, typeToSchema, SCHEMA_VERSION_ID, opts);
}

if (createGenericClient.length < 3) {
throw new Error(
'Your version of @stately-cloud/client is too old. Please update to the latest version.',
);
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --detectOpenHandles --verbose --coverage --forceExit",
"test:watch": "jest --watch",
"eslint-inspect": "pnpm dlx @eslint/config-inspector",
"generate": "stately schema generate -l js --schema-id 8030842688320564 --version 1 api/stately/generated",
"generate": "stately schema generate -l js --schema-id 8030842688320564 --version 2 api/stately/generated",
"generate-preview": "stately schema generate -l js --preview api/stately/schema/index.ts api/stately/generated",
"dim-api-types:build": "./build-dim-api-types.sh"
},
Expand All @@ -30,40 +30,40 @@
"@babel/plugin-transform-object-rest-spread": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@eslint/compat": "^1.2.2",
"@eslint/compat": "^1.2.3",
"@eslint/js": "^9.14.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.3.0",
"@sentry/cli": "^2.38.2",
"@stately-cloud/schema": "^0.9.0",
"@stately-cloud/schema": "^0.10.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.7",
"@types/lodash": "^4.17.13",
"@types/morgan": "^1.9.9",
"@types/pg": "^8.11.10",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"@types/vhost": "3.0.7",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"db-migrate": "^0.11.14",
"db-migrate-pg": "^1.5.2",
"eslint": "^9.14.0",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-sonarjs": "^1.0.4",
"globals": "^15.12.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^3.2.4",
"rollup": "^3.29.5",
"prettier-plugin-organize-imports": "^4.1.0",
"rollup": "^4.26.0",
"supertest-fetch": "^2.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
"typescript-eslint": "^8.14.0"
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.2",
Expand All @@ -88,7 +88,7 @@
"pg": "^8.13.1",
"pg-protocol": "^1.7.0",
"slugify": "^1.6.6",
"uuid": "^9.0.1",
"uuid": "^11.0.3",
"vhost": "^3.0.2"
},
"packageManager": "pnpm@8.9.0+sha256.8f5264ad1d100da11a6add6bb8a94c6f1e913f9e9261b2a551fabefad2ec0fec"
Expand Down
Loading

0 comments on commit aaa26e4

Please sign in to comment.