@protobase/config 0.66.16 → 0.67.1
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/config.d.ts +5 -0
- package/package.json +2 -2
- package/schema.json +11 -0
package/dist/config.d.ts
CHANGED
|
@@ -96,6 +96,11 @@ export type ProtobaseConfig = AppKeys & ApiOptionKeys & {
|
|
|
96
96
|
calls?: CallsOptions;
|
|
97
97
|
/** The app's iOS and Android build (see `MobileConfig`). */
|
|
98
98
|
mobile?: MobileConfig;
|
|
99
|
+
/**
|
|
100
|
+
* `true` keeps the tables the app's users add in its own database and serves each one like a resource of the config;
|
|
101
|
+
* `protobase migration` writes the schemas they need. Off by default, and refused together with organizations.
|
|
102
|
+
*/
|
|
103
|
+
userTables?: boolean;
|
|
99
104
|
};
|
|
100
105
|
/**
|
|
101
106
|
* Which command reads the config: `dev`, `build`, `serve` (also a worker and the serve runtime's `create-admin`), or `tool`, any
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.67.1",
|
|
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.
|
|
34
|
+
"@protobase/server": "0.67.1"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/schema.json
CHANGED
|
@@ -1011,6 +1011,17 @@
|
|
|
1011
1011
|
"$ref": "#/definitions/EnvValue"
|
|
1012
1012
|
}
|
|
1013
1013
|
]
|
|
1014
|
+
},
|
|
1015
|
+
"userTables": {
|
|
1016
|
+
"description": "`true` keeps the tables the app's users add in its own database and serves each one like a resource of the config;\n`protobase migration` writes the schemas they need. Off by default, and refused together with organizations.",
|
|
1017
|
+
"anyOf": [
|
|
1018
|
+
{
|
|
1019
|
+
"type": "boolean"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"$ref": "#/definitions/EnvValue"
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
1014
1025
|
}
|
|
1015
1026
|
},
|
|
1016
1027
|
"additionalProperties": false,
|