Skip to content

Commit

Permalink
feat(SequelizeGeneratorPackage): package updated
Browse files Browse the repository at this point in the history
  • Loading branch information
genouf committed Oct 11, 2023
1 parent 3b8fd60 commit de91729
Show file tree
Hide file tree
Showing 24 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion lib/graphql/getApolloServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
exports.__esModule = true;
var graphql_sequelize_generator_1 = require("graphql-sequelize-generator");
var graphql_sequelize_generator_1 = require("@teamstarter/graphql-sequelize-generator");
var models_1 = __importDefault(require("../models"));
var job_1 = __importDefault(require("./job"));
var batch_1 = __importDefault(require("./batch"));
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"dependencies": {
"@apollo/client": "^3.7.2",
"@teamstarter/graphql-sequelize-generator": "^8.3.0",
"@types/cors": "^2.8.13",
"@types/debounce": "^1.2.1",
"@types/react": "^18.0.26",
Expand Down Expand Up @@ -57,7 +58,6 @@
"graphql": "^16.6.0",
"graphql-relay": "^0.10.0",
"graphql-sequelize": "^9.5.1",
"graphql-sequelize-generator": "teamstarter/graphql-sequelize-generator",
"jest": "^24.9.0",
"pm2": "^4.2.1",
"react": "^18.2.0",
Expand All @@ -73,7 +73,6 @@
"graphql": "^16.6.0",
"graphql-relay": "^0.10.0",
"graphql-sequelize": "^9.5.1",
"graphql-sequelize-generator": "teamstarter/graphql-sequelize-generator",
"sequelize": "^6.3.5"
},
"resolutions": {
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
ModelDeclarationType,
SequelizeModels,
InAndOutTypes,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'

export default function BatchConfiguration(
graphqlTypes: InAndOutTypes,
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/getApolloServer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
generateApolloServer,
generateModelTypes,
} from 'graphql-sequelize-generator'
} from '@teamstarter/graphql-sequelize-generator'
import getModels from '../models'
import { Job } from '../types'

Expand Down
2 changes: 1 addition & 1 deletion src/graphql/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
ModelDeclarationType,
SequelizeModels,
InAndOutTypes,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'
import debounce from 'debounce'
import { PubSub } from 'graphql-subscriptions'

Expand Down
2 changes: 1 addition & 1 deletion src/graphql/job/acquire.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
CustomMutationConfiguration,
InAndOutTypes,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'
import { Op } from 'sequelize'

export default function AcquireJobDefinition(
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/job/recover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
CustomMutationConfiguration,
InAndOutTypes,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'

export default function recoverJobDefinition(
graphqlTypes: InAndOutTypes,
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/job/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
CustomMutationConfiguration,
InAndOutTypes,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'
import { PubSub } from 'graphql-subscriptions'

const status = [
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/jobHoldType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
ModelDeclarationType,
SequelizeModels,
InAndOutTypes,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'

import { GraphQLString, GraphQLNonNull } from 'graphql'

Expand Down
2 changes: 1 addition & 1 deletion src/graphql/jobSuccessRating.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SequelizeModels } from 'graphql-sequelize-generator/types'
import { SequelizeModels } from '@teamstarter/graphql-sequelize-generator/types'

export function jobSuccessRating(models: SequelizeModels) {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
InAndOutTypes,
ModelDeclarationType,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'

import startPipeline from './pipeline/start'

Expand Down
2 changes: 1 addition & 1 deletion src/graphql/pipeline/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
CustomMutationConfiguration,
InAndOutTypes,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'

import putNextStepJobsInTheQueued from '../utils/putNextStepJobsInTheQueued'

Expand Down
2 changes: 1 addition & 1 deletion src/graphql/pipelineStep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
InAndOutTypes,
ModelDeclarationType,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'

export default function PipelineStepConfiguration(
types: InAndOutTypes,
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/utils/putNextStepJobsInTheQueued.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SequelizeModels } from 'graphql-sequelize-generator/types'
import { SequelizeModels } from '@teamstarter/graphql-sequelize-generator/types'

export default async function putNextStepJobsInTheQueued(
nextStep: any,
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/utils/updatePipelineStatus.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SequelizeModels } from 'graphql-sequelize-generator/types'
import { SequelizeModels } from '@teamstarter/graphql-sequelize-generator/types'

export default async function updatePipelineStatus(
pipelineId: number,
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/workerMonitoring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
InAndOutTypes,
ModelDeclarationType,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'
import { pinged } from './workerMonitoring/subscriptions/pinged'
import { ponged } from './workerMonitoring/subscriptions/ponged'
import { ping } from './workerMonitoring/mutations/ping'
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/workerMonitoring/mutations/ping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomMutationConfiguration } from 'graphql-sequelize-generator/types'
import { CustomMutationConfiguration } from '@teamstarter/graphql-sequelize-generator/types'
import { PubSub } from 'graphql-subscriptions'
import { successType } from '../type'

Expand Down
2 changes: 1 addition & 1 deletion src/graphql/workerMonitoring/mutations/pong.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomMutationConfiguration } from 'graphql-sequelize-generator/types'
import { CustomMutationConfiguration } from '@teamstarter/graphql-sequelize-generator/types'
import { PubSub } from 'graphql-subscriptions'
import { GraphQLList } from 'graphql'
import { successType, workerInfoInputType } from '../type'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
CustomMutationConfiguration,
SequelizeModels,
} from 'graphql-sequelize-generator/types'
} from '@teamstarter/graphql-sequelize-generator/types'
import { GraphQLList } from 'graphql'
import { PubSub } from 'graphql-subscriptions'
import { successType, workerInfoInputType } from '../type'
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/workerMonitoring/subscriptions/pinged.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomSubscriptionConfiguration } from 'graphql-sequelize-generator/types'
import { CustomSubscriptionConfiguration } from '@teamstarter/graphql-sequelize-generator/types'
import { PubSub } from 'graphql-subscriptions'
import { successType } from '../type'

Expand Down
2 changes: 1 addition & 1 deletion src/graphql/workerMonitoring/subscriptions/ponged.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomSubscriptionConfiguration } from 'graphql-sequelize-generator/types'
import { CustomSubscriptionConfiguration } from '@teamstarter/graphql-sequelize-generator/types'
import { GraphQLList } from 'graphql'
import { PubSub } from 'graphql-subscriptions'
import { workerInfoOutputType } from '../type'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomSubscriptionConfiguration } from 'graphql-sequelize-generator/types'
import { CustomSubscriptionConfiguration } from '@teamstarter/graphql-sequelize-generator/types'
import { GraphQLList } from 'graphql'
import { PubSub } from 'graphql-subscriptions'
import { workerInfoOutputType } from '../type'
Expand Down
2 changes: 1 addition & 1 deletion src/migrate.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'path'
import fs from 'fs'
import Umzug from 'umzug'
import { SequelizeModels } from 'graphql-sequelize-generator/types'
import { SequelizeModels } from '@teamstarter/graphql-sequelize-generator/types'

/**
* This file handles an im-memory SQLite database used for test purposes.
Expand Down
49 changes: 25 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
"@apollo/utils.logger" "^2.0.0"

"@apollo/server@^4.1.1":
version "4.9.3"
resolved "https://registry.yarnpkg.com/@apollo/server/-/server-4.9.3.tgz#d51fa1745a7e9f3b1d687c6df40256744aaa977a"
integrity sha512-U56Sx/UmzR3Es344hQ/Ptf2EJrH+kV4ZPoLmgGjWoiwf2wYQ/pRSvkSXgjOvoyE34wSa8Gh7f92ljfLfY+6q1w==
version "4.9.4"
resolved "https://registry.yarnpkg.com/@apollo/server/-/server-4.9.4.tgz#fde57e984beef1b2962354a492d3bca072c1067c"
integrity sha512-lopNDM3sZerTcYH/P85QX5HqSNV4HoVbtX3zOrf0ak7eplhPDiGVyF0jQWRbL64znG6KXW+nMuLDTyFTMQnvgA==
dependencies:
"@apollo/cache-control-types" "^1.0.3"
"@apollo/server-gateway-interface" "^1.1.1"
Expand Down Expand Up @@ -795,6 +795,25 @@
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==

"@teamstarter/graphql-sequelize-generator@^8.3.0":
version "8.3.0"
resolved "https://registry.yarnpkg.com/@teamstarter/graphql-sequelize-generator/-/graphql-sequelize-generator-8.3.0.tgz#42520f7950b0703fe600cdd91f06a7e648de27ec"
integrity sha512-rQUn/TA0jMQ+FY+R776Daqu+0r2j828PVg8ABO+7XnxfEdzSqNmXuJCbrB14yO3VGIbzCQHRNjiZj5W2mjYQ6A==
dependencies:
"@apollo/server" "^4.1.1"
"@graphql-tools/schema" "^9.0.10"
"@types/debug" "^4.1.5"
"@types/express" "^4.17.14"
"@types/express-serve-static-core" "^4.17.31"
"@typescript-eslint/parser" "^4.5.0"
axios "^0.24.0"
commander "^7.2.0"
debug "^4.1.1"
graphql-subscriptions "^1.1.0"
graphql-ws "^5.11.2"
typescript "^4.8.4"
ws "^8.11.0"

"@tootallnate/once@1":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
Expand Down Expand Up @@ -888,9 +907,9 @@
"@types/serve-static" "*"

"@types/express@^4.17.13", "@types/express@^4.17.14":
version "4.17.18"
resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.18.tgz#efabf5c4495c1880df1bdffee604b143b29c4a95"
integrity sha512-Sxv8BSLLgsBYmcnGdGjjEjqET2U+AKAdCRODmMiq02FgjwuV75Ut85DRpvFjyw/Mk0vgUOliGRU0UUmuuZHByQ==
version "4.17.19"
resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.19.tgz#6ff9b4851fda132c5d3dcd2f89fdb6a7a0031ced"
integrity sha512-UtOfBtzN9OvpZPPbnnYunfjM7XCI4jyk1NvnFhTVz5krYAnW4o5DCoIekvms+8ApqhB4+9wSge1kBijdfTSmfg==
dependencies:
"@types/body-parser" "*"
"@types/express-serve-static-core" "^4.17.33"
Expand Down Expand Up @@ -3510,24 +3529,6 @@ graphql-relay@^0.10.0:
resolved "https://registry.yarnpkg.com/graphql-relay/-/graphql-relay-0.10.0.tgz#3b661432edf1cb414cd4a132cf595350e524db2b"
integrity sha512-44yBuw2/DLNEiMypbNZBt1yMDbBmyVPVesPywnteGGALiBmdyy1JP8jSg8ClLePg8ZZxk0O4BLhd1a6U/1jDOQ==

graphql-sequelize-generator@teamstarter/graphql-sequelize-generator:
version "8.3.0"
resolved "https://codeload.github.com/teamstarter/graphql-sequelize-generator/tar.gz/a432d8298ea8a944e779dc8d743246667c2586bc"
dependencies:
"@apollo/server" "^4.1.1"
"@graphql-tools/schema" "^9.0.10"
"@types/debug" "^4.1.5"
"@types/express" "^4.17.14"
"@types/express-serve-static-core" "^4.17.31"
"@typescript-eslint/parser" "^4.5.0"
axios "^0.24.0"
commander "^7.2.0"
debug "^4.1.1"
graphql-subscriptions "^1.1.0"
graphql-ws "^5.11.2"
typescript "^4.8.4"
ws "^8.11.0"

graphql-sequelize@^9.5.1:
version "9.5.1"
resolved "https://registry.yarnpkg.com/graphql-sequelize/-/graphql-sequelize-9.5.1.tgz#8906eb90c1b88a8d197ad5a9fe19ffe8879538a3"
Expand Down

0 comments on commit de91729

Please sign in to comment.