-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16634 mapped EntityType to CorpTypeCd + cleanup (#622)
* - updated browserslist config - app version = 5.0.3 - added corp-type-module dependency - mapped EntityType to CorpTypeCd * - renamed xxx.services -> xxx-services - changed some strings to EntityType - worked around EntityType type issue - sorted items in entityTypeCdToText()
- Loading branch information
1 parent
c71bdbf
commit 35a7737
Showing
30 changed files
with
81 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
> 1% | ||
last 2 versions | ||
not ie <= 10 | ||
not dead |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,44 @@ | ||
/** Enum for Entity Type codes. */ | ||
export enum EntityType { | ||
// BC Entity Types: | ||
BC = 'BC', | ||
CC = 'CC', | ||
CP = 'CP', | ||
CR = 'CR', | ||
DBA = 'DBA', | ||
FI = 'FI', | ||
FR = 'FR', | ||
GP = 'GP', | ||
LL = 'LL', | ||
LP = 'LP', | ||
PA = 'PA', | ||
PAR = 'PAR', | ||
SO = 'SO', | ||
SP = 'SP', | ||
UL = 'UL', | ||
import { CorpTypeCd } from '@bcrs-shared-components/corp-type-module' | ||
|
||
// XPRO Entity Types: | ||
XCR = 'XCR', | ||
// Namerequest-only entity types | ||
// FUTURE: declare these in CorpTypeCd instead | ||
enum Other { | ||
SO = 'SO', | ||
XUL = 'XUL', | ||
RLC = 'RLC', | ||
XLP = 'XLP', | ||
XLL = 'XLL', | ||
XCP = 'XCP', | ||
XSO = 'XSO', | ||
INFO = 'INFO' | ||
} | ||
|
||
/** Enum for Entity Type codes. */ | ||
export enum EntityType { | ||
// BC Entity Types: | ||
BC = CorpTypeCd.BC_COMPANY, | ||
CC = CorpTypeCd.BC_CCC, | ||
CP = CorpTypeCd.COOP, | ||
CR = CorpTypeCd.BC_CORPORATION, | ||
DBA = CorpTypeCd.DOING_BUSINESS_AS, | ||
FI = CorpTypeCd.FINANCIAL, | ||
FR = CorpTypeCd.NR_SOLE_PROP, | ||
GP = CorpTypeCd.PARTNERSHIP, | ||
LL = CorpTypeCd.LL_PARTNERSHIP, | ||
LP = CorpTypeCd.LIM_PARTNERSHIP, | ||
PA = CorpTypeCd.PRIVATE_ACT, | ||
PAR = CorpTypeCd.PARISHES, | ||
SO = Other.SO, | ||
SP = CorpTypeCd.SOLE_PROP, | ||
UL = CorpTypeCd.BC_UNLIMITED, | ||
|
||
// XPRO Entity Types: | ||
XCR = CorpTypeCd.XPRO_CORPORATION, | ||
XUL = Other.XUL, | ||
RLC = Other.RLC, | ||
XLP = Other.XLP, | ||
XLL = Other.XLL, | ||
XCP = CorpTypeCd.XPRO_COOP, | ||
XSO = Other.XSO, | ||
|
||
INFO = 'INFO', // special value for sub-menu | ||
INFO = Other.INFO, // special value for sub-menu | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
import { EntityType } from '@/enums' | ||
|
||
export interface MappingI { | ||
ASSUMED: string[] | ||
[propName: string]: string[] // misc properties that are arrays of strings | ||
ASSUMED: EntityType[] | ||
[propName: string]: EntityType[] // misc properties that are arrays of entity types | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters