-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIDES-1554: Update GPP Package (#5495)
Co-authored-by: Jason Gill <[email protected]>
- Loading branch information
1 parent
77e87be
commit 00d54c8
Showing
8 changed files
with
62 additions
and
68 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
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,20 +1,13 @@ | ||
import { | ||
UsCaV1, | ||
UsCoV1, | ||
UsCtV1, | ||
UsNatV1, | ||
UsUtV1, | ||
UsVaV1, | ||
} from "@iabgpp/cmpapi"; | ||
import { UsCa, UsCo, UsCt, UsNat, UsUt, UsVa } from "@iabgpp/cmpapi"; | ||
|
||
import { GPPSection } from "./types"; | ||
|
||
export const FIDES_REGION_TO_GPP_SECTION: Record<string, GPPSection> = { | ||
us: { name: UsNatV1.NAME, id: UsNatV1.ID, prefix: "usnat" }, | ||
us_ca: { name: UsCaV1.NAME, id: UsCaV1.ID, prefix: "usca" }, | ||
us_ct: { name: UsCtV1.NAME, id: UsCtV1.ID, prefix: "usct" }, | ||
us_co: { name: UsCoV1.NAME, id: UsCoV1.ID, prefix: "usco" }, | ||
us_ut: { name: UsUtV1.NAME, id: UsUtV1.ID, prefix: "usut" }, | ||
us_va: { name: UsVaV1.NAME, id: UsVaV1.ID, prefix: "usva" }, | ||
us: { name: UsNat.NAME, id: UsNat.ID, prefix: "usnat" }, | ||
us_ca: { name: UsCa.NAME, id: UsCa.ID, prefix: "usca" }, | ||
us_ct: { name: UsCt.NAME, id: UsCt.ID, prefix: "usct" }, | ||
us_co: { name: UsCo.NAME, id: UsCo.ID, prefix: "usco" }, | ||
us_ut: { name: UsUt.NAME, id: UsUt.ID, prefix: "usut" }, | ||
us_va: { name: UsVa.NAME, id: UsVa.ID, prefix: "usva" }, | ||
// DEFER: Iowa isn't part of the GPP spec yet | ||
}; |
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
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