@protobase/config 0.123.7 → 0.124.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 +110 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/config",
3
- "version": "0.123.7",
3
+ "version": "0.124.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.123.7"
34
+ "@protobase/server": "0.124.1"
35
35
  }
36
36
  }
package/schema.json CHANGED
@@ -1886,7 +1886,7 @@
1886
1886
  "type": "object"
1887
1887
  },
1888
1888
  "personalMail": {
1889
- "description": "The mail providers people may link their own mailbox with, from the account page, for the app's functions to send\nmail from it (`context.personalMail`), such as `['gmail']`. Each links through its sign-in provider, which\n`socialProviders` must have: Gmail through `google`. Needs `encryptOAuthTokens`. Default none.",
1889
+ "description": "The mail providers people may link their own mailbox with, from the account page, for the app's functions to send\nmail from it (`context.personalMail`), such as `['gmail']`. Each links through its sign-in provider, which\n`socialProviders` must have: Gmail through `google`. An entry may add optional scopes the provider offers for more\nabilities, such as `{ provider: 'gmail', scopes: [gmailSettingsScope] }`, with which the link reads the mailbox's\nsend-as addresses and whether Gmail sends as each. Needs `encryptOAuthTokens`. Default none.",
1890
1890
  "anyOf": [
1891
1891
  {
1892
1892
  "type": "array",
@@ -1895,6 +1895,45 @@
1895
1895
  {
1896
1896
  "const": "gmail"
1897
1897
  },
1898
+ {
1899
+ "type": "object",
1900
+ "properties": {
1901
+ "provider": {
1902
+ "anyOf": [
1903
+ {
1904
+ "const": "gmail"
1905
+ },
1906
+ {
1907
+ "$ref": "#/definitions/EnvValue"
1908
+ }
1909
+ ]
1910
+ },
1911
+ "scopes": {
1912
+ "anyOf": [
1913
+ {
1914
+ "type": "array",
1915
+ "items": {
1916
+ "anyOf": [
1917
+ {
1918
+ "type": "string"
1919
+ },
1920
+ {
1921
+ "$ref": "#/definitions/EnvValue"
1922
+ }
1923
+ ]
1924
+ }
1925
+ },
1926
+ {
1927
+ "$ref": "#/definitions/EnvValue"
1928
+ }
1929
+ ]
1930
+ }
1931
+ },
1932
+ "required": [
1933
+ "provider"
1934
+ ],
1935
+ "additionalProperties": false
1936
+ },
1898
1937
  {
1899
1938
  "$ref": "#/definitions/EnvValue"
1900
1939
  }
@@ -4696,6 +4735,76 @@
4696
4735
  "$ref": "#/definitions/EnvValue"
4697
4736
  }
4698
4737
  ]
4738
+ },
4739
+ "connection_id": {
4740
+ "anyOf": [
4741
+ {
4742
+ "type": "string"
4743
+ },
4744
+ {
4745
+ "$ref": "#/definitions/EnvValue"
4746
+ }
4747
+ ]
4748
+ },
4749
+ "address_key": {
4750
+ "anyOf": [
4751
+ {
4752
+ "type": "string"
4753
+ },
4754
+ {
4755
+ "$ref": "#/definitions/EnvValue"
4756
+ }
4757
+ ]
4758
+ },
4759
+ "typed_at": {
4760
+ "anyOf": [
4761
+ {
4762
+ "type": "string"
4763
+ },
4764
+ {
4765
+ "$ref": "#/definitions/EnvValue"
4766
+ }
4767
+ ]
4768
+ },
4769
+ "listed_at": {
4770
+ "anyOf": [
4771
+ {
4772
+ "type": "string"
4773
+ },
4774
+ {
4775
+ "$ref": "#/definitions/EnvValue"
4776
+ }
4777
+ ]
4778
+ },
4779
+ "provider_state": {
4780
+ "anyOf": [
4781
+ {
4782
+ "type": "string"
4783
+ },
4784
+ {
4785
+ "$ref": "#/definitions/EnvValue"
4786
+ }
4787
+ ]
4788
+ },
4789
+ "provider_state_read_at": {
4790
+ "anyOf": [
4791
+ {
4792
+ "type": "string"
4793
+ },
4794
+ {
4795
+ "$ref": "#/definitions/EnvValue"
4796
+ }
4797
+ ]
4798
+ },
4799
+ "removed_at": {
4800
+ "anyOf": [
4801
+ {
4802
+ "type": "string"
4803
+ },
4804
+ {
4805
+ "$ref": "#/definitions/EnvValue"
4806
+ }
4807
+ ]
4699
4808
  }
4700
4809
  },
4701
4810
  "additionalProperties": false