@mikemo-coposit/am-accounting-shared 0.0.1 → 0.0.2
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/constants/index.d.mts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/project/index.d.mts +2 -2
- package/dist/constants/project/index.d.ts +2 -2
- package/dist/constants/project/project-res-status.constant.d.mts +2 -2
- package/dist/constants/project/project-res-status.constant.d.ts +2 -2
- package/dist/constants/project/project-res-status.constant.js.map +1 -1
- package/dist/constants/project/project-res-status.constant.mjs.map +1 -1
- package/dist/constants/project/project-trust-account-allocation-status.constant.d.mts +2 -2
- package/dist/constants/project/project-trust-account-allocation-status.constant.d.ts +2 -2
- package/dist/constants/project/project-trust-account-allocation-status.constant.js.map +1 -1
- package/dist/constants/project/project-trust-account-allocation-status.constant.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.d.mts +2 -2
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.d.ts +2 -2
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.js.map +1 -1
- package/package.json +2 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { MenuStatus } from './menu/menu-status.constant.mjs';
|
|
2
2
|
export { MenuType } from './menu/menu-type.constant.mjs';
|
|
3
|
-
export { ProjectRestResStatus } from './project/project-res-status.constant.mjs';
|
|
4
|
-
export { ProjectTrustAccountAllocationStatus } from './project/project-trust-account-allocation-status.constant.mjs';
|
|
3
|
+
export { ProjectRestResStatus, ProjectRestResStatusType } from './project/project-res-status.constant.mjs';
|
|
4
|
+
export { ProjectTrustAccountAllocationStatus, ProjectTrustAccountAllocationStatusType } from './project/project-trust-account-allocation-status.constant.mjs';
|
|
5
5
|
export { TrustAccountStatus } from './trust-account/trust-account-status.constant.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { MenuStatus } from './menu/menu-status.constant.js';
|
|
2
2
|
export { MenuType } from './menu/menu-type.constant.js';
|
|
3
|
-
export { ProjectRestResStatus } from './project/project-res-status.constant.js';
|
|
4
|
-
export { ProjectTrustAccountAllocationStatus } from './project/project-trust-account-allocation-status.constant.js';
|
|
3
|
+
export { ProjectRestResStatus, ProjectRestResStatusType } from './project/project-res-status.constant.js';
|
|
4
|
+
export { ProjectTrustAccountAllocationStatus, ProjectTrustAccountAllocationStatusType } from './project/project-trust-account-allocation-status.constant.js';
|
|
5
5
|
export { TrustAccountStatus } from './trust-account/trust-account-status.constant.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ProjectRestResStatus } from './project-res-status.constant.mjs';
|
|
2
|
-
export { ProjectTrustAccountAllocationStatus } from './project-trust-account-allocation-status.constant.mjs';
|
|
1
|
+
export { ProjectRestResStatus, ProjectRestResStatusType } from './project-res-status.constant.mjs';
|
|
2
|
+
export { ProjectTrustAccountAllocationStatus, ProjectTrustAccountAllocationStatusType } from './project-trust-account-allocation-status.constant.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ProjectRestResStatus } from './project-res-status.constant.js';
|
|
2
|
-
export { ProjectTrustAccountAllocationStatus } from './project-trust-account-allocation-status.constant.js';
|
|
1
|
+
export { ProjectRestResStatus, ProjectRestResStatusType } from './project-res-status.constant.js';
|
|
2
|
+
export { ProjectTrustAccountAllocationStatus, ProjectTrustAccountAllocationStatusType } from './project-trust-account-allocation-status.constant.js';
|
|
@@ -5,6 +5,6 @@ declare const ProjectRestResStatus: {
|
|
|
5
5
|
readonly APPROVED: "approved";
|
|
6
6
|
readonly REJECTED: "rejected";
|
|
7
7
|
};
|
|
8
|
-
type
|
|
8
|
+
type ProjectRestResStatusType = (typeof ProjectRestResStatus)[keyof typeof ProjectRestResStatus];
|
|
9
9
|
|
|
10
|
-
export { ProjectRestResStatus };
|
|
10
|
+
export { ProjectRestResStatus, type ProjectRestResStatusType };
|
|
@@ -5,6 +5,6 @@ declare const ProjectRestResStatus: {
|
|
|
5
5
|
readonly APPROVED: "approved";
|
|
6
6
|
readonly REJECTED: "rejected";
|
|
7
7
|
};
|
|
8
|
-
type
|
|
8
|
+
type ProjectRestResStatusType = (typeof ProjectRestResStatus)[keyof typeof ProjectRestResStatus];
|
|
9
9
|
|
|
10
|
-
export { ProjectRestResStatus };
|
|
10
|
+
export { ProjectRestResStatus, type ProjectRestResStatusType };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/constants/project/project-res-status.constant.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../../packages/constants/project/project-res-status.constant.ts"],"sourcesContent":["export const ProjectRestResStatus = {\n MISS_MATCH: 'miss_match',\n PENDING_TRUST_ACCOUNT: 'pending_trust_account',\n PENDING_APPROVAL: 'pending_approval',\n APPROVED: 'approved',\n REJECTED: 'rejected',\n} as const;\n\nexport type ProjectRestResStatusType = (typeof ProjectRestResStatus)[keyof typeof ProjectRestResStatus];\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,uBAAuB;AAAA,EAClC,YAAY;AAAA,EACZ,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,UAAU;AACZ;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/constants/project/project-res-status.constant.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../../packages/constants/project/project-res-status.constant.ts"],"sourcesContent":["export const ProjectRestResStatus = {\n MISS_MATCH: 'miss_match',\n PENDING_TRUST_ACCOUNT: 'pending_trust_account',\n PENDING_APPROVAL: 'pending_approval',\n APPROVED: 'approved',\n REJECTED: 'rejected',\n} as const;\n\nexport type ProjectRestResStatusType = (typeof ProjectRestResStatus)[keyof typeof ProjectRestResStatus];\n"],"mappings":"AAAO,MAAM,uBAAuB;AAAA,EAClC,YAAY;AAAA,EACZ,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,UAAU;AACZ;","names":[]}
|
|
@@ -3,6 +3,6 @@ declare const ProjectTrustAccountAllocationStatus: {
|
|
|
3
3
|
readonly APPROVED: "approved";
|
|
4
4
|
readonly REJECTED: "rejected";
|
|
5
5
|
};
|
|
6
|
-
type
|
|
6
|
+
type ProjectTrustAccountAllocationStatusType = (typeof ProjectTrustAccountAllocationStatus)[keyof typeof ProjectTrustAccountAllocationStatus];
|
|
7
7
|
|
|
8
|
-
export { ProjectTrustAccountAllocationStatus };
|
|
8
|
+
export { ProjectTrustAccountAllocationStatus, type ProjectTrustAccountAllocationStatusType };
|
|
@@ -3,6 +3,6 @@ declare const ProjectTrustAccountAllocationStatus: {
|
|
|
3
3
|
readonly APPROVED: "approved";
|
|
4
4
|
readonly REJECTED: "rejected";
|
|
5
5
|
};
|
|
6
|
-
type
|
|
6
|
+
type ProjectTrustAccountAllocationStatusType = (typeof ProjectTrustAccountAllocationStatus)[keyof typeof ProjectTrustAccountAllocationStatus];
|
|
7
7
|
|
|
8
|
-
export { ProjectTrustAccountAllocationStatus };
|
|
8
|
+
export { ProjectTrustAccountAllocationStatus, type ProjectTrustAccountAllocationStatusType };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/constants/project/project-trust-account-allocation-status.constant.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../../packages/constants/project/project-trust-account-allocation-status.constant.ts"],"sourcesContent":["export const ProjectTrustAccountAllocationStatus = {\n PENDING_APPROVAL: 'pending_approval',\n APPROVED: 'approved',\n REJECTED: 'rejected',\n} as const;\n\nexport type ProjectTrustAccountAllocationStatusType = (typeof ProjectTrustAccountAllocationStatus)[keyof typeof ProjectTrustAccountAllocationStatus];\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,sCAAsC;AAAA,EACjD,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,UAAU;AACZ;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/constants/project/project-trust-account-allocation-status.constant.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../../packages/constants/project/project-trust-account-allocation-status.constant.ts"],"sourcesContent":["export const ProjectTrustAccountAllocationStatus = {\n PENDING_APPROVAL: 'pending_approval',\n APPROVED: 'approved',\n REJECTED: 'rejected',\n} as const;\n\nexport type ProjectTrustAccountAllocationStatusType = (typeof ProjectTrustAccountAllocationStatus)[keyof typeof ProjectTrustAccountAllocationStatus];\n"],"mappings":"AAAO,MAAM,sCAAsC;AAAA,EACjD,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,UAAU;AACZ;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { MenuStatus } from './constants/menu/menu-status.constant.mjs';
|
|
2
2
|
export { MenuType } from './constants/menu/menu-type.constant.mjs';
|
|
3
|
-
export { ProjectRestResStatus } from './constants/project/project-res-status.constant.mjs';
|
|
4
|
-
export { ProjectTrustAccountAllocationStatus } from './constants/project/project-trust-account-allocation-status.constant.mjs';
|
|
3
|
+
export { ProjectRestResStatus, ProjectRestResStatusType } from './constants/project/project-res-status.constant.mjs';
|
|
4
|
+
export { ProjectTrustAccountAllocationStatus, ProjectTrustAccountAllocationStatusType } from './constants/project/project-trust-account-allocation-status.constant.mjs';
|
|
5
5
|
export { TrustAccountStatus } from './constants/trust-account/trust-account-status.constant.mjs';
|
|
6
6
|
export { AccountingMsGrpcServiceSchema, MS_ACCOUNTING_GRPC_PACKAGE, projectTrustAccountAllocationGrpcService, trustAccountGrpcService } from './grpc/constants/accountms.constant.mjs';
|
|
7
7
|
export { getAccountingMsGrpcOptions } from './grpc/utils/grpc.options.util.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { MenuStatus } from './constants/menu/menu-status.constant.js';
|
|
2
2
|
export { MenuType } from './constants/menu/menu-type.constant.js';
|
|
3
|
-
export { ProjectRestResStatus } from './constants/project/project-res-status.constant.js';
|
|
4
|
-
export { ProjectTrustAccountAllocationStatus } from './constants/project/project-trust-account-allocation-status.constant.js';
|
|
3
|
+
export { ProjectRestResStatus, ProjectRestResStatusType } from './constants/project/project-res-status.constant.js';
|
|
4
|
+
export { ProjectTrustAccountAllocationStatus, ProjectTrustAccountAllocationStatusType } from './constants/project/project-trust-account-allocation-status.constant.js';
|
|
5
5
|
export { TrustAccountStatus } from './constants/trust-account/trust-account-status.constant.js';
|
|
6
6
|
export { AccountingMsGrpcServiceSchema, MS_ACCOUNTING_GRPC_PACKAGE, projectTrustAccountAllocationGrpcService, trustAccountGrpcService } from './grpc/constants/accountms.constant.js';
|
|
7
7
|
export { getAccountingMsGrpcOptions } from './grpc/utils/grpc.options.util.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectTrustAccountAllocationStatusType } from '../../constants/project/project-trust-account-allocation-status.constant.mjs';
|
|
2
2
|
|
|
3
3
|
type ProjectTrustAccountAllocationEntity = {
|
|
4
4
|
id: string;
|
|
5
5
|
projectId: string;
|
|
6
6
|
trustAccountId: string;
|
|
7
|
-
status:
|
|
7
|
+
status: ProjectTrustAccountAllocationStatusType;
|
|
8
8
|
createdBy: string;
|
|
9
9
|
approvedBy: string;
|
|
10
10
|
approvedAt: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectTrustAccountAllocationStatusType } from '../../constants/project/project-trust-account-allocation-status.constant.js';
|
|
2
2
|
|
|
3
3
|
type ProjectTrustAccountAllocationEntity = {
|
|
4
4
|
id: string;
|
|
5
5
|
projectId: string;
|
|
6
6
|
trustAccountId: string;
|
|
7
|
-
status:
|
|
7
|
+
status: ProjectTrustAccountAllocationStatusType;
|
|
8
8
|
createdBy: string;
|
|
9
9
|
approvedBy: string;
|
|
10
10
|
approvedAt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../../packages/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.ts"],"sourcesContent":["import { ProjectTrustAccountAllocationStatusType } from '../../constants/project/project-trust-account-allocation-status.constant';\n\nexport type ProjectTrustAccountAllocationEntity = {\n id: string;\n projectId: string;\n trustAccountId: string;\n status: ProjectTrustAccountAllocationStatusType;\n createdBy: string;\n approvedBy: string;\n approvedAt: string;\n createdAt: string;\n updatedAt: string;\n isArchived: boolean;\n};\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikemo-coposit/am-accounting-shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"packageManager": "pnpm@10.4.1",
|
|
5
5
|
"description": "Shared packages for AM Accounting",
|
|
6
6
|
"author": "mike mo",
|
|
@@ -75,9 +75,7 @@
|
|
|
75
75
|
"test": "pnpm -r test",
|
|
76
76
|
"prepare": "husky"
|
|
77
77
|
},
|
|
78
|
-
"dependencies": {
|
|
79
|
-
|
|
80
|
-
},
|
|
78
|
+
"dependencies": {},
|
|
81
79
|
"devDependencies": {
|
|
82
80
|
"@antfu/eslint-config": "^4.10.1",
|
|
83
81
|
"@commitlint/cli": "^19.8.0",
|