Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@
"dependencies": {
"@overture-stack/lyric": "workspace:^",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"helmet": "^7.1.0",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"helmet": "^7.2.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.13.1"
"winston": "^3.17.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-serve-static-core": "^4.19.5",
"@types/qs": "^6.9.15",
"@types/express-serve-static-core": "^4.19.6",
"@types/qs": "^6.9.18",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/swagger-ui-express": "^4.1.8",
"copyfiles": "^2.4.1",
"nodemon": "^3.1.4",
"rimraf": "^5.0.9"
"nodemon": "^3.1.9",
"rimraf": "^5.0.10"
}
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@
"license": "AGPL-3.0-or-later",
"private": true,
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.10",
"@types/sinon": "^17.0.3",
"c8": "^10.1.2",
"chai": "^5.1.1",
"dotenv-cli": "^7.4.2",
"eslint": "^9.7.0",
"@types/chai": "^4.3.20",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.29",
"@types/sinon": "^17.0.4",
"c8": "^10.1.3",
"chai": "^5.2.0",
"dotenv-cli": "^7.4.4",
"eslint": "^9.23.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.5",
"eslint-plugin-simple-import-sort": "^12.1.1",
"mocha": "^10.6.0",
"prettier": "^3.3.3",
"sinon": "^18.0.0",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"typescript-eslint": "^7.16.1"
"mocha": "^10.8.2",
"prettier": "^3.5.3",
"sinon": "^18.0.1",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"typescript-eslint": "^8.29.0"
},
"type": "module"
}
10 changes: 5 additions & 5 deletions packages/data-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
},
"homepage": "https://github.com/overture-stack/lyric#readme",
"devDependencies": {
"@types/pg": "^8.11.6",
"@types/pg": "^8.11.11",
"drizzle-dbml-generator": "^0.6.1",
"drizzle-kit": "^0.20.18",
"rimraf": "^5.0.9",
"tsx": "^4.16.2"
"rimraf": "^5.0.10",
"tsx": "^4.19.3"
},
"dependencies": {
"@overture-stack/lectern-client": "2.0.0-beta.3",
"copyfiles": "^2.4.1",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.29.5",
"pg": "^8.12.0"
"pg": "^8.14.1"
}
}
1 change: 1 addition & 0 deletions packages/data-model/src/models/dictionaries.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { jsonb, pgTable, serial, timestamp, varchar } from 'drizzle-orm/pg-core';

import { Schema } from '@overture-stack/lectern-client';
/* eslint-disable @typescript-eslint/no-empty-object-type */
interface SchemaDefinition extends Schema {}

export const dictionaries = pgTable('dictionaries', {
Expand Down
28 changes: 14 additions & 14 deletions packages/data-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@
"@overture-stack/lectern-client": "2.0.0-beta.3",
"@overture-stack/lyric-data-model": "workspace:^",
"@overture-stack/sqon-builder": "^1.1.0",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.29.5",
"express": "^4.19.2",
"express": "^4.21.2",
"lodash-es": "^4.17.21",
"nanoid": "^5.0.7",
"pg": "^8.12.0",
"nanoid": "^5.1.5",
"pg": "^8.14.1",
"plur": "^5.1.0",
"winston": "^3.13.1",
"zod": "^3.23.8"
"winston": "^3.17.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@types/chai-as-promised": "^8.0.1",
"@types/chai-as-promised": "^8.0.2",
"@types/deep-freeze": "^0.1.5",
"@types/express": "^4.17.21",
"@types/express-serve-static-core": "^4.19.5",
"@types/lodash": "^4.17.7",
"@types/express-serve-static-core": "^4.19.6",
"@types/lodash": "^4.17.16",
"@types/lodash-es": "^4.17.12",
"@types/pg": "^8.11.6",
"@types/qs": "^6.9.15",
"chai-as-promised": "^8.0.0",
"nodemon": "^3.1.4",
"rimraf": "^5.0.9"
"@types/pg": "^8.11.11",
"@types/qs": "^6.9.18",
"chai-as-promised": "^8.0.1",
"nodemon": "^3.1.9",
"rimraf": "^5.0.10"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface SchemaChildNode {
parent: SchemaParentNode;
}

/* eslint-disable @typescript-eslint/no-empty-object-type */
interface SchemaDefinition extends Schema {}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/data-provider/src/utils/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const sqonSchema = z.custom<SQON>((value) => {
try {
parseSQON(value);
return true;
} catch (error) {
} catch {
return false;
}
}, 'invalid SQON format');
Expand Down
12 changes: 6 additions & 6 deletions packages/data-provider/test/utils/auditUtils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ describe('Audit utils', () => {
describe('Validate Audit Event type', () => {
it('should return true if input corresponds to a valid Audit Event in uppercase (UPDATE)', () => {
const response = isAuditEventValid('UPDATE');
expect(response).to.be.true;
expect(response).to.eql(true);
});

it('should return true if input corresponds to a valid Audit Event in lowercase (delete)', () => {
const response = isAuditEventValid('delete');
expect(response).to.be.true;
expect(response).to.eql(true);
});

it('should return false if input does not correspond to an Audit Event', () => {
const response = isAuditEventValid('MODIFICATIONS');
expect(response).to.be.false;
expect(response).to.eql(false);
});

it('should return false if input is a number', () => {
const response = isAuditEventValid(123);
expect(response).to.be.false;
expect(response).to.eql(false);
});

it('should return false if input is an objec', () => {
const response = isAuditEventValid({});
expect(response).to.be.false;
expect(response).to.eql(false);
});
});

Expand All @@ -42,7 +42,7 @@ describe('Audit utils', () => {
});
it('should return undefined if input is not a valid Event', () => {
const response = convertToAuditEvent('MODIFICATIONS');
expect(response).to.be.undefined;
expect(response).to.eql(undefined);
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { describe, it } from 'mocha';

import { Schema } from '@overture-stack/lectern-client';

/* eslint-disable @typescript-eslint/no-empty-object-type */
interface SchemaDefinition extends Schema {}

import { generateHierarchy, getDictionarySchemaRelations } from '../../src/utils/dictionarySchemaRelations.js';
Expand Down
Loading