@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/index.d.ts
CHANGED
|
@@ -278,7 +278,7 @@ declare const cloudAccountSessionSchema: v.ObjectSchema<{
|
|
|
278
278
|
readonly id: v.StringSchema<undefined>;
|
|
279
279
|
/** The session this request was made with. */
|
|
280
280
|
readonly current: v.BooleanSchema<undefined>;
|
|
281
|
-
readonly method: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
281
|
+
readonly method: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop">]>, undefined>;
|
|
282
282
|
readonly ipAddress: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
283
283
|
/** The browser and system the server read from the client's user agent, such as `Chrome 141`. */
|
|
284
284
|
readonly browser: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -292,7 +292,7 @@ declare const cloudAccountSessionsResponseSchema: v.ObjectSchema<{
|
|
|
292
292
|
readonly id: v.StringSchema<undefined>;
|
|
293
293
|
/** The session this request was made with. */
|
|
294
294
|
readonly current: v.BooleanSchema<undefined>;
|
|
295
|
-
readonly method: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
295
|
+
readonly method: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop">]>, undefined>;
|
|
296
296
|
readonly ipAddress: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
297
297
|
/** The browser and system the server read from the client's user agent, such as `Chrome 141`. */
|
|
298
298
|
readonly browser: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -307,7 +307,7 @@ declare const cloudSessionRevokeSchema: v.ObjectSchema<{
|
|
|
307
307
|
}, undefined>;
|
|
308
308
|
declare const cloudSignInSchema: v.ObjectSchema<{
|
|
309
309
|
readonly id: v.StringSchema<undefined>;
|
|
310
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
310
|
+
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop">]>;
|
|
311
311
|
readonly ipAddress: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
312
312
|
/** The browser and system the server read from the client's user agent, such as `Chrome 141`. */
|
|
313
313
|
readonly browser: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -317,7 +317,7 @@ declare const cloudSignInSchema: v.ObjectSchema<{
|
|
|
317
317
|
declare const cloudSignInsResponseSchema: v.ObjectSchema<{
|
|
318
318
|
readonly signIns: v.ArraySchema<v.ObjectSchema<{
|
|
319
319
|
readonly id: v.StringSchema<undefined>;
|
|
320
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
320
|
+
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop">]>;
|
|
321
321
|
readonly ipAddress: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
322
322
|
/** The browser and system the server read from the client's user agent, such as `Chrome 141`. */
|
|
323
323
|
readonly browser: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1100,7 +1100,7 @@ declare const cloudAdminUserDetailSchema: v.ObjectSchema<{
|
|
|
1100
1100
|
readonly sessions: v.ArraySchema<v.ObjectSchema<{
|
|
1101
1101
|
readonly id: v.StringSchema<undefined>;
|
|
1102
1102
|
readonly current: v.BooleanSchema<undefined>;
|
|
1103
|
-
readonly method: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
1103
|
+
readonly method: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop">]>, undefined>;
|
|
1104
1104
|
readonly ipAddress: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1105
1105
|
readonly browser: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1106
1106
|
readonly system: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1110,7 +1110,7 @@ declare const cloudAdminUserDetailSchema: v.ObjectSchema<{
|
|
|
1110
1110
|
}, undefined>, undefined>;
|
|
1111
1111
|
readonly signIns: v.ArraySchema<v.ObjectSchema<{
|
|
1112
1112
|
readonly id: v.StringSchema<undefined>;
|
|
1113
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop"
|
|
1113
|
+
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, "other" | "two-step" | "google" | "apple" | "github" | "password" | "passkey" | "email-link" | "desktop">]>;
|
|
1114
1114
|
readonly ipAddress: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1115
1115
|
readonly browser: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1116
1116
|
readonly system: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -3136,7 +3136,7 @@ declare const sharedCommentsRequestSchema: v.ObjectSchema<{
|
|
|
3136
3136
|
}>;
|
|
3137
3137
|
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
3138
3138
|
secret: string;
|
|
3139
|
-
}, v.StringIssue | v.
|
|
3139
|
+
}, v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue>;
|
|
3140
3140
|
readonly "~types"?: {
|
|
3141
3141
|
readonly input: {
|
|
3142
3142
|
secret: string;
|
|
@@ -3144,7 +3144,7 @@ declare const sharedCommentsRequestSchema: v.ObjectSchema<{
|
|
|
3144
3144
|
readonly output: {
|
|
3145
3145
|
secret: string;
|
|
3146
3146
|
};
|
|
3147
|
-
readonly issue: v.StringIssue | v.
|
|
3147
|
+
readonly issue: v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue;
|
|
3148
3148
|
} | undefined;
|
|
3149
3149
|
};
|
|
3150
3150
|
}, undefined>;
|
|
@@ -3178,7 +3178,7 @@ declare const sharedCreateCommentThreadSchema: v.ObjectSchema<{
|
|
|
3178
3178
|
}>;
|
|
3179
3179
|
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
3180
3180
|
secret: string;
|
|
3181
|
-
}, v.StringIssue | v.
|
|
3181
|
+
}, v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue>;
|
|
3182
3182
|
readonly "~types"?: {
|
|
3183
3183
|
readonly input: {
|
|
3184
3184
|
secret: string;
|
|
@@ -3186,7 +3186,7 @@ declare const sharedCreateCommentThreadSchema: v.ObjectSchema<{
|
|
|
3186
3186
|
readonly output: {
|
|
3187
3187
|
secret: string;
|
|
3188
3188
|
};
|
|
3189
|
-
readonly issue: v.StringIssue | v.
|
|
3189
|
+
readonly issue: v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue;
|
|
3190
3190
|
} | undefined;
|
|
3191
3191
|
};
|
|
3192
3192
|
}, undefined>;
|
|
@@ -3222,7 +3222,7 @@ declare const sharedUpdateCommentThreadSchema: v.ObjectSchema<{
|
|
|
3222
3222
|
}>;
|
|
3223
3223
|
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
3224
3224
|
secret: string;
|
|
3225
|
-
}, v.StringIssue | v.
|
|
3225
|
+
}, v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue>;
|
|
3226
3226
|
readonly "~types"?: {
|
|
3227
3227
|
readonly input: {
|
|
3228
3228
|
secret: string;
|
|
@@ -3230,7 +3230,7 @@ declare const sharedUpdateCommentThreadSchema: v.ObjectSchema<{
|
|
|
3230
3230
|
readonly output: {
|
|
3231
3231
|
secret: string;
|
|
3232
3232
|
};
|
|
3233
|
-
readonly issue: v.StringIssue | v.
|
|
3233
|
+
readonly issue: v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue;
|
|
3234
3234
|
} | undefined;
|
|
3235
3235
|
};
|
|
3236
3236
|
}, undefined>;
|
|
@@ -3256,7 +3256,7 @@ declare const sharedCreateCommentSchema: v.ObjectSchema<{
|
|
|
3256
3256
|
}>;
|
|
3257
3257
|
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
3258
3258
|
secret: string;
|
|
3259
|
-
}, v.StringIssue | v.
|
|
3259
|
+
}, v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue>;
|
|
3260
3260
|
readonly "~types"?: {
|
|
3261
3261
|
readonly input: {
|
|
3262
3262
|
secret: string;
|
|
@@ -3264,7 +3264,7 @@ declare const sharedCreateCommentSchema: v.ObjectSchema<{
|
|
|
3264
3264
|
readonly output: {
|
|
3265
3265
|
secret: string;
|
|
3266
3266
|
};
|
|
3267
|
-
readonly issue: v.StringIssue | v.
|
|
3267
|
+
readonly issue: v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue;
|
|
3268
3268
|
} | undefined;
|
|
3269
3269
|
};
|
|
3270
3270
|
}, undefined>;
|
|
@@ -3288,7 +3288,7 @@ declare const sharedUpdateCommentSchema: v.ObjectSchema<{
|
|
|
3288
3288
|
}>;
|
|
3289
3289
|
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
3290
3290
|
secret: string;
|
|
3291
|
-
}, v.StringIssue | v.
|
|
3291
|
+
}, v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue>;
|
|
3292
3292
|
readonly "~types"?: {
|
|
3293
3293
|
readonly input: {
|
|
3294
3294
|
secret: string;
|
|
@@ -3296,7 +3296,7 @@ declare const sharedUpdateCommentSchema: v.ObjectSchema<{
|
|
|
3296
3296
|
readonly output: {
|
|
3297
3297
|
secret: string;
|
|
3298
3298
|
};
|
|
3299
|
-
readonly issue: v.StringIssue | v.
|
|
3299
|
+
readonly issue: v.StringIssue | v.MinLengthIssue<string, 32> | v.MaxLengthIssue<string, 128> | v.ObjectIssue;
|
|
3300
3300
|
} | undefined;
|
|
3301
3301
|
};
|
|
3302
3302
|
}, undefined>;
|
|
@@ -17434,7 +17434,7 @@ const PAGE_HEADERS = {
|
|
|
17434
17434
|
"frame-ancestors 'none'"
|
|
17435
17435
|
].join("; "),
|
|
17436
17436
|
"Strict-Transport-Security": "max-age=31536000",
|
|
17437
|
-
"Referrer-Policy": "
|
|
17437
|
+
"Referrer-Policy": "strict-origin",
|
|
17438
17438
|
"X-Content-Type-Options": "nosniff"
|
|
17439
17439
|
};
|
|
17440
17440
|
function cacheControl(path) {
|