@bpinternal/const 0.0.22 → 0.0.23
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/index.cjs +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +1 -1
- package/src/prefixes.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -105,6 +105,8 @@ var limitConfigs = {
|
|
|
105
105
|
|
|
106
106
|
// src/prefixes.ts
|
|
107
107
|
var prefixToObjectMap = {
|
|
108
|
+
accnt: "account",
|
|
109
|
+
accntpf: "accountPreference",
|
|
108
110
|
action: "action",
|
|
109
111
|
anlytic: "analytics",
|
|
110
112
|
audit: "audit",
|
|
@@ -145,6 +147,8 @@ var prefixToObjectMap = {
|
|
|
145
147
|
wkspace: "workspace"
|
|
146
148
|
};
|
|
147
149
|
var objectToPrefixMap = {
|
|
150
|
+
account: "accnt",
|
|
151
|
+
accountPreference: "accntpf",
|
|
148
152
|
action: "action",
|
|
149
153
|
analytics: "anlytic",
|
|
150
154
|
audit: "audit",
|
package/dist/index.mjs
CHANGED
|
@@ -75,6 +75,8 @@ var limitConfigs = {
|
|
|
75
75
|
|
|
76
76
|
// src/prefixes.ts
|
|
77
77
|
var prefixToObjectMap = {
|
|
78
|
+
accnt: "account",
|
|
79
|
+
accntpf: "accountPreference",
|
|
78
80
|
action: "action",
|
|
79
81
|
anlytic: "analytics",
|
|
80
82
|
audit: "audit",
|
|
@@ -115,6 +117,8 @@ var prefixToObjectMap = {
|
|
|
115
117
|
wkspace: "workspace"
|
|
116
118
|
};
|
|
117
119
|
var objectToPrefixMap = {
|
|
120
|
+
account: "accnt",
|
|
121
|
+
accountPreference: "accntpf",
|
|
118
122
|
action: "action",
|
|
119
123
|
analytics: "anlytic",
|
|
120
124
|
audit: "audit",
|
package/package.json
CHANGED
package/src/prefixes.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export const prefixToObjectMap = {
|
|
2
|
+
accnt: 'account',
|
|
3
|
+
accntpf: 'accountPreference',
|
|
2
4
|
action: 'action',
|
|
3
5
|
anlytic: 'analytics',
|
|
4
6
|
audit: 'audit',
|
|
@@ -40,6 +42,8 @@ export const prefixToObjectMap = {
|
|
|
40
42
|
} as const
|
|
41
43
|
|
|
42
44
|
export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
|
|
45
|
+
account: 'accnt',
|
|
46
|
+
accountPreference: 'accntpf',
|
|
43
47
|
action: 'action',
|
|
44
48
|
analytics: 'anlytic',
|
|
45
49
|
audit: 'audit',
|
|
@@ -87,6 +91,8 @@ type Ids = {
|
|
|
87
91
|
[Id in Objects as `${Capitalize<Id>}Id`]: `${(typeof objectToPrefixMap)[Id]}_${string}`
|
|
88
92
|
}
|
|
89
93
|
|
|
94
|
+
export type AccountId = Ids['AccountId']
|
|
95
|
+
export type AccountPreferenceId = Ids['AccountPreferenceId']
|
|
90
96
|
export type ActionId = Ids['ActionId']
|
|
91
97
|
export type AnalyticsId = Ids['AnalyticsId']
|
|
92
98
|
export type AuditId = Ids['AuditId']
|