Skip to content

Commit a735a39

Browse files
committed
feat(comomn): move StructureDoc to common
1 parent c3257a1 commit a735a39

File tree

90 files changed

+326
-307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+326
-307
lines changed

packages/backend/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
"@types/lodash.isequal": "^4.5.8",
126126
"@types/lodash.set": "^4.3.9",
127127
"@types/multer": "^1.4.6",
128-
"@types/node-pdftk": "^2.1.9",
129128
"@types/node": "^20.11.19",
129+
"@types/node-pdftk": "^2.1.9",
130130
"@types/nodemailer": "^6.4.2",
131131
"@types/nunjucks": "^3.2.1",
132132
"@types/passport-jwt": "^3.0.5",
@@ -143,20 +143,20 @@
143143
"@typescript-eslint/eslint-plugin": "^7.14.1",
144144
"@typescript-eslint/parser": "^7.14.1",
145145
"aws-sdk-client-mock": "^4.0.2",
146+
"eslint": "^8.57.0",
146147
"eslint-config-prettier": "^9.1.0",
147148
"eslint-plugin-import": "^2.29.1",
148149
"eslint-plugin-prettier": "^5.1.3",
149150
"eslint-plugin-promise": "^7.0.0",
150-
"eslint": "^8.57.0",
151151
"jest": "^29.7.0",
152152
"lint-staged": "^15.2.10",
153153
"nodemon": "^3.1.7",
154154
"prettier": "^2.8.8",
155155
"supertest": "^7.0.0",
156156
"timezone-mock": "^1.3.6",
157157
"ts-jest": "^29.1.1",
158-
"ts-node-dev": "^2.0.0",
159158
"ts-node": "10.9.2",
159+
"ts-node-dev": "^2.0.0",
160160
"tsconfig-paths": "^4.2.0",
161161
"typescript": "4.9.5"
162162
},

packages/backend/src/_common/model/structure-doc/StructureCustomDocType.type.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/backend/src/_common/model/structure-doc/StructureDoc.type.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
//@index('./*', f => `export * from '${f.path}'`)
2-
export * from "./_constants";
3-
export * from "./StructureCustomDocKeys.type";
4-
export * from "./StructureCustomDocTags.type";
5-
export * from "./StructureCustomDocType.type";
6-
export * from "./StructureDoc.type";
7-
export * from "./StructureDocTypesAvailable.type";
2+
export * from "./constants";
3+
export * from "./types";
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//@index('./*', f => `export * from '${f.path}'`)
2+
export * from "./StructureCustomDocKeys.type";
3+
export * from "./StructureCustomDocTags.type";

packages/backend/src/auth/services/structures-auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const APP_USER_PUBLIC_ATTRIBUTES: (keyof UserStructurePublic)[] = [
3232
export class StructuresAuthService {
3333
constructor(private readonly jwtService: JwtService) {}
3434

35-
public async login(user: UserStructure) {
35+
public login(user: UserStructure) {
3636
const isSuperAdminDomifa = isDomifaAdmin(user);
3737

3838
const payload: UserStructureJwtPayload = {

0 commit comments

Comments
 (0)