@bpinternal/const 0.0.22 → 0.0.24
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 +8 -0
- package/dist/index.mjs +8 -0
- package/package.json +1 -1
- package/src/limits.ts +4 -0
- package/src/prefixes.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -100,11 +100,17 @@ var limitConfigs = {
|
|
|
100
100
|
tag_definition_count: {
|
|
101
101
|
value: 50,
|
|
102
102
|
unit: "count"
|
|
103
|
+
},
|
|
104
|
+
bot_integration_secret_count: {
|
|
105
|
+
value: 25,
|
|
106
|
+
unit: "count"
|
|
103
107
|
}
|
|
104
108
|
};
|
|
105
109
|
|
|
106
110
|
// src/prefixes.ts
|
|
107
111
|
var prefixToObjectMap = {
|
|
112
|
+
accnt: "account",
|
|
113
|
+
accntpf: "accountPreference",
|
|
108
114
|
action: "action",
|
|
109
115
|
anlytic: "analytics",
|
|
110
116
|
audit: "audit",
|
|
@@ -145,6 +151,8 @@ var prefixToObjectMap = {
|
|
|
145
151
|
wkspace: "workspace"
|
|
146
152
|
};
|
|
147
153
|
var objectToPrefixMap = {
|
|
154
|
+
account: "accnt",
|
|
155
|
+
accountPreference: "accntpf",
|
|
148
156
|
action: "action",
|
|
149
157
|
analytics: "anlytic",
|
|
150
158
|
audit: "audit",
|
package/dist/index.mjs
CHANGED
|
@@ -70,11 +70,17 @@ var limitConfigs = {
|
|
|
70
70
|
tag_definition_count: {
|
|
71
71
|
value: 50,
|
|
72
72
|
unit: "count"
|
|
73
|
+
},
|
|
74
|
+
bot_integration_secret_count: {
|
|
75
|
+
value: 25,
|
|
76
|
+
unit: "count"
|
|
73
77
|
}
|
|
74
78
|
};
|
|
75
79
|
|
|
76
80
|
// src/prefixes.ts
|
|
77
81
|
var prefixToObjectMap = {
|
|
82
|
+
accnt: "account",
|
|
83
|
+
accntpf: "accountPreference",
|
|
78
84
|
action: "action",
|
|
79
85
|
anlytic: "analytics",
|
|
80
86
|
audit: "audit",
|
|
@@ -115,6 +121,8 @@ var prefixToObjectMap = {
|
|
|
115
121
|
wkspace: "workspace"
|
|
116
122
|
};
|
|
117
123
|
var objectToPrefixMap = {
|
|
124
|
+
account: "accnt",
|
|
125
|
+
accountPreference: "accntpf",
|
|
118
126
|
action: "action",
|
|
119
127
|
analytics: "anlytic",
|
|
120
128
|
audit: "audit",
|
package/package.json
CHANGED
package/src/limits.ts
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']
|