@caelo-cms/provisioning 0.12.9 → 0.12.10
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/agent-db.js +25 -1
- package/package.json +2 -2
package/dist/agent-db.js
CHANGED
|
@@ -7880,13 +7880,17 @@ var organizationJsonSchema = object({
|
|
|
7880
7880
|
var siteDefaultsSetSeoInputSchema = object({
|
|
7881
7881
|
siteBaseUrl: string2().min(1).max(2048).url("siteBaseUrl must be an absolute URL (https://example.com)"),
|
|
7882
7882
|
sitemapEnabled: boolean2(),
|
|
7883
|
+
feedEnabled: boolean2(),
|
|
7884
|
+
indexNowEnabled: boolean2(),
|
|
7883
7885
|
organizationJson: organizationJsonSchema.default({})
|
|
7884
7886
|
}).strict();
|
|
7885
7887
|
var siteSeoProposalInputSchema = object({
|
|
7886
7888
|
siteBaseUrl: string2().min(1).max(2048).optional(),
|
|
7887
7889
|
sitemapEnabled: boolean2().optional(),
|
|
7890
|
+
feedEnabled: boolean2().optional(),
|
|
7891
|
+
indexNowEnabled: boolean2().optional(),
|
|
7888
7892
|
organizationJson: organizationJsonSchema.optional()
|
|
7889
|
-
}).strict().refine((v) => v.siteBaseUrl !== undefined || v.sitemapEnabled !== undefined || v.organizationJson !== undefined, "pass at least one of `siteBaseUrl`, `sitemapEnabled`, `organizationJson`");
|
|
7893
|
+
}).strict().refine((v) => v.siteBaseUrl !== undefined || v.sitemapEnabled !== undefined || v.feedEnabled !== undefined || v.indexNowEnabled !== undefined || v.organizationJson !== undefined, "pass at least one of `siteBaseUrl`, `sitemapEnabled`, `feedEnabled`, `indexNowEnabled`, `organizationJson`");
|
|
7890
7894
|
|
|
7891
7895
|
// ../shared/src/build-page.ts
|
|
7892
7896
|
var contentValuesSchema2 = record(string2(), unknown());
|
|
@@ -9433,6 +9437,25 @@ function err(error) {
|
|
|
9433
9437
|
function isErr(result) {
|
|
9434
9438
|
return !result.ok;
|
|
9435
9439
|
}
|
|
9440
|
+
// ../shared/src/search-feed.ts
|
|
9441
|
+
var BUILD_CHANGE_KINDS = ["baseline", "added", "changed", "moved", "removed"];
|
|
9442
|
+
var pageChangeSchema = object({
|
|
9443
|
+
pageId: string2().uuid(),
|
|
9444
|
+
kind: _enum(BUILD_CHANGE_KINDS),
|
|
9445
|
+
url: string2().max(2048).nullable(),
|
|
9446
|
+
fingerprint: string2().regex(/^[0-9a-f]{64}$/).nullable(),
|
|
9447
|
+
pluginFingerprint: string2().regex(/^[0-9a-f]{64}$/).nullable(),
|
|
9448
|
+
title: string2().max(1000).nullable(),
|
|
9449
|
+
summary: string2().max(2000).nullable(),
|
|
9450
|
+
prevUrl: string2().max(2048).nullable(),
|
|
9451
|
+
changedAt: string2().datetime({ offset: true })
|
|
9452
|
+
}).strict().refine((c) => c.url === null === (c.fingerprint === null), "url and fingerprint go together").refine((c) => c.kind === "removed" === (c.url === null), "only a removed page has no url").refine((c) => c.url !== null || c.pluginFingerprint === null, "a removed page has no plugin fingerprint").refine((c) => c.url === null === (c.title === null) && c.url === null === (c.summary === null), "a live page has a title and a summary, a removed one neither");
|
|
9453
|
+
var buildSearchFeedSchema = object({
|
|
9454
|
+
base: number2().int().nonnegative().nullable(),
|
|
9455
|
+
changes: array(pageChangeSchema).max(500000),
|
|
9456
|
+
feedUrl: string2().max(2048).nullable(),
|
|
9457
|
+
indexNowKey: string2().regex(/^[A-Za-z0-9-]{8,128}$/).nullable()
|
|
9458
|
+
}).strict();
|
|
9436
9459
|
// ../shared/src/session-cookie.ts
|
|
9437
9460
|
var SESSION_ENTRY = {
|
|
9438
9461
|
visitorId: "vid",
|
|
@@ -9628,6 +9651,7 @@ var manifestSchema = object({
|
|
|
9628
9651
|
var RESERVED_ROOT_FILES = new Set([
|
|
9629
9652
|
"robots.txt",
|
|
9630
9653
|
"sitemap.xml",
|
|
9654
|
+
"feed.xml",
|
|
9631
9655
|
"routing-manifest.json",
|
|
9632
9656
|
"cdn_manifest.json",
|
|
9633
9657
|
"render-deps.json"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caelo-cms/provisioning",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"description": "Pulumi-driven provisioning for Caelo CMS — `bunx @caelo-cms/provisioning --provider <self-hosted|gcp|aws|azure>` brings up a TLS-served install with Postgres + storage + secrets manager + the admin + the API gateway.",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prepublishOnly": "tsc -b --force && bun build ../platform-updater/src/agent-db.ts --target=bun --outfile=dist/agent-db.js && tsc --project stacks/gcp/tsconfig.json && tsc --project stacks/gcp-firebase/tsconfig.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@caelo-cms/shared": "^0.12.
|
|
43
|
+
"@caelo-cms/shared": "^0.12.10",
|
|
44
44
|
"@clack/prompts": "1.9.0",
|
|
45
45
|
"@pulumi/command": "^1",
|
|
46
46
|
"@pulumi/gcp": "^10",
|