@webiny/project-aws 6.0.0-rc.1 → 6.0.0-rc.3
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/_templates/extensions/ApiLambdaFunction/package.json +9 -0
- package/_templates/extensions/ApiLambdaFunction/tsconfig.json +7 -0
- package/_templates/extensions/ApiLambdaFunction/webiny.config.ts +8 -0
- package/admin.d.ts +2 -2
- package/admin.js +1 -1
- package/admin.js.map +1 -1
- package/api.d.ts +2 -2
- package/api.js +2 -2
- package/api.js.map +1 -1
- package/apps/createAdminApp.d.ts +2 -0
- package/exports/extensions.d.ts +0 -1
- package/exports/extensions.js +0 -1
- package/exports/extensions.js.map +1 -1
- package/extensions/ApiLambdaFunction.d.ts +11 -0
- package/extensions/ApiLambdaFunction.js +68 -0
- package/extensions/ApiLambdaFunction.js.map +1 -0
- package/extensions/OpenSearch.js +3 -4
- package/extensions/OpenSearch.js.map +1 -1
- package/extensions/ProjectAws/definitions.js +1 -3
- package/extensions/ProjectAws/definitions.js.map +1 -1
- package/extensions/ProjectAws.js +5 -2
- package/extensions/ProjectAws.js.map +1 -1
- package/extensions/definitions.d.ts +3 -0
- package/extensions/definitions.js +6 -0
- package/extensions/definitions.js.map +1 -0
- package/extensions/index.d.ts +1 -0
- package/extensions/index.js +1 -0
- package/extensions/index.js.map +1 -1
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/index.js.map +1 -1
- package/infra.d.ts +10 -0
- package/infra.js +5 -2
- package/infra.js.map +1 -1
- package/package.json +12 -15
- package/project.d.ts +91 -0
- package/project.js +4 -3
- package/project.js.map +1 -1
- package/pulumi/apps/admin/createAdminPulumiApp.d.ts +2 -0
- package/pulumi/apps/api/ApiCloudfront.js +1 -1
- package/pulumi/apps/api/ApiCloudfront.js.map +1 -1
- package/pulumi/apps/api/createApiPulumiApp.js +2 -3
- package/pulumi/apps/api/createApiPulumiApp.js.map +1 -1
- package/pulumi/apps/core/CoreAuditLogsDynamo.js +67 -19
- package/pulumi/apps/core/CoreAuditLogsDynamo.js.map +1 -1
- package/pulumi/apps/core/CoreDynamo.js +18 -5
- package/pulumi/apps/core/CoreDynamo.js.map +1 -1
- package/pulumi/apps/core/CoreFileManager.d.ts +3 -0
- package/pulumi/apps/core/CoreFileManager.js +35 -7
- package/pulumi/apps/core/CoreFileManager.js.map +1 -1
- package/pulumi/apps/core/LogDynamo.js +39 -11
- package/pulumi/apps/core/LogDynamo.js.map +1 -1
- package/pulumi/apps/core/createCorePulumiApp.js +2 -3
- package/pulumi/apps/core/createCorePulumiApp.js.map +1 -1
- package/pulumi/apps/createAppBucket.d.ts +4 -0
- package/pulumi/apps/createAppBucket.js +42 -2
- package/pulumi/apps/createAppBucket.js.map +1 -1
- package/pulumi/apps/react/createReactPulumiApp.d.ts +2 -0
- package/security.d.ts +0 -356
- package/security.js +0 -53
- package/security.js.map +0 -1
package/security.d.ts
DELETED
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
export declare const Security: {
|
|
2
|
-
ApiKey: {
|
|
3
|
-
BeforeCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
4
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
5
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
7
|
-
src: string;
|
|
8
|
-
exportName?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
src: string;
|
|
11
|
-
exportName?: string | undefined;
|
|
12
|
-
}>>;
|
|
13
|
-
AfterCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
14
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
15
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
17
|
-
src: string;
|
|
18
|
-
exportName?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
src: string;
|
|
21
|
-
exportName?: string | undefined;
|
|
22
|
-
}>>;
|
|
23
|
-
BeforeUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
24
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
25
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
26
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
27
|
-
src: string;
|
|
28
|
-
exportName?: string | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
src: string;
|
|
31
|
-
exportName?: string | undefined;
|
|
32
|
-
}>>;
|
|
33
|
-
AfterUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
34
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
35
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
37
|
-
src: string;
|
|
38
|
-
exportName?: string | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
src: string;
|
|
41
|
-
exportName?: string | undefined;
|
|
42
|
-
}>>;
|
|
43
|
-
BeforeDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
44
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
45
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
47
|
-
src: string;
|
|
48
|
-
exportName?: string | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
src: string;
|
|
51
|
-
exportName?: string | undefined;
|
|
52
|
-
}>>;
|
|
53
|
-
AfterDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
54
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
55
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
57
|
-
src: string;
|
|
58
|
-
exportName?: string | undefined;
|
|
59
|
-
}, {
|
|
60
|
-
src: string;
|
|
61
|
-
exportName?: string | undefined;
|
|
62
|
-
}>>;
|
|
63
|
-
};
|
|
64
|
-
Role: {
|
|
65
|
-
BeforeCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
66
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
67
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
68
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
69
|
-
src: string;
|
|
70
|
-
exportName?: string | undefined;
|
|
71
|
-
}, {
|
|
72
|
-
src: string;
|
|
73
|
-
exportName?: string | undefined;
|
|
74
|
-
}>>;
|
|
75
|
-
AfterCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
76
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
77
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
78
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
79
|
-
src: string;
|
|
80
|
-
exportName?: string | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
src: string;
|
|
83
|
-
exportName?: string | undefined;
|
|
84
|
-
}>>;
|
|
85
|
-
BeforeUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
86
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
87
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
88
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
89
|
-
src: string;
|
|
90
|
-
exportName?: string | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
src: string;
|
|
93
|
-
exportName?: string | undefined;
|
|
94
|
-
}>>;
|
|
95
|
-
AfterUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
96
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
97
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
99
|
-
src: string;
|
|
100
|
-
exportName?: string | undefined;
|
|
101
|
-
}, {
|
|
102
|
-
src: string;
|
|
103
|
-
exportName?: string | undefined;
|
|
104
|
-
}>>;
|
|
105
|
-
BeforeDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
106
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
107
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
108
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
109
|
-
src: string;
|
|
110
|
-
exportName?: string | undefined;
|
|
111
|
-
}, {
|
|
112
|
-
src: string;
|
|
113
|
-
exportName?: string | undefined;
|
|
114
|
-
}>>;
|
|
115
|
-
AfterDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
116
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
117
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
118
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
119
|
-
src: string;
|
|
120
|
-
exportName?: string | undefined;
|
|
121
|
-
}, {
|
|
122
|
-
src: string;
|
|
123
|
-
exportName?: string | undefined;
|
|
124
|
-
}>>;
|
|
125
|
-
};
|
|
126
|
-
Team: {
|
|
127
|
-
BeforeCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
128
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
129
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
130
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
131
|
-
src: string;
|
|
132
|
-
exportName?: string | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
src: string;
|
|
135
|
-
exportName?: string | undefined;
|
|
136
|
-
}>>;
|
|
137
|
-
AfterCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
138
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
139
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
140
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
141
|
-
src: string;
|
|
142
|
-
exportName?: string | undefined;
|
|
143
|
-
}, {
|
|
144
|
-
src: string;
|
|
145
|
-
exportName?: string | undefined;
|
|
146
|
-
}>>;
|
|
147
|
-
BeforeUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
148
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
149
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
150
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
151
|
-
src: string;
|
|
152
|
-
exportName?: string | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
src: string;
|
|
155
|
-
exportName?: string | undefined;
|
|
156
|
-
}>>;
|
|
157
|
-
AfterUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
158
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
159
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
160
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
161
|
-
src: string;
|
|
162
|
-
exportName?: string | undefined;
|
|
163
|
-
}, {
|
|
164
|
-
src: string;
|
|
165
|
-
exportName?: string | undefined;
|
|
166
|
-
}>>;
|
|
167
|
-
BeforeDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
168
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
169
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
170
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
171
|
-
src: string;
|
|
172
|
-
exportName?: string | undefined;
|
|
173
|
-
}, {
|
|
174
|
-
src: string;
|
|
175
|
-
exportName?: string | undefined;
|
|
176
|
-
}>>;
|
|
177
|
-
AfterDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
178
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
179
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
180
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
181
|
-
src: string;
|
|
182
|
-
exportName?: string | undefined;
|
|
183
|
-
}, {
|
|
184
|
-
src: string;
|
|
185
|
-
exportName?: string | undefined;
|
|
186
|
-
}>>;
|
|
187
|
-
};
|
|
188
|
-
Authentication: {
|
|
189
|
-
Before: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
190
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
191
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
192
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
193
|
-
src: string;
|
|
194
|
-
exportName?: string | undefined;
|
|
195
|
-
}, {
|
|
196
|
-
src: string;
|
|
197
|
-
exportName?: string | undefined;
|
|
198
|
-
}>>;
|
|
199
|
-
After: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
200
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
201
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
202
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
203
|
-
src: string;
|
|
204
|
-
exportName?: string | undefined;
|
|
205
|
-
}, {
|
|
206
|
-
src: string;
|
|
207
|
-
exportName?: string | undefined;
|
|
208
|
-
}>>;
|
|
209
|
-
};
|
|
210
|
-
User: {
|
|
211
|
-
BeforeCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
212
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
213
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
214
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
215
|
-
src: string;
|
|
216
|
-
exportName?: string | undefined;
|
|
217
|
-
}, {
|
|
218
|
-
src: string;
|
|
219
|
-
exportName?: string | undefined;
|
|
220
|
-
}>>;
|
|
221
|
-
AfterCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
222
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
223
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
224
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
225
|
-
src: string;
|
|
226
|
-
exportName?: string | undefined;
|
|
227
|
-
}, {
|
|
228
|
-
src: string;
|
|
229
|
-
exportName?: string | undefined;
|
|
230
|
-
}>>;
|
|
231
|
-
BeforeUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
232
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
233
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
234
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
235
|
-
src: string;
|
|
236
|
-
exportName?: string | undefined;
|
|
237
|
-
}, {
|
|
238
|
-
src: string;
|
|
239
|
-
exportName?: string | undefined;
|
|
240
|
-
}>>;
|
|
241
|
-
AfterUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
242
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
243
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
244
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
245
|
-
src: string;
|
|
246
|
-
exportName?: string | undefined;
|
|
247
|
-
}, {
|
|
248
|
-
src: string;
|
|
249
|
-
exportName?: string | undefined;
|
|
250
|
-
}>>;
|
|
251
|
-
BeforeDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
252
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
253
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
254
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
255
|
-
src: string;
|
|
256
|
-
exportName?: string | undefined;
|
|
257
|
-
}, {
|
|
258
|
-
src: string;
|
|
259
|
-
exportName?: string | undefined;
|
|
260
|
-
}>>;
|
|
261
|
-
AfterDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
262
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
263
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
264
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
265
|
-
src: string;
|
|
266
|
-
exportName?: string | undefined;
|
|
267
|
-
}, {
|
|
268
|
-
src: string;
|
|
269
|
-
exportName?: string | undefined;
|
|
270
|
-
}>>;
|
|
271
|
-
};
|
|
272
|
-
Tenant: {
|
|
273
|
-
BeforeCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
274
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
275
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
276
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
277
|
-
src: string;
|
|
278
|
-
exportName?: string | undefined;
|
|
279
|
-
}, {
|
|
280
|
-
src: string;
|
|
281
|
-
exportName?: string | undefined;
|
|
282
|
-
}>>;
|
|
283
|
-
AfterCreate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
284
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
285
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
286
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
287
|
-
src: string;
|
|
288
|
-
exportName?: string | undefined;
|
|
289
|
-
}, {
|
|
290
|
-
src: string;
|
|
291
|
-
exportName?: string | undefined;
|
|
292
|
-
}>>;
|
|
293
|
-
BeforeUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
294
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
295
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
296
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
297
|
-
src: string;
|
|
298
|
-
exportName?: string | undefined;
|
|
299
|
-
}, {
|
|
300
|
-
src: string;
|
|
301
|
-
exportName?: string | undefined;
|
|
302
|
-
}>>;
|
|
303
|
-
AfterUpdate: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
304
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
305
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
306
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
307
|
-
src: string;
|
|
308
|
-
exportName?: string | undefined;
|
|
309
|
-
}, {
|
|
310
|
-
src: string;
|
|
311
|
-
exportName?: string | undefined;
|
|
312
|
-
}>>;
|
|
313
|
-
BeforeDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
314
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
315
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
316
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
317
|
-
src: string;
|
|
318
|
-
exportName?: string | undefined;
|
|
319
|
-
}, {
|
|
320
|
-
src: string;
|
|
321
|
-
exportName?: string | undefined;
|
|
322
|
-
}>>;
|
|
323
|
-
AfterDelete: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
324
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
325
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
326
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
327
|
-
src: string;
|
|
328
|
-
exportName?: string | undefined;
|
|
329
|
-
}, {
|
|
330
|
-
src: string;
|
|
331
|
-
exportName?: string | undefined;
|
|
332
|
-
}>>;
|
|
333
|
-
Installed: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
334
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
335
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
336
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
337
|
-
src: string;
|
|
338
|
-
exportName?: string | undefined;
|
|
339
|
-
}, {
|
|
340
|
-
src: string;
|
|
341
|
-
exportName?: string | undefined;
|
|
342
|
-
}>>;
|
|
343
|
-
};
|
|
344
|
-
System: {
|
|
345
|
-
Installed: import("@webiny/project/defineExtension").ExtensionComponent<import("zod").ZodObject<{
|
|
346
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
347
|
-
exportName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
348
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
349
|
-
src: string;
|
|
350
|
-
exportName?: string | undefined;
|
|
351
|
-
}, {
|
|
352
|
-
src: string;
|
|
353
|
-
exportName?: string | undefined;
|
|
354
|
-
}>>;
|
|
355
|
-
};
|
|
356
|
-
};
|
package/security.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ApiKeyBeforeCreate, ApiKeyAfterCreate, ApiKeyBeforeUpdate, ApiKeyAfterUpdate, ApiKeyBeforeDelete, ApiKeyAfterDelete, RoleBeforeCreate, RoleAfterCreate, RoleBeforeUpdate, RoleAfterUpdate, RoleBeforeDelete, RoleAfterDelete, TeamBeforeCreate, TeamAfterCreate, TeamBeforeUpdate, TeamAfterUpdate, TeamBeforeDelete, TeamAfterDelete, BeforeAuthentication, AfterAuthentication, UserBeforeCreate, UserAfterCreate, UserBeforeUpdate, UserAfterUpdate, UserBeforeDelete, UserAfterDelete, TenantBeforeCreate, TenantAfterCreate, TenantBeforeUpdate, TenantAfterUpdate, TenantBeforeDelete, TenantAfterDelete, TenantInstalled, SystemInstalled } from "@webiny/api-core/extensions/index.js";
|
|
2
|
-
export const Security = {
|
|
3
|
-
ApiKey: {
|
|
4
|
-
BeforeCreate: ApiKeyBeforeCreate,
|
|
5
|
-
AfterCreate: ApiKeyAfterCreate,
|
|
6
|
-
BeforeUpdate: ApiKeyBeforeUpdate,
|
|
7
|
-
AfterUpdate: ApiKeyAfterUpdate,
|
|
8
|
-
BeforeDelete: ApiKeyBeforeDelete,
|
|
9
|
-
AfterDelete: ApiKeyAfterDelete
|
|
10
|
-
},
|
|
11
|
-
Role: {
|
|
12
|
-
BeforeCreate: RoleBeforeCreate,
|
|
13
|
-
AfterCreate: RoleAfterCreate,
|
|
14
|
-
BeforeUpdate: RoleBeforeUpdate,
|
|
15
|
-
AfterUpdate: RoleAfterUpdate,
|
|
16
|
-
BeforeDelete: RoleBeforeDelete,
|
|
17
|
-
AfterDelete: RoleAfterDelete
|
|
18
|
-
},
|
|
19
|
-
Team: {
|
|
20
|
-
BeforeCreate: TeamBeforeCreate,
|
|
21
|
-
AfterCreate: TeamAfterCreate,
|
|
22
|
-
BeforeUpdate: TeamBeforeUpdate,
|
|
23
|
-
AfterUpdate: TeamAfterUpdate,
|
|
24
|
-
BeforeDelete: TeamBeforeDelete,
|
|
25
|
-
AfterDelete: TeamAfterDelete
|
|
26
|
-
},
|
|
27
|
-
Authentication: {
|
|
28
|
-
Before: BeforeAuthentication,
|
|
29
|
-
After: AfterAuthentication
|
|
30
|
-
},
|
|
31
|
-
User: {
|
|
32
|
-
BeforeCreate: UserBeforeCreate,
|
|
33
|
-
AfterCreate: UserAfterCreate,
|
|
34
|
-
BeforeUpdate: UserBeforeUpdate,
|
|
35
|
-
AfterUpdate: UserAfterUpdate,
|
|
36
|
-
BeforeDelete: UserBeforeDelete,
|
|
37
|
-
AfterDelete: UserAfterDelete
|
|
38
|
-
},
|
|
39
|
-
Tenant: {
|
|
40
|
-
BeforeCreate: TenantBeforeCreate,
|
|
41
|
-
AfterCreate: TenantAfterCreate,
|
|
42
|
-
BeforeUpdate: TenantBeforeUpdate,
|
|
43
|
-
AfterUpdate: TenantAfterUpdate,
|
|
44
|
-
BeforeDelete: TenantBeforeDelete,
|
|
45
|
-
AfterDelete: TenantAfterDelete,
|
|
46
|
-
Installed: TenantInstalled
|
|
47
|
-
},
|
|
48
|
-
System: {
|
|
49
|
-
Installed: SystemInstalled
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
//# sourceMappingURL=security.js.map
|
package/security.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ApiKeyBeforeCreate","ApiKeyAfterCreate","ApiKeyBeforeUpdate","ApiKeyAfterUpdate","ApiKeyBeforeDelete","ApiKeyAfterDelete","RoleBeforeCreate","RoleAfterCreate","RoleBeforeUpdate","RoleAfterUpdate","RoleBeforeDelete","RoleAfterDelete","TeamBeforeCreate","TeamAfterCreate","TeamBeforeUpdate","TeamAfterUpdate","TeamBeforeDelete","TeamAfterDelete","BeforeAuthentication","AfterAuthentication","UserBeforeCreate","UserAfterCreate","UserBeforeUpdate","UserAfterUpdate","UserBeforeDelete","UserAfterDelete","TenantBeforeCreate","TenantAfterCreate","TenantBeforeUpdate","TenantAfterUpdate","TenantBeforeDelete","TenantAfterDelete","TenantInstalled","SystemInstalled","Security","ApiKey","BeforeCreate","AfterCreate","BeforeUpdate","AfterUpdate","BeforeDelete","AfterDelete","Role","Team","Authentication","Before","After","User","Tenant","Installed","System"],"sources":["security.ts"],"sourcesContent":["import {\n ApiKeyBeforeCreate,\n ApiKeyAfterCreate,\n ApiKeyBeforeUpdate,\n ApiKeyAfterUpdate,\n ApiKeyBeforeDelete,\n ApiKeyAfterDelete,\n RoleBeforeCreate,\n RoleAfterCreate,\n RoleBeforeUpdate,\n RoleAfterUpdate,\n RoleBeforeDelete,\n RoleAfterDelete,\n TeamBeforeCreate,\n TeamAfterCreate,\n TeamBeforeUpdate,\n TeamAfterUpdate,\n TeamBeforeDelete,\n TeamAfterDelete,\n BeforeAuthentication,\n AfterAuthentication,\n UserBeforeCreate,\n UserAfterCreate,\n UserBeforeUpdate,\n UserAfterUpdate,\n UserBeforeDelete,\n UserAfterDelete,\n TenantBeforeCreate,\n TenantAfterCreate,\n TenantBeforeUpdate,\n TenantAfterUpdate,\n TenantBeforeDelete,\n TenantAfterDelete,\n TenantInstalled,\n SystemInstalled\n} from \"@webiny/api-core/extensions/index.js\";\n\nexport const Security = {\n ApiKey: {\n BeforeCreate: ApiKeyBeforeCreate,\n AfterCreate: ApiKeyAfterCreate,\n BeforeUpdate: ApiKeyBeforeUpdate,\n AfterUpdate: ApiKeyAfterUpdate,\n BeforeDelete: ApiKeyBeforeDelete,\n AfterDelete: ApiKeyAfterDelete\n },\n Role: {\n BeforeCreate: RoleBeforeCreate,\n AfterCreate: RoleAfterCreate,\n BeforeUpdate: RoleBeforeUpdate,\n AfterUpdate: RoleAfterUpdate,\n BeforeDelete: RoleBeforeDelete,\n AfterDelete: RoleAfterDelete\n },\n Team: {\n BeforeCreate: TeamBeforeCreate,\n AfterCreate: TeamAfterCreate,\n BeforeUpdate: TeamBeforeUpdate,\n AfterUpdate: TeamAfterUpdate,\n BeforeDelete: TeamBeforeDelete,\n AfterDelete: TeamAfterDelete\n },\n Authentication: {\n Before: BeforeAuthentication,\n After: AfterAuthentication\n },\n User: {\n BeforeCreate: UserBeforeCreate,\n AfterCreate: UserAfterCreate,\n BeforeUpdate: UserBeforeUpdate,\n AfterUpdate: UserAfterUpdate,\n BeforeDelete: UserBeforeDelete,\n AfterDelete: UserAfterDelete\n },\n Tenant: {\n BeforeCreate: TenantBeforeCreate,\n AfterCreate: TenantAfterCreate,\n BeforeUpdate: TenantBeforeUpdate,\n AfterUpdate: TenantAfterUpdate,\n BeforeDelete: TenantBeforeDelete,\n AfterDelete: TenantAfterDelete,\n Installed: TenantInstalled\n },\n System: {\n Installed: SystemInstalled\n }\n};\n"],"mappings":"AAAA,SACIA,kBAAkB,EAClBC,iBAAiB,EACjBC,kBAAkB,EAClBC,iBAAiB,EACjBC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,eAAe,EACfC,oBAAoB,EACpBC,mBAAmB,EACnBC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,eAAe,EACfC,kBAAkB,EAClBC,iBAAiB,EACjBC,kBAAkB,EAClBC,iBAAiB,EACjBC,kBAAkB,EAClBC,iBAAiB,EACjBC,eAAe,EACfC,eAAe,QACZ,sCAAsC;AAE7C,OAAO,MAAMC,QAAQ,GAAG;EACpBC,MAAM,EAAE;IACJC,YAAY,EAAEpC,kBAAkB;IAChCqC,WAAW,EAAEpC,iBAAiB;IAC9BqC,YAAY,EAAEpC,kBAAkB;IAChCqC,WAAW,EAAEpC,iBAAiB;IAC9BqC,YAAY,EAAEpC,kBAAkB;IAChCqC,WAAW,EAAEpC;EACjB,CAAC;EACDqC,IAAI,EAAE;IACFN,YAAY,EAAE9B,gBAAgB;IAC9B+B,WAAW,EAAE9B,eAAe;IAC5B+B,YAAY,EAAE9B,gBAAgB;IAC9B+B,WAAW,EAAE9B,eAAe;IAC5B+B,YAAY,EAAE9B,gBAAgB;IAC9B+B,WAAW,EAAE9B;EACjB,CAAC;EACDgC,IAAI,EAAE;IACFP,YAAY,EAAExB,gBAAgB;IAC9ByB,WAAW,EAAExB,eAAe;IAC5ByB,YAAY,EAAExB,gBAAgB;IAC9ByB,WAAW,EAAExB,eAAe;IAC5ByB,YAAY,EAAExB,gBAAgB;IAC9ByB,WAAW,EAAExB;EACjB,CAAC;EACD2B,cAAc,EAAE;IACZC,MAAM,EAAE3B,oBAAoB;IAC5B4B,KAAK,EAAE3B;EACX,CAAC;EACD4B,IAAI,EAAE;IACFX,YAAY,EAAEhB,gBAAgB;IAC9BiB,WAAW,EAAEhB,eAAe;IAC5BiB,YAAY,EAAEhB,gBAAgB;IAC9BiB,WAAW,EAAEhB,eAAe;IAC5BiB,YAAY,EAAEhB,gBAAgB;IAC9BiB,WAAW,EAAEhB;EACjB,CAAC;EACDuB,MAAM,EAAE;IACJZ,YAAY,EAAEV,kBAAkB;IAChCW,WAAW,EAAEV,iBAAiB;IAC9BW,YAAY,EAAEV,kBAAkB;IAChCW,WAAW,EAAEV,iBAAiB;IAC9BW,YAAY,EAAEV,kBAAkB;IAChCW,WAAW,EAAEV,iBAAiB;IAC9BkB,SAAS,EAAEjB;EACf,CAAC;EACDkB,MAAM,EAAE;IACJD,SAAS,EAAEhB;EACf;AACJ,CAAC","ignoreList":[]}
|