@squiz/render-runtime-lib 1.2.1-alpha.81 → 1.2.1-alpha.82

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.
@@ -0,0 +1,23 @@
1
+ -- CreateTable
2
+ CREATE TABLE "component_set" (
3
+ "web_path" VARCHAR(128) NOT NULL,
4
+ "display_name" VARCHAR(128) NOT NULL,
5
+ "description" VARCHAR,
6
+ "env_vars" JSONB,
7
+ "headers" JSONB,
8
+
9
+ CONSTRAINT "component_set_pkey" PRIMARY KEY ("web_path")
10
+ );
11
+
12
+ -- CreateTable
13
+ CREATE TABLE "component_set_component_version" (
14
+ "component_set_web_path" VARCHAR(128) NOT NULL,
15
+ "component_name" VARCHAR(128) NOT NULL,
16
+ "component_version" VARCHAR(128) NOT NULL,
17
+
18
+ CONSTRAINT "component_set_component_version_pkey" PRIMARY KEY ("component_set_web_path", "component_name", "component_version")
19
+ );
20
+
21
+ -- AddForeignKey
22
+ ALTER TABLE "component_set_component_version" ADD CONSTRAINT "component_set_web_path_fkey" FOREIGN KEY ("component_set_web_path") REFERENCES "component_set"("web_path") ON DELETE CASCADE ON UPDATE CASCADE;
23
+ ALTER TABLE "component_set_component_version" ADD CONSTRAINT "component_version_componet_name_version_fkey" FOREIGN KEY ("component_name", "component_version") REFERENCES "component_version"("component_name", "version") ON DELETE CASCADE ON UPDATE CASCADE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/render-runtime-lib",
3
- "version": "1.2.1-alpha.81",
3
+ "version": "1.2.1-alpha.82",
4
4
  "description": "Package of rendering utilities for components",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -9,8 +9,8 @@
9
9
  "lib": "lib"
10
10
  },
11
11
  "dependencies": {
12
- "@squiz/component-db-lib": "^1.2.1-alpha.81",
13
- "@squiz/component-lib": "^1.2.1-alpha.81",
12
+ "@squiz/component-db-lib": "^1.2.1-alpha.82",
13
+ "@squiz/component-lib": "^1.2.1-alpha.82",
14
14
  "bunyan": "1.8.15",
15
15
  "compression": "1.7.4",
16
16
  "dotenv": "16.0.1",
@@ -52,5 +52,5 @@
52
52
  "lint": "eslint ./src --ext .ts",
53
53
  "compile": "node ./build.js && tsc"
54
54
  },
55
- "gitHead": "3c9d87d3ece04cdcfc25558d5bfec9fc418eb424"
55
+ "gitHead": "62e0cec2f8a47f535953f0e8691f405f17e0fb96"
56
56
  }