@openpeepshq/common 0.19.0 → 0.20.0
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/lib/articleSlug.d.ts +31 -0
- package/dist/lib/articleSlug.js +34 -0
- package/dist/lib/capabilitiesHelpers.d.ts +7 -7
- package/dist/lib/groupHelpers.d.ts +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/postHelpers.d.ts +3 -3
- package/dist/types/api.d.ts +1210 -974
- package/dist/types/auth.d.ts +7 -7
- package/dist/types/db.d.ts +121 -77
- package/dist/types/internal.d.ts +708 -620
- package/dist/types/models.d.ts +22 -8
- package/dist/types/models.js +13 -0
- package/dist/types/stats.d.ts +1077 -861
- package/package.json +1 -1
- package/src/lib/articleSlug.ts +40 -0
- package/src/lib/index.ts +1 -0
- package/src/types/models.ts +16 -0
package/dist/types/auth.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ export declare const authorizationSchema: z.ZodObject<{
|
|
|
13
13
|
}>>;
|
|
14
14
|
resource: z.ZodObject<{
|
|
15
15
|
type: z.ZodEnum<{
|
|
16
|
+
db: "db";
|
|
16
17
|
self: "self";
|
|
17
18
|
"*": "*";
|
|
18
|
-
db: "db";
|
|
19
19
|
jams: "jams";
|
|
20
20
|
profiles: "profiles";
|
|
21
21
|
notifications: "notifications";
|
|
@@ -70,9 +70,9 @@ export declare const authorizationDataSchema: z.ZodObject<{
|
|
|
70
70
|
email: z.ZodOptional<z.ZodEmail>;
|
|
71
71
|
resource: z.ZodOptional<z.ZodObject<{
|
|
72
72
|
type: z.ZodEnum<{
|
|
73
|
+
db: "db";
|
|
73
74
|
self: "self";
|
|
74
75
|
"*": "*";
|
|
75
|
-
db: "db";
|
|
76
76
|
jams: "jams";
|
|
77
77
|
profiles: "profiles";
|
|
78
78
|
notifications: "notifications";
|
|
@@ -140,9 +140,9 @@ export declare const authorizationDataSchema: z.ZodObject<{
|
|
|
140
140
|
email: z.ZodOptional<z.ZodEmail>;
|
|
141
141
|
resource: z.ZodOptional<z.ZodObject<{
|
|
142
142
|
type: z.ZodEnum<{
|
|
143
|
+
db: "db";
|
|
143
144
|
self: "self";
|
|
144
145
|
"*": "*";
|
|
145
|
-
db: "db";
|
|
146
146
|
jams: "jams";
|
|
147
147
|
profiles: "profiles";
|
|
148
148
|
notifications: "notifications";
|
|
@@ -200,9 +200,9 @@ export declare const authorizationDataSchema: z.ZodObject<{
|
|
|
200
200
|
email: z.ZodOptional<z.ZodEmail>;
|
|
201
201
|
resource: z.ZodOptional<z.ZodObject<{
|
|
202
202
|
type: z.ZodEnum<{
|
|
203
|
+
db: "db";
|
|
203
204
|
self: "self";
|
|
204
205
|
"*": "*";
|
|
205
|
-
db: "db";
|
|
206
206
|
jams: "jams";
|
|
207
207
|
profiles: "profiles";
|
|
208
208
|
notifications: "notifications";
|
|
@@ -235,11 +235,11 @@ export declare const authorizationDataSchema: z.ZodObject<{
|
|
|
235
235
|
}, z.core.$strip>>;
|
|
236
236
|
memberships: z.ZodArray<z.ZodObject<{
|
|
237
237
|
roles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
238
|
+
admin: "admin";
|
|
238
239
|
none: "none";
|
|
239
240
|
local: "local";
|
|
240
241
|
member: "member";
|
|
241
242
|
moderator: "moderator";
|
|
242
|
-
admin: "admin";
|
|
243
243
|
owner: "owner";
|
|
244
244
|
invited: "invited";
|
|
245
245
|
}>>>>;
|
|
@@ -328,9 +328,9 @@ export declare const authorizationDataSchema: z.ZodObject<{
|
|
|
328
328
|
email: z.ZodOptional<z.ZodEmail>;
|
|
329
329
|
resource: z.ZodOptional<z.ZodObject<{
|
|
330
330
|
type: z.ZodEnum<{
|
|
331
|
+
db: "db";
|
|
331
332
|
self: "self";
|
|
332
333
|
"*": "*";
|
|
333
|
-
db: "db";
|
|
334
334
|
jams: "jams";
|
|
335
335
|
profiles: "profiles";
|
|
336
336
|
notifications: "notifications";
|
|
@@ -361,9 +361,9 @@ export declare const authorizationDataSchema: z.ZodObject<{
|
|
|
361
361
|
}>>;
|
|
362
362
|
resource: z.ZodObject<{
|
|
363
363
|
type: z.ZodEnum<{
|
|
364
|
+
db: "db";
|
|
364
365
|
self: "self";
|
|
365
366
|
"*": "*";
|
|
366
|
-
db: "db";
|
|
367
367
|
jams: "jams";
|
|
368
368
|
profiles: "profiles";
|
|
369
369
|
notifications: "notifications";
|