@protobase/config 0.58.6 → 0.58.8

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 +59 -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.8",
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.8"
35
35
  }
36
36
  }
package/schema.json CHANGED
@@ -2155,6 +2155,65 @@
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
+ ]
2196
+ },
2197
+ "guardedSchemas": {
2198
+ "description": "Schemas the other system that made the user table keeps its sign-in data in, such as `['auth']` for Supabase Auth's\nidentities, sessions, refresh tokens and two-factor secrets: every table in them, today's or one added later,\ncounts among the store's tables. Name only a schema that holds none of the app's own tables.",
2199
+ "anyOf": [
2200
+ {
2201
+ "type": "array",
2202
+ "items": {
2203
+ "anyOf": [
2204
+ {
2205
+ "type": "string"
2206
+ },
2207
+ {
2208
+ "$ref": "#/definitions/EnvValue"
2209
+ }
2210
+ ]
2211
+ }
2212
+ },
2213
+ {
2214
+ "$ref": "#/definitions/EnvValue"
2215
+ }
2216
+ ]
2158
2217
  }
2159
2218
  },
2160
2219
  "additionalProperties": false