@forwardslashns/taskit-validation-messages 1.3.9 → 1.4.0
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/.github/.workflows/npm-publish.yml +27 -27
- package/.prettierrc +8 -8
- package/dist/validation/features/client-relationships.validation-messages.d.ts +9 -0
- package/dist/validation/features/client-relationships.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-relationships.validation-messages.js +9 -0
- package/dist/validation/validation-messages.d.ts +9 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-relationships.validation-messages.ts +9 -0
- package/tsconfig.json +17 -17
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
name: Node.js Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: master
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v3
|
|
12
|
-
- uses: actions/setup-node@v3
|
|
13
|
-
with:
|
|
14
|
-
node-version: 22
|
|
15
|
-
- run: npm ci
|
|
16
|
-
|
|
17
|
-
publish-npm:
|
|
18
|
-
needs: build
|
|
19
|
-
runs-on: ubuntu-latest
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v3
|
|
22
|
-
- uses: actions/setup-node@v3
|
|
23
|
-
with:
|
|
24
|
-
node-version: 22
|
|
25
|
-
registry-url: https://registry.npmjs.org/
|
|
26
|
-
- run: npm ci
|
|
27
|
-
- run: npm publish
|
|
1
|
+
name: Node.js Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: master
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v3
|
|
12
|
+
- uses: actions/setup-node@v3
|
|
13
|
+
with:
|
|
14
|
+
node-version: 22
|
|
15
|
+
- run: npm ci
|
|
16
|
+
|
|
17
|
+
publish-npm:
|
|
18
|
+
needs: build
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v3
|
|
22
|
+
- uses: actions/setup-node@v3
|
|
23
|
+
with:
|
|
24
|
+
node-version: 22
|
|
25
|
+
registry-url: https://registry.npmjs.org/
|
|
26
|
+
- run: npm ci
|
|
27
|
+
- run: npm publish
|
package/.prettierrc
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"trailingComma": "es5",
|
|
3
|
-
"tabWidth": 2,
|
|
4
|
-
"semi": true,
|
|
5
|
-
"singleQuote": true,
|
|
6
|
-
"printWidth": 120,
|
|
7
|
-
"endOfLine": "auto"
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"trailingComma": "es5",
|
|
3
|
+
"tabWidth": 2,
|
|
4
|
+
"semi": true,
|
|
5
|
+
"singleQuote": true,
|
|
6
|
+
"printWidth": 120,
|
|
7
|
+
"endOfLine": "auto"
|
|
8
|
+
}
|
|
@@ -196,5 +196,14 @@ export declare const CLIENT_RELATIONSHIPS: {
|
|
|
196
196
|
readonly params: readonly ["relatedClient"];
|
|
197
197
|
readonly affectedFields: readonly ["capital", "startingDate", "endingDate"];
|
|
198
198
|
};
|
|
199
|
+
readonly SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
|
|
200
|
+
readonly message: "A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.";
|
|
201
|
+
readonly affectedFields: readonly ["relatedClientId", "relationshipTypeId"];
|
|
202
|
+
};
|
|
203
|
+
readonly K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
204
|
+
readonly message: "{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.";
|
|
205
|
+
readonly params: readonly ["relatedClient", "entityType"];
|
|
206
|
+
readonly affectedFields: readonly ["relatedClientId", "relationshipTypeId"];
|
|
207
|
+
};
|
|
199
208
|
};
|
|
200
209
|
//# sourceMappingURL=client-relationships.validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-relationships.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-relationships.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"client-relationships.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-relationships.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+MvB,CAAC"}
|
|
@@ -199,4 +199,13 @@ exports.CLIENT_RELATIONSHIPS = {
|
|
|
199
199
|
params: ['relatedClient'],
|
|
200
200
|
affectedFields: ['capital', 'startingDate', 'endingDate'],
|
|
201
201
|
},
|
|
202
|
+
SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
|
|
203
|
+
message: `A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.`,
|
|
204
|
+
affectedFields: ['relatedClientId', 'relationshipTypeId'],
|
|
205
|
+
},
|
|
206
|
+
K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
207
|
+
message: `{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.`,
|
|
208
|
+
params: ['relatedClient', 'entityType'],
|
|
209
|
+
affectedFields: ['relatedClientId', 'relationshipTypeId'],
|
|
210
|
+
},
|
|
202
211
|
};
|
|
@@ -804,6 +804,15 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
804
804
|
readonly params: readonly ["relatedClient"];
|
|
805
805
|
readonly affectedFields: readonly ["capital", "startingDate", "endingDate"];
|
|
806
806
|
};
|
|
807
|
+
readonly SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
|
|
808
|
+
readonly message: "A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.";
|
|
809
|
+
readonly affectedFields: readonly ["relatedClientId", "relationshipTypeId"];
|
|
810
|
+
};
|
|
811
|
+
readonly K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
812
|
+
readonly message: "{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.";
|
|
813
|
+
readonly params: readonly ["relatedClient", "entityType"];
|
|
814
|
+
readonly affectedFields: readonly ["relatedClientId", "relationshipTypeId"];
|
|
815
|
+
};
|
|
807
816
|
};
|
|
808
817
|
readonly FILING_CATEGORIES: {
|
|
809
818
|
readonly INVALID_REQUEST: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -196,4 +196,13 @@ export const CLIENT_RELATIONSHIPS = {
|
|
|
196
196
|
params: ['relatedClient'],
|
|
197
197
|
affectedFields: ['capital', 'startingDate', 'endingDate'],
|
|
198
198
|
},
|
|
199
|
+
SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
|
|
200
|
+
message: `A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.`,
|
|
201
|
+
affectedFields: ['relatedClientId', 'relationshipTypeId'],
|
|
202
|
+
},
|
|
203
|
+
K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
204
|
+
message: `{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.`,
|
|
205
|
+
params: ['relatedClient', 'entityType'],
|
|
206
|
+
affectedFields: ['relatedClientId', 'relationshipTypeId'],
|
|
207
|
+
},
|
|
199
208
|
} as const;
|
package/tsconfig.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ESNext",
|
|
4
|
-
"module": "Node16",
|
|
5
|
-
"moduleResolution": "node16",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
"declaration": true,
|
|
9
|
-
"declarationMap": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"outDir": "./dist",
|
|
13
|
-
"rootDir": "./src"
|
|
14
|
-
},
|
|
15
|
-
"include": ["src/**/*", "types/**/*"],
|
|
16
|
-
"exclude": ["node_modules"]
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"module": "Node16",
|
|
5
|
+
"moduleResolution": "node16",
|
|
6
|
+
"strict": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"declarationMap": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"outDir": "./dist",
|
|
13
|
+
"rootDir": "./src"
|
|
14
|
+
},
|
|
15
|
+
"include": ["src/**/*", "types/**/*"],
|
|
16
|
+
"exclude": ["node_modules"]
|
|
17
|
+
}
|