@open-pencil/cloud 0.17.0-beta.6 → 0.17.0-beta.7
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.d.ts +16 -16
- package/dist/runtime-cloudflare.js +1 -1
- package/dist/runtime-cloudflare.js.map +1 -1
- package/dist/server.d.ts +24 -24
- package/dist/server.mjs +1 -1
- package/dist/server.mjs.map +1 -1
- package/package.json +5 -5
- package/src/runtime/site/server.ts +4 -1
package/dist/server.d.ts
CHANGED
|
@@ -6383,7 +6383,7 @@ declare function createPublicReportRoutes(service: DocumentReportService, resolv
|
|
|
6383
6383
|
json: {
|
|
6384
6384
|
secret: string;
|
|
6385
6385
|
guestId?: string | undefined;
|
|
6386
|
-
reason: "
|
|
6386
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
6387
6387
|
description: string;
|
|
6388
6388
|
replyEmail?: string | undefined;
|
|
6389
6389
|
};
|
|
@@ -6400,7 +6400,7 @@ declare function createPublicReportRoutes(service: DocumentReportService, resolv
|
|
|
6400
6400
|
json: {
|
|
6401
6401
|
secret: string;
|
|
6402
6402
|
guestId?: string | undefined;
|
|
6403
|
-
reason: "
|
|
6403
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
6404
6404
|
description: string;
|
|
6405
6405
|
replyEmail?: string | undefined;
|
|
6406
6406
|
};
|
|
@@ -6421,7 +6421,7 @@ declare function createPublicReportRoutes(service: DocumentReportService, resolv
|
|
|
6421
6421
|
json: {
|
|
6422
6422
|
secret: string;
|
|
6423
6423
|
guestId?: string | undefined;
|
|
6424
|
-
reason: "
|
|
6424
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
6425
6425
|
description: string;
|
|
6426
6426
|
replyEmail?: string | undefined;
|
|
6427
6427
|
};
|
|
@@ -6444,7 +6444,7 @@ declare function createAdminReportService(database: Kysely<CloudDatabase>, repli
|
|
|
6444
6444
|
list(query?: AdminListQuery<CloudAdminReportFilter>): Promise<{
|
|
6445
6445
|
reports: {
|
|
6446
6446
|
id: string;
|
|
6447
|
-
reason: "
|
|
6447
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
6448
6448
|
description: string;
|
|
6449
6449
|
status: "open" | "dismissed" | "actioned";
|
|
6450
6450
|
reporter: {
|
|
@@ -9593,7 +9593,7 @@ declare function createPublicCloudAPIRouter(services: CloudAPIServices): import(
|
|
|
9593
9593
|
json: {
|
|
9594
9594
|
secret: string;
|
|
9595
9595
|
guestId?: string | undefined;
|
|
9596
|
-
reason: "
|
|
9596
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
9597
9597
|
description: string;
|
|
9598
9598
|
replyEmail?: string | undefined;
|
|
9599
9599
|
};
|
|
@@ -9610,7 +9610,7 @@ declare function createPublicCloudAPIRouter(services: CloudAPIServices): import(
|
|
|
9610
9610
|
json: {
|
|
9611
9611
|
secret: string;
|
|
9612
9612
|
guestId?: string | undefined;
|
|
9613
|
-
reason: "
|
|
9613
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
9614
9614
|
description: string;
|
|
9615
9615
|
replyEmail?: string | undefined;
|
|
9616
9616
|
};
|
|
@@ -9631,7 +9631,7 @@ declare function createPublicCloudAPIRouter(services: CloudAPIServices): import(
|
|
|
9631
9631
|
json: {
|
|
9632
9632
|
secret: string;
|
|
9633
9633
|
guestId?: string | undefined;
|
|
9634
|
-
reason: "
|
|
9634
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
9635
9635
|
description: string;
|
|
9636
9636
|
replyEmail?: string | undefined;
|
|
9637
9637
|
};
|
|
@@ -10927,7 +10927,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
10927
10927
|
json: {
|
|
10928
10928
|
secret: string;
|
|
10929
10929
|
guestId?: string | undefined;
|
|
10930
|
-
reason: "
|
|
10930
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
10931
10931
|
description: string;
|
|
10932
10932
|
replyEmail?: string | undefined;
|
|
10933
10933
|
};
|
|
@@ -10944,7 +10944,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
10944
10944
|
json: {
|
|
10945
10945
|
secret: string;
|
|
10946
10946
|
guestId?: string | undefined;
|
|
10947
|
-
reason: "
|
|
10947
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
10948
10948
|
description: string;
|
|
10949
10949
|
replyEmail?: string | undefined;
|
|
10950
10950
|
};
|
|
@@ -10965,7 +10965,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
10965
10965
|
json: {
|
|
10966
10966
|
secret: string;
|
|
10967
10967
|
guestId?: string | undefined;
|
|
10968
|
-
reason: "
|
|
10968
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
10969
10969
|
description: string;
|
|
10970
10970
|
replyEmail?: string | undefined;
|
|
10971
10971
|
};
|
|
@@ -15924,7 +15924,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
15924
15924
|
sessions: {
|
|
15925
15925
|
id: string;
|
|
15926
15926
|
current: boolean;
|
|
15927
|
-
method: "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop" |
|
|
15927
|
+
method: "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop" | null;
|
|
15928
15928
|
ipAddress: string | null;
|
|
15929
15929
|
browser: string | null;
|
|
15930
15930
|
system: string | null;
|
|
@@ -15934,7 +15934,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
15934
15934
|
}[];
|
|
15935
15935
|
signIns: {
|
|
15936
15936
|
id: string;
|
|
15937
|
-
method: "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
15937
|
+
method: "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop";
|
|
15938
15938
|
ipAddress: string | null;
|
|
15939
15939
|
browser: string | null;
|
|
15940
15940
|
system: string | null;
|
|
@@ -16437,7 +16437,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
16437
16437
|
output: {
|
|
16438
16438
|
reports: {
|
|
16439
16439
|
id: string;
|
|
16440
|
-
reason: "
|
|
16440
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
16441
16441
|
description: string;
|
|
16442
16442
|
status: "open" | "dismissed" | "actioned";
|
|
16443
16443
|
reporter: {
|
|
@@ -17960,7 +17960,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
17960
17960
|
sessions: {
|
|
17961
17961
|
id: string;
|
|
17962
17962
|
current: boolean;
|
|
17963
|
-
method: "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop" |
|
|
17963
|
+
method: "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop" | null;
|
|
17964
17964
|
ipAddress: string | null;
|
|
17965
17965
|
browser: string | null;
|
|
17966
17966
|
system: string | null;
|
|
@@ -18050,7 +18050,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
18050
18050
|
output: {
|
|
18051
18051
|
signIns: {
|
|
18052
18052
|
id: string;
|
|
18053
|
-
method: "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
18053
|
+
method: "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop";
|
|
18054
18054
|
ipAddress: string | null;
|
|
18055
18055
|
browser: string | null;
|
|
18056
18056
|
system: string | null;
|
|
@@ -18359,7 +18359,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
18359
18359
|
json: {
|
|
18360
18360
|
secret: string;
|
|
18361
18361
|
guestId?: string | undefined;
|
|
18362
|
-
reason: "
|
|
18362
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
18363
18363
|
description: string;
|
|
18364
18364
|
replyEmail?: string | undefined;
|
|
18365
18365
|
};
|
|
@@ -18376,7 +18376,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
18376
18376
|
json: {
|
|
18377
18377
|
secret: string;
|
|
18378
18378
|
guestId?: string | undefined;
|
|
18379
|
-
reason: "
|
|
18379
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
18380
18380
|
description: string;
|
|
18381
18381
|
replyEmail?: string | undefined;
|
|
18382
18382
|
};
|
|
@@ -18397,7 +18397,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
18397
18397
|
json: {
|
|
18398
18398
|
secret: string;
|
|
18399
18399
|
guestId?: string | undefined;
|
|
18400
|
-
reason: "
|
|
18400
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
18401
18401
|
description: string;
|
|
18402
18402
|
replyEmail?: string | undefined;
|
|
18403
18403
|
};
|
|
@@ -20270,7 +20270,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
20270
20270
|
sessions: {
|
|
20271
20271
|
id: string;
|
|
20272
20272
|
current: boolean;
|
|
20273
|
-
method: "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop" |
|
|
20273
|
+
method: "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop" | null;
|
|
20274
20274
|
ipAddress: string | null;
|
|
20275
20275
|
browser: string | null;
|
|
20276
20276
|
system: string | null;
|
|
@@ -20280,7 +20280,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
20280
20280
|
}[];
|
|
20281
20281
|
signIns: {
|
|
20282
20282
|
id: string;
|
|
20283
|
-
method: "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
20283
|
+
method: "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop";
|
|
20284
20284
|
ipAddress: string | null;
|
|
20285
20285
|
browser: string | null;
|
|
20286
20286
|
system: string | null;
|
|
@@ -20783,7 +20783,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
20783
20783
|
output: {
|
|
20784
20784
|
reports: {
|
|
20785
20785
|
id: string;
|
|
20786
|
-
reason: "
|
|
20786
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
20787
20787
|
description: string;
|
|
20788
20788
|
status: "open" | "dismissed" | "actioned";
|
|
20789
20789
|
reporter: {
|
|
@@ -21222,7 +21222,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
21222
21222
|
json: {
|
|
21223
21223
|
secret: string;
|
|
21224
21224
|
guestId?: string | undefined;
|
|
21225
|
-
reason: "
|
|
21225
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
21226
21226
|
description: string;
|
|
21227
21227
|
replyEmail?: string | undefined;
|
|
21228
21228
|
};
|
|
@@ -21239,7 +21239,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
21239
21239
|
json: {
|
|
21240
21240
|
secret: string;
|
|
21241
21241
|
guestId?: string | undefined;
|
|
21242
|
-
reason: "
|
|
21242
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
21243
21243
|
description: string;
|
|
21244
21244
|
replyEmail?: string | undefined;
|
|
21245
21245
|
};
|
|
@@ -21260,7 +21260,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
21260
21260
|
json: {
|
|
21261
21261
|
secret: string;
|
|
21262
21262
|
guestId?: string | undefined;
|
|
21263
|
-
reason: "
|
|
21263
|
+
reason: "spam-phishing" | "illegal" | "copyright" | "harassment" | "other";
|
|
21264
21264
|
description: string;
|
|
21265
21265
|
replyEmail?: string | undefined;
|
|
21266
21266
|
};
|
package/dist/server.mjs
CHANGED
|
@@ -16250,7 +16250,7 @@ const PAGE_HEADERS = {
|
|
|
16250
16250
|
"frame-ancestors 'none'"
|
|
16251
16251
|
].join("; "),
|
|
16252
16252
|
"Strict-Transport-Security": "max-age=31536000",
|
|
16253
|
-
"Referrer-Policy": "
|
|
16253
|
+
"Referrer-Policy": "strict-origin",
|
|
16254
16254
|
"X-Content-Type-Options": "nosniff"
|
|
16255
16255
|
};
|
|
16256
16256
|
function cacheControl(path) {
|