@protobase/config 0.58.6 → 0.58.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/schema.json +38 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/config",
3
- "version": "0.58.6",
3
+ "version": "0.58.7",
4
4
  "description": "defineConfig and the types of a Protobase project's protobase.config.ts, and the JSON Schema of protobase.config.json.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -31,6 +31,6 @@
31
31
  "access": "public"
32
32
  },
33
33
  "peerDependencies": {
34
- "@protobase/server": "0.58.6"
34
+ "@protobase/server": "0.58.7"
35
35
  }
36
36
  }
package/schema.json CHANGED
@@ -2155,6 +2155,44 @@
2155
2155
  "$ref": "#/definitions/EnvValue"
2156
2156
  }
2157
2157
  ]
2158
+ },
2159
+ "keyTable": {
2160
+ "description": "The table that holds the user ids, when `table` is a view over another system's user table, such as\n`{ schema: 'auth', table: 'users' }` under a view over Supabase's `auth.users`: the store's migrations then make\nnothing of the user table, which the app's own migration makes, and every foreign key points at this table.",
2161
+ "anyOf": [
2162
+ {
2163
+ "type": "object",
2164
+ "properties": {
2165
+ "schema": {
2166
+ "anyOf": [
2167
+ {
2168
+ "type": "string"
2169
+ },
2170
+ {
2171
+ "$ref": "#/definitions/EnvValue"
2172
+ }
2173
+ ]
2174
+ },
2175
+ "table": {
2176
+ "anyOf": [
2177
+ {
2178
+ "type": "string"
2179
+ },
2180
+ {
2181
+ "$ref": "#/definitions/EnvValue"
2182
+ }
2183
+ ]
2184
+ }
2185
+ },
2186
+ "required": [
2187
+ "schema",
2188
+ "table"
2189
+ ],
2190
+ "additionalProperties": false
2191
+ },
2192
+ {
2193
+ "$ref": "#/definitions/EnvValue"
2194
+ }
2195
+ ]
2158
2196
  }
2159
2197
  },
2160
2198
  "additionalProperties": false