@protobase/config 0.103.0 → 0.103.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/schema.json +21 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/config",
3
- "version": "0.103.0",
3
+ "version": "0.103.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.103.0"
34
+ "@protobase/server": "0.103.1"
35
35
  }
36
36
  }
package/schema.json CHANGED
@@ -1936,7 +1936,7 @@
1936
1936
  ]
1937
1937
  },
1938
1938
  "signUp": {
1939
- "description": "Open sign-up: anyone makes their own account from the sign-in page, with `role`, after proving their address with\nan emailed code. Off by default, so accounts come only from the host, an admin, an invitation or a sign-in provider.\nNeeds a mailer: without one it is not offered. `role` is one of `roles` and never `admin`; give it the least\na stranger may hold. Not with `organizations`, whose people come from invitations.",
1939
+ "description": "Open sign-up: anyone makes their own account from the sign-in page, with `role`, after proving their address with\nan emailed code. Off by default, so accounts come only from the host, an admin, an invitation or a sign-in provider.\nNeeds a mailer: without one it is not offered. `role` is one of `roles` and never `admin`; give it the least\na stranger may hold. Not with `organizations`, whose people come from invitations. `domains`, for example\n`['example.com']`, limits it to addresses there (subdomains count); `PROTOBASE_SIGN_UP_DOMAINS`, when set, replaces\nit. An empty list leaves open sign-up off.",
1940
1940
  "anyOf": [
1941
1941
  {
1942
1942
  "type": "object",
@@ -1950,6 +1950,26 @@
1950
1950
  "$ref": "#/definitions/EnvValue"
1951
1951
  }
1952
1952
  ]
1953
+ },
1954
+ "domains": {
1955
+ "anyOf": [
1956
+ {
1957
+ "type": "array",
1958
+ "items": {
1959
+ "anyOf": [
1960
+ {
1961
+ "type": "string"
1962
+ },
1963
+ {
1964
+ "$ref": "#/definitions/EnvValue"
1965
+ }
1966
+ ]
1967
+ }
1968
+ },
1969
+ {
1970
+ "$ref": "#/definitions/EnvValue"
1971
+ }
1972
+ ]
1953
1973
  }
1954
1974
  },
1955
1975
  "required": [