@takeshape/schema 8.45.2 → 8.48.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 (70) hide show
  1. package/es/flatten-templates.js +1 -1
  2. package/es/migration/index.js +6 -1
  3. package/es/migration/to/v3.12.0.js +10 -0
  4. package/es/project-schema/index.js +1 -0
  5. package/es/project-schema/v3.12.0.js +1 -0
  6. package/es/refs.js +5 -1
  7. package/es/schemas/index.js +4 -3
  8. package/es/schemas/index.ts +4 -2
  9. package/es/schemas/project-schema/v3.12.0.json +2143 -0
  10. package/es/schemas/project-schema.json +3 -1
  11. package/es/template-shapes/templates.js +6 -3
  12. package/es/template-shapes/where.js +39 -30
  13. package/es/types/utils.js +2 -1
  14. package/examples/latest/blog-schema.json +1 -1
  15. package/examples/latest/brewery-schema.json +1 -1
  16. package/examples/latest/complex-project-schema.json +1 -1
  17. package/examples/latest/fabric-ecommerce.json +1 -1
  18. package/examples/latest/frank-and-fred-schema.json +1 -1
  19. package/examples/latest/massive-schema.json +1 -1
  20. package/examples/latest/mill-components-schema.json +1 -1
  21. package/examples/latest/pet-oneof-array.json +1 -1
  22. package/examples/latest/post-schema.json +1 -1
  23. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  24. package/examples/latest/real-world-schema.json +1 -1
  25. package/examples/latest/recursive-repeater-schema.json +1 -1
  26. package/examples/latest/recursive-schema.json +1 -1
  27. package/examples/latest/rick-and-morty-ast.json +1 -1
  28. package/examples/latest/rick-and-morty-graphql.json +1 -1
  29. package/examples/latest/rick-and-morty-rest.json +1 -1
  30. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  31. package/examples/latest/shape-books-v3_2_0.json +1 -1
  32. package/examples/latest/shape-books.json +1 -1
  33. package/examples/latest/shopify-lookbook.json +1 -1
  34. package/examples/latest/shopify-store-with-widget.json +1 -1
  35. package/examples/latest/stripe-starter-resolved.json +1 -1
  36. package/examples/latest/user-schema-no-required.json +1 -1
  37. package/examples/latest/user-schema-with-defaults.json +1 -1
  38. package/lib/flatten-templates.js +1 -1
  39. package/lib/migration/index.d.ts.map +1 -1
  40. package/lib/migration/index.js +6 -0
  41. package/lib/migration/to/v3.12.0.d.ts +4 -0
  42. package/lib/migration/to/v3.12.0.d.ts.map +1 -0
  43. package/lib/migration/to/v3.12.0.js +18 -0
  44. package/lib/project-schema/index.d.ts +3 -1
  45. package/lib/project-schema/index.d.ts.map +1 -1
  46. package/lib/project-schema/index.js +27 -14
  47. package/lib/project-schema/latest.d.ts +7 -3
  48. package/lib/project-schema/latest.d.ts.map +1 -1
  49. package/lib/project-schema/v3.12.0.d.ts +1215 -0
  50. package/lib/project-schema/v3.12.0.d.ts.map +1 -0
  51. package/lib/project-schema/v3.12.0.js +5 -0
  52. package/lib/refs.d.ts.map +1 -1
  53. package/lib/refs.js +5 -1
  54. package/lib/schemas/index.d.ts +375 -375
  55. package/lib/schemas/index.d.ts.map +1 -1
  56. package/lib/schemas/index.js +18 -16
  57. package/lib/schemas/index.ts +4 -2
  58. package/lib/schemas/project-schema/v3.12.0.json +2143 -0
  59. package/lib/schemas/project-schema.json +3 -1
  60. package/lib/template-shapes/templates.d.ts.map +1 -1
  61. package/lib/template-shapes/templates.js +5 -2
  62. package/lib/template-shapes/where.d.ts +2 -2
  63. package/lib/template-shapes/where.d.ts.map +1 -1
  64. package/lib/template-shapes/where.js +39 -28
  65. package/lib/types/types.d.ts +2 -2
  66. package/lib/types/types.d.ts.map +1 -1
  67. package/lib/types/utils.d.ts +1 -0
  68. package/lib/types/utils.d.ts.map +1 -1
  69. package/lib/types/utils.js +4 -2
  70. package/package.json +6 -4
@@ -1,10 +1,9 @@
1
- export declare const CURRENT_SCHEMA_VERSION = "3.11.0";
1
+ export declare const CURRENT_SCHEMA_VERSION = "3.12.0";
2
2
  export { default as anyProjectSchema } from './project-schema.json';
3
- export { default as latestSchemaJson } from './project-schema/v3.11.0.json';
3
+ export { default as latestSchemaJson } from './project-schema/v3.12.0.json';
4
4
  export declare const allProjectSchemas: ({
5
5
  $schema: string;
6
6
  $id: string;
7
- title: string;
8
7
  definitions: {
9
8
  schemaArray: {
10
9
  title: string;
@@ -88,7 +87,7 @@ export declare const allProjectSchemas: ({
88
87
  type: string;
89
88
  properties: {
90
89
  "@ref": {
91
- $ref: string;
90
+ type: string;
92
91
  };
93
92
  };
94
93
  required: string[];
@@ -98,7 +97,7 @@ export declare const allProjectSchemas: ({
98
97
  type: string;
99
98
  properties: {
100
99
  $ref: {
101
- $ref: string;
100
+ type: string;
102
101
  };
103
102
  };
104
103
  required: string[];
@@ -414,6 +413,7 @@ export declare const allProjectSchemas: ({
414
413
  properties: {
415
414
  contentType: {
416
415
  type: string;
416
+ enum: string[];
417
417
  };
418
418
  allowReserved: {
419
419
  description: string;
@@ -885,7 +885,6 @@ export declare const allProjectSchemas: ({
885
885
  service: {
886
886
  type: string;
887
887
  description: string;
888
- enum: string[];
889
888
  };
890
889
  options: {
891
890
  title: string;
@@ -1227,10 +1226,6 @@ export declare const allProjectSchemas: ({
1227
1226
  $ref: string;
1228
1227
  }[];
1229
1228
  };
1230
- ref: {
1231
- title: string;
1232
- type: string;
1233
- };
1234
1229
  query: {
1235
1230
  title: string;
1236
1231
  type: string;
@@ -1262,6 +1257,9 @@ export declare const allProjectSchemas: ({
1262
1257
  type: string;
1263
1258
  format: string;
1264
1259
  };
1260
+ $comment: {
1261
+ type: string;
1262
+ };
1265
1263
  title: {
1266
1264
  type: string;
1267
1265
  };
@@ -1273,6 +1271,9 @@ export declare const allProjectSchemas: ({
1273
1271
  type: string;
1274
1272
  default: boolean;
1275
1273
  };
1274
+ examples: {
1275
+ type: string;
1276
+ };
1276
1277
  multipleOf: {
1277
1278
  type: string;
1278
1279
  exclusiveMinimum: number;
@@ -1299,9 +1300,6 @@ export declare const allProjectSchemas: ({
1299
1300
  type: string;
1300
1301
  format: string;
1301
1302
  };
1302
- additionalItems: {
1303
- $ref: string;
1304
- };
1305
1303
  items: {
1306
1304
  $ref: string;
1307
1305
  };
@@ -1315,9 +1313,6 @@ export declare const allProjectSchemas: ({
1315
1313
  type: string;
1316
1314
  default: boolean;
1317
1315
  };
1318
- contains: {
1319
- $ref: string;
1320
- };
1321
1316
  maxProperties: {
1322
1317
  $ref: string;
1323
1318
  };
@@ -1327,22 +1322,6 @@ export declare const allProjectSchemas: ({
1327
1322
  required: {
1328
1323
  $ref: string;
1329
1324
  };
1330
- additionalProperties: {
1331
- oneOf: ({
1332
- $ref: string;
1333
- enum?: undefined;
1334
- } | {
1335
- enum: boolean[];
1336
- $ref?: undefined;
1337
- })[];
1338
- };
1339
- definitions: {
1340
- type: string;
1341
- additionalProperties: {
1342
- $ref: string;
1343
- };
1344
- default: {};
1345
- };
1346
1325
  properties: {
1347
1326
  type: string;
1348
1327
  additionalProperties: {
@@ -1357,31 +1336,11 @@ export declare const allProjectSchemas: ({
1357
1336
  uniqueItems: boolean;
1358
1337
  };
1359
1338
  type: {
1360
- anyOf: ({
1361
- $ref: string;
1362
- type?: undefined;
1363
- items?: undefined;
1364
- minItems?: undefined;
1365
- uniqueItems?: undefined;
1366
- } | {
1367
- type: string;
1368
- items: {
1369
- $ref: string;
1370
- };
1371
- minItems: number;
1372
- uniqueItems: boolean;
1373
- $ref?: undefined;
1374
- })[];
1339
+ $ref: string;
1375
1340
  };
1376
1341
  format: {
1377
1342
  type: string;
1378
1343
  };
1379
- contentMediaType: {
1380
- type: string;
1381
- };
1382
- contentEncoding: {
1383
- type: string;
1384
- };
1385
1344
  allOf: {
1386
1345
  $ref: string;
1387
1346
  };
@@ -1397,9 +1356,6 @@ export declare const allProjectSchemas: ({
1397
1356
  "@sensitive": {
1398
1357
  type: string;
1399
1358
  };
1400
- "@draftjs": {
1401
- type: string;
1402
- };
1403
1359
  "@l10n": {
1404
1360
  type: string;
1405
1361
  };
@@ -1435,7 +1391,7 @@ export declare const allProjectSchemas: ({
1435
1391
  $ref: string;
1436
1392
  };
1437
1393
  "@ref": {
1438
- $ref: string;
1394
+ type: string;
1439
1395
  };
1440
1396
  "@derivedFrom": {
1441
1397
  type: string;
@@ -1448,11 +1404,6 @@ export declare const allProjectSchemas: ({
1448
1404
  description: string;
1449
1405
  type: string;
1450
1406
  properties: {
1451
- name: {
1452
- type: string;
1453
- pattern: string;
1454
- description: string;
1455
- };
1456
1407
  id: {
1457
1408
  type: string;
1458
1409
  pattern: string;
@@ -1481,6 +1432,9 @@ export declare const allProjectSchemas: ({
1481
1432
  workflow: {
1482
1433
  type: string;
1483
1434
  };
1435
+ override: {
1436
+ enum: string[];
1437
+ };
1484
1438
  schema: {
1485
1439
  $ref: string;
1486
1440
  };
@@ -1592,50 +1546,27 @@ export declare const allProjectSchemas: ({
1592
1546
  title: string;
1593
1547
  description: string;
1594
1548
  type: string;
1595
- properties: {
1596
- type: {
1597
- type: string;
1598
- enum: string[];
1599
- };
1600
- };
1601
- additionalProperties: boolean;
1602
- required: string[];
1603
1549
  };
1604
1550
  searchParamsAuthentication: {
1605
1551
  title: string;
1606
1552
  type: string;
1607
- properties: {
1608
- type: {
1609
- type: string;
1610
- enum: string[];
1611
- };
1612
- params: {
1613
- type: string;
1614
- items: {
1615
- properties: {
1616
- name: {
1617
- type: string;
1618
- };
1619
- value: {
1620
- type: string;
1621
- };
1622
- };
1623
- required: string[];
1624
- additionalProperties: boolean;
1553
+ items: {
1554
+ properties: {
1555
+ name: {
1556
+ type: string;
1557
+ };
1558
+ value: {
1559
+ type: string;
1625
1560
  };
1626
1561
  };
1562
+ required: string[];
1563
+ additionalProperties: boolean;
1627
1564
  };
1628
- additionalProperties: boolean;
1629
- required: string[];
1630
1565
  };
1631
1566
  bearerAuthentication: {
1632
1567
  title: string;
1633
1568
  type: string;
1634
1569
  properties: {
1635
- type: {
1636
- type: string;
1637
- enum: string[];
1638
- };
1639
1570
  token: {
1640
1571
  type: string;
1641
1572
  };
@@ -1647,16 +1578,11 @@ export declare const allProjectSchemas: ({
1647
1578
  };
1648
1579
  };
1649
1580
  additionalProperties: boolean;
1650
- required: string[];
1651
1581
  };
1652
1582
  oauth2BearerAuthentication: {
1653
1583
  title: string;
1654
1584
  type: string;
1655
1585
  properties: {
1656
- type: {
1657
- type: string;
1658
- enum: string[];
1659
- };
1660
1586
  token: {
1661
1587
  type: string;
1662
1588
  };
@@ -1674,16 +1600,11 @@ export declare const allProjectSchemas: ({
1674
1600
  };
1675
1601
  };
1676
1602
  additionalProperties: boolean;
1677
- required: string[];
1678
1603
  };
1679
1604
  basicAuthentication: {
1680
1605
  title: string;
1681
1606
  type: string;
1682
1607
  properties: {
1683
- type: {
1684
- type: string;
1685
- enum: string[];
1686
- };
1687
1608
  username: {
1688
1609
  type: string;
1689
1610
  };
@@ -1695,16 +1616,11 @@ export declare const allProjectSchemas: ({
1695
1616
  };
1696
1617
  };
1697
1618
  additionalProperties: boolean;
1698
- required: string[];
1699
1619
  };
1700
1620
  oauth2Authentication: {
1701
1621
  title: string;
1702
1622
  type: string;
1703
1623
  properties: {
1704
- type: {
1705
- type: string;
1706
- enum: string[];
1707
- };
1708
1624
  grantType: {
1709
1625
  type: string;
1710
1626
  enum: string[];
@@ -1741,16 +1657,11 @@ export declare const allProjectSchemas: ({
1741
1657
  };
1742
1658
  };
1743
1659
  additionalProperties: boolean;
1744
- required: string[];
1745
1660
  };
1746
1661
  awsAuthentication: {
1747
1662
  title: string;
1748
1663
  type: string;
1749
1664
  properties: {
1750
- type: {
1751
- type: string;
1752
- enum: string[];
1753
- };
1754
1665
  awsAccessKeyId: {
1755
1666
  type: string;
1756
1667
  };
@@ -1759,7 +1670,6 @@ export declare const allProjectSchemas: ({
1759
1670
  };
1760
1671
  };
1761
1672
  additionalProperties: boolean;
1762
- required: string[];
1763
1673
  };
1764
1674
  serviceAuthentication: {
1765
1675
  title: string;
@@ -1818,10 +1728,6 @@ export declare const allProjectSchemas: ({
1818
1728
  title: string;
1819
1729
  type: string;
1820
1730
  properties: {
1821
- id: {
1822
- type: string;
1823
- description: string;
1824
- };
1825
1731
  title: {
1826
1732
  type: string;
1827
1733
  description: string;
@@ -1962,84 +1868,232 @@ export declare const allProjectSchemas: ({
1962
1868
  };
1963
1869
  required: string[];
1964
1870
  };
1965
- };
1966
- properties: {
1967
- $schema: {
1968
- type: string;
1969
- };
1970
- version: {
1971
- type: string;
1972
- description: string;
1973
- };
1974
- apiVersion: {
1975
- type: string;
1976
- description: string;
1977
- };
1978
- schemaVersion: {
1979
- type: string;
1980
- enum: string[];
1981
- description: string;
1982
- };
1983
- projectId: {
1984
- type: string;
1985
- description: string;
1986
- };
1987
- author: {
1988
- type: string;
1989
- description: string;
1990
- };
1991
- created: {
1992
- type: string;
1993
- format: string;
1994
- description: string;
1995
- };
1996
- updated: {
1997
- type: string;
1998
- format: string;
1999
- description: string;
2000
- };
2001
- deactivated: {
2002
- type: string;
1871
+ layerSchema: {
1872
+ title: string;
1873
+ properties: {
1874
+ layerId: {
1875
+ type: string;
1876
+ };
1877
+ schemaVersion: {
1878
+ type: string;
1879
+ enum: string[];
1880
+ description: string;
1881
+ };
1882
+ queries: {
1883
+ $ref: string;
1884
+ description: string;
1885
+ };
1886
+ mutations: {
1887
+ $ref: string;
1888
+ description: string;
1889
+ };
1890
+ shapes: {
1891
+ $ref: string;
1892
+ description: string;
1893
+ };
1894
+ indexedShapes: {
1895
+ $ref: string;
1896
+ description: string;
1897
+ };
1898
+ forms: {
1899
+ $ref: string;
1900
+ description: string;
1901
+ };
1902
+ workflows: {
1903
+ $ref: string;
1904
+ description: string;
1905
+ };
1906
+ };
1907
+ additionalProperties: boolean;
1908
+ required: string[];
2003
1909
  };
2004
- defaultLocale: {
1910
+ layerMap: {
1911
+ title: string;
2005
1912
  type: string;
2006
- minLength: number;
2007
- pattern: string;
2008
- description: string;
1913
+ patternProperties: {
1914
+ "[0-9A-Za-z_-]+": {
1915
+ $ref: string;
1916
+ };
1917
+ };
2009
1918
  };
2010
- locales: {
1919
+ layerConfig: {
1920
+ title: string;
2011
1921
  type: string;
2012
- minItems: number;
2013
- items: {
2014
- type: string;
2015
- minLength: number;
2016
- pattern: string;
1922
+ properties: {
1923
+ id: {
1924
+ type: string;
1925
+ };
1926
+ visibility: {
1927
+ type: string;
1928
+ items: {
1929
+ type: string;
1930
+ uniqueItems: boolean;
1931
+ };
1932
+ };
1933
+ namespace: {
1934
+ type: string;
1935
+ };
2017
1936
  };
1937
+ required: string[];
1938
+ additionalProperties: boolean;
2018
1939
  };
2019
- queries: {
2020
- $ref: string;
2021
- description: string;
2022
- };
2023
- mutations: {
2024
- $ref: string;
1940
+ flattenedSchema: {
1941
+ title: string;
1942
+ properties: {
1943
+ $schema: {
1944
+ type: string;
1945
+ };
1946
+ version: {
1947
+ type: string;
1948
+ description: string;
1949
+ };
1950
+ schemaVersion: {
1951
+ type: string;
1952
+ enum: string[];
1953
+ description: string;
1954
+ };
1955
+ projectId: {
1956
+ type: string;
1957
+ description: string;
1958
+ };
1959
+ author: {
1960
+ type: string;
1961
+ description: string;
1962
+ };
1963
+ created: {
1964
+ type: string;
1965
+ format: string;
1966
+ description: string;
1967
+ };
1968
+ updated: {
1969
+ type: string;
1970
+ format: string;
1971
+ description: string;
1972
+ };
1973
+ deactivated: {
1974
+ type: string;
1975
+ };
1976
+ defaultLocale: {
1977
+ type: string;
1978
+ minLength: number;
1979
+ pattern: string;
1980
+ description: string;
1981
+ };
1982
+ locales: {
1983
+ type: string;
1984
+ minItems: number;
1985
+ items: {
1986
+ type: string;
1987
+ minLength: number;
1988
+ pattern: string;
1989
+ };
1990
+ };
1991
+ serviceLayers: {
1992
+ $ref: string;
1993
+ };
1994
+ queries: {
1995
+ $ref: string;
1996
+ description: string;
1997
+ };
1998
+ mutations: {
1999
+ $ref: string;
2000
+ description: string;
2001
+ };
2002
+ shapes: {
2003
+ $ref: string;
2004
+ description: string;
2005
+ };
2006
+ indexedShapes: {
2007
+ $ref: string;
2008
+ description: string;
2009
+ };
2010
+ forms: {
2011
+ $ref: string;
2012
+ description: string;
2013
+ };
2014
+ workflows: {
2015
+ $ref: string;
2016
+ description: string;
2017
+ };
2018
+ dataKey: {
2019
+ type: string;
2020
+ };
2021
+ services: {
2022
+ $ref: string;
2023
+ description: string;
2024
+ };
2025
+ };
2026
+ additionalProperties: boolean;
2027
+ required: string[];
2028
+ };
2029
+ };
2030
+ title: string;
2031
+ type: string;
2032
+ properties: {
2033
+ $schema: {
2034
+ type: string;
2035
+ };
2036
+ version: {
2037
+ type: string;
2025
2038
  description: string;
2026
2039
  };
2027
- shapes: {
2028
- $ref: string;
2040
+ apiVersion: {
2041
+ type: string;
2029
2042
  description: string;
2030
2043
  };
2031
- indexedShapes: {
2032
- $ref: string;
2044
+ schemaVersion: {
2045
+ type: string;
2046
+ enum: string[];
2033
2047
  description: string;
2034
2048
  };
2035
- forms: {
2036
- $ref: string;
2049
+ projectId: {
2050
+ type: string;
2037
2051
  description: string;
2038
2052
  };
2039
- workflows: {
2040
- $ref: string;
2053
+ author: {
2054
+ type: string;
2041
2055
  description: string;
2042
2056
  };
2057
+ created: {
2058
+ type: string;
2059
+ format: string;
2060
+ description: string;
2061
+ };
2062
+ updated: {
2063
+ type: string;
2064
+ format: string;
2065
+ description: string;
2066
+ };
2067
+ deactivated: {
2068
+ type: string;
2069
+ };
2070
+ defaultLocale: {
2071
+ type: string;
2072
+ minLength: number;
2073
+ pattern: string;
2074
+ description: string;
2075
+ };
2076
+ locales: {
2077
+ type: string;
2078
+ minItems: number;
2079
+ items: {
2080
+ type: string;
2081
+ minLength: number;
2082
+ pattern: string;
2083
+ };
2084
+ };
2085
+ layers: {
2086
+ type: string;
2087
+ items: {
2088
+ oneOf: ({
2089
+ type: string;
2090
+ $ref?: undefined;
2091
+ } | {
2092
+ $ref: string;
2093
+ type?: undefined;
2094
+ })[];
2095
+ };
2096
+ };
2043
2097
  dataKey: {
2044
2098
  type: string;
2045
2099
  };
@@ -2053,6 +2107,7 @@ export declare const allProjectSchemas: ({
2053
2107
  } | {
2054
2108
  $schema: string;
2055
2109
  $id: string;
2110
+ title: string;
2056
2111
  definitions: {
2057
2112
  schemaArray: {
2058
2113
  title: string;
@@ -2136,7 +2191,7 @@ export declare const allProjectSchemas: ({
2136
2191
  type: string;
2137
2192
  properties: {
2138
2193
  "@ref": {
2139
- type: string;
2194
+ $ref: string;
2140
2195
  };
2141
2196
  };
2142
2197
  required: string[];
@@ -2146,7 +2201,7 @@ export declare const allProjectSchemas: ({
2146
2201
  type: string;
2147
2202
  properties: {
2148
2203
  $ref: {
2149
- type: string;
2204
+ $ref: string;
2150
2205
  };
2151
2206
  };
2152
2207
  required: string[];
@@ -2462,7 +2517,6 @@ export declare const allProjectSchemas: ({
2462
2517
  properties: {
2463
2518
  contentType: {
2464
2519
  type: string;
2465
- enum: string[];
2466
2520
  };
2467
2521
  allowReserved: {
2468
2522
  description: string;
@@ -2934,6 +2988,7 @@ export declare const allProjectSchemas: ({
2934
2988
  service: {
2935
2989
  type: string;
2936
2990
  description: string;
2991
+ enum: string[];
2937
2992
  };
2938
2993
  options: {
2939
2994
  title: string;
@@ -3275,6 +3330,10 @@ export declare const allProjectSchemas: ({
3275
3330
  $ref: string;
3276
3331
  }[];
3277
3332
  };
3333
+ ref: {
3334
+ title: string;
3335
+ type: string;
3336
+ };
3278
3337
  query: {
3279
3338
  title: string;
3280
3339
  type: string;
@@ -3306,9 +3365,6 @@ export declare const allProjectSchemas: ({
3306
3365
  type: string;
3307
3366
  format: string;
3308
3367
  };
3309
- $comment: {
3310
- type: string;
3311
- };
3312
3368
  title: {
3313
3369
  type: string;
3314
3370
  };
@@ -3320,9 +3376,6 @@ export declare const allProjectSchemas: ({
3320
3376
  type: string;
3321
3377
  default: boolean;
3322
3378
  };
3323
- examples: {
3324
- type: string;
3325
- };
3326
3379
  multipleOf: {
3327
3380
  type: string;
3328
3381
  exclusiveMinimum: number;
@@ -3349,6 +3402,9 @@ export declare const allProjectSchemas: ({
3349
3402
  type: string;
3350
3403
  format: string;
3351
3404
  };
3405
+ additionalItems: {
3406
+ $ref: string;
3407
+ };
3352
3408
  items: {
3353
3409
  $ref: string;
3354
3410
  };
@@ -3362,6 +3418,9 @@ export declare const allProjectSchemas: ({
3362
3418
  type: string;
3363
3419
  default: boolean;
3364
3420
  };
3421
+ contains: {
3422
+ $ref: string;
3423
+ };
3365
3424
  maxProperties: {
3366
3425
  $ref: string;
3367
3426
  };
@@ -3371,6 +3430,22 @@ export declare const allProjectSchemas: ({
3371
3430
  required: {
3372
3431
  $ref: string;
3373
3432
  };
3433
+ additionalProperties: {
3434
+ oneOf: ({
3435
+ $ref: string;
3436
+ enum?: undefined;
3437
+ } | {
3438
+ enum: boolean[];
3439
+ $ref?: undefined;
3440
+ })[];
3441
+ };
3442
+ definitions: {
3443
+ type: string;
3444
+ additionalProperties: {
3445
+ $ref: string;
3446
+ };
3447
+ default: {};
3448
+ };
3374
3449
  properties: {
3375
3450
  type: string;
3376
3451
  additionalProperties: {
@@ -3385,11 +3460,31 @@ export declare const allProjectSchemas: ({
3385
3460
  uniqueItems: boolean;
3386
3461
  };
3387
3462
  type: {
3388
- $ref: string;
3463
+ anyOf: ({
3464
+ $ref: string;
3465
+ type?: undefined;
3466
+ items?: undefined;
3467
+ minItems?: undefined;
3468
+ uniqueItems?: undefined;
3469
+ } | {
3470
+ type: string;
3471
+ items: {
3472
+ $ref: string;
3473
+ };
3474
+ minItems: number;
3475
+ uniqueItems: boolean;
3476
+ $ref?: undefined;
3477
+ })[];
3389
3478
  };
3390
3479
  format: {
3391
3480
  type: string;
3392
3481
  };
3482
+ contentMediaType: {
3483
+ type: string;
3484
+ };
3485
+ contentEncoding: {
3486
+ type: string;
3487
+ };
3393
3488
  allOf: {
3394
3489
  $ref: string;
3395
3490
  };
@@ -3405,6 +3500,9 @@ export declare const allProjectSchemas: ({
3405
3500
  "@sensitive": {
3406
3501
  type: string;
3407
3502
  };
3503
+ "@draftjs": {
3504
+ type: string;
3505
+ };
3408
3506
  "@l10n": {
3409
3507
  type: string;
3410
3508
  };
@@ -3440,7 +3538,7 @@ export declare const allProjectSchemas: ({
3440
3538
  $ref: string;
3441
3539
  };
3442
3540
  "@ref": {
3443
- type: string;
3541
+ $ref: string;
3444
3542
  };
3445
3543
  "@derivedFrom": {
3446
3544
  type: string;
@@ -3453,6 +3551,11 @@ export declare const allProjectSchemas: ({
3453
3551
  description: string;
3454
3552
  type: string;
3455
3553
  properties: {
3554
+ name: {
3555
+ type: string;
3556
+ pattern: string;
3557
+ description: string;
3558
+ };
3456
3559
  id: {
3457
3560
  type: string;
3458
3561
  pattern: string;
@@ -3481,9 +3584,6 @@ export declare const allProjectSchemas: ({
3481
3584
  workflow: {
3482
3585
  type: string;
3483
3586
  };
3484
- override: {
3485
- enum: string[];
3486
- };
3487
3587
  schema: {
3488
3588
  $ref: string;
3489
3589
  };
@@ -3595,27 +3695,50 @@ export declare const allProjectSchemas: ({
3595
3695
  title: string;
3596
3696
  description: string;
3597
3697
  type: string;
3698
+ properties: {
3699
+ type: {
3700
+ type: string;
3701
+ enum: string[];
3702
+ };
3703
+ };
3704
+ additionalProperties: boolean;
3705
+ required: string[];
3598
3706
  };
3599
3707
  searchParamsAuthentication: {
3600
3708
  title: string;
3601
3709
  type: string;
3602
- items: {
3603
- properties: {
3604
- name: {
3605
- type: string;
3606
- };
3607
- value: {
3608
- type: string;
3710
+ properties: {
3711
+ type: {
3712
+ type: string;
3713
+ enum: string[];
3714
+ };
3715
+ params: {
3716
+ type: string;
3717
+ items: {
3718
+ properties: {
3719
+ name: {
3720
+ type: string;
3721
+ };
3722
+ value: {
3723
+ type: string;
3724
+ };
3725
+ };
3726
+ required: string[];
3727
+ additionalProperties: boolean;
3609
3728
  };
3610
3729
  };
3611
- required: string[];
3612
- additionalProperties: boolean;
3613
3730
  };
3731
+ additionalProperties: boolean;
3732
+ required: string[];
3614
3733
  };
3615
3734
  bearerAuthentication: {
3616
3735
  title: string;
3617
3736
  type: string;
3618
3737
  properties: {
3738
+ type: {
3739
+ type: string;
3740
+ enum: string[];
3741
+ };
3619
3742
  token: {
3620
3743
  type: string;
3621
3744
  };
@@ -3627,11 +3750,16 @@ export declare const allProjectSchemas: ({
3627
3750
  };
3628
3751
  };
3629
3752
  additionalProperties: boolean;
3753
+ required: string[];
3630
3754
  };
3631
3755
  oauth2BearerAuthentication: {
3632
3756
  title: string;
3633
3757
  type: string;
3634
3758
  properties: {
3759
+ type: {
3760
+ type: string;
3761
+ enum: string[];
3762
+ };
3635
3763
  token: {
3636
3764
  type: string;
3637
3765
  };
@@ -3649,11 +3777,16 @@ export declare const allProjectSchemas: ({
3649
3777
  };
3650
3778
  };
3651
3779
  additionalProperties: boolean;
3780
+ required: string[];
3652
3781
  };
3653
3782
  basicAuthentication: {
3654
3783
  title: string;
3655
3784
  type: string;
3656
3785
  properties: {
3786
+ type: {
3787
+ type: string;
3788
+ enum: string[];
3789
+ };
3657
3790
  username: {
3658
3791
  type: string;
3659
3792
  };
@@ -3665,11 +3798,16 @@ export declare const allProjectSchemas: ({
3665
3798
  };
3666
3799
  };
3667
3800
  additionalProperties: boolean;
3801
+ required: string[];
3668
3802
  };
3669
3803
  oauth2Authentication: {
3670
3804
  title: string;
3671
3805
  type: string;
3672
3806
  properties: {
3807
+ type: {
3808
+ type: string;
3809
+ enum: string[];
3810
+ };
3673
3811
  grantType: {
3674
3812
  type: string;
3675
3813
  enum: string[];
@@ -3706,11 +3844,16 @@ export declare const allProjectSchemas: ({
3706
3844
  };
3707
3845
  };
3708
3846
  additionalProperties: boolean;
3847
+ required: string[];
3709
3848
  };
3710
3849
  awsAuthentication: {
3711
3850
  title: string;
3712
3851
  type: string;
3713
3852
  properties: {
3853
+ type: {
3854
+ type: string;
3855
+ enum: string[];
3856
+ };
3714
3857
  awsAccessKeyId: {
3715
3858
  type: string;
3716
3859
  };
@@ -3719,6 +3862,7 @@ export declare const allProjectSchemas: ({
3719
3862
  };
3720
3863
  };
3721
3864
  additionalProperties: boolean;
3865
+ required: string[];
3722
3866
  };
3723
3867
  serviceAuthentication: {
3724
3868
  title: string;
@@ -3777,6 +3921,10 @@ export declare const allProjectSchemas: ({
3777
3921
  title: string;
3778
3922
  type: string;
3779
3923
  properties: {
3924
+ id: {
3925
+ type: string;
3926
+ description: string;
3927
+ };
3780
3928
  title: {
3781
3929
  type: string;
3782
3930
  description: string;
@@ -3917,167 +4065,7 @@ export declare const allProjectSchemas: ({
3917
4065
  };
3918
4066
  required: string[];
3919
4067
  };
3920
- layerSchema: {
3921
- title: string;
3922
- properties: {
3923
- layerId: {
3924
- type: string;
3925
- };
3926
- schemaVersion: {
3927
- type: string;
3928
- enum: string[];
3929
- description: string;
3930
- };
3931
- queries: {
3932
- $ref: string;
3933
- description: string;
3934
- };
3935
- mutations: {
3936
- $ref: string;
3937
- description: string;
3938
- };
3939
- shapes: {
3940
- $ref: string;
3941
- description: string;
3942
- };
3943
- indexedShapes: {
3944
- $ref: string;
3945
- description: string;
3946
- };
3947
- forms: {
3948
- $ref: string;
3949
- description: string;
3950
- };
3951
- workflows: {
3952
- $ref: string;
3953
- description: string;
3954
- };
3955
- };
3956
- additionalProperties: boolean;
3957
- required: string[];
3958
- };
3959
- layerMap: {
3960
- title: string;
3961
- type: string;
3962
- patternProperties: {
3963
- "[0-9A-Za-z_-]+": {
3964
- $ref: string;
3965
- };
3966
- };
3967
- };
3968
- layerConfig: {
3969
- title: string;
3970
- type: string;
3971
- properties: {
3972
- id: {
3973
- type: string;
3974
- };
3975
- visibility: {
3976
- type: string;
3977
- items: {
3978
- type: string;
3979
- uniqueItems: boolean;
3980
- };
3981
- };
3982
- namespace: {
3983
- type: string;
3984
- };
3985
- };
3986
- required: string[];
3987
- additionalProperties: boolean;
3988
- };
3989
- flattenedSchema: {
3990
- title: string;
3991
- properties: {
3992
- $schema: {
3993
- type: string;
3994
- };
3995
- version: {
3996
- type: string;
3997
- description: string;
3998
- };
3999
- schemaVersion: {
4000
- type: string;
4001
- enum: string[];
4002
- description: string;
4003
- };
4004
- projectId: {
4005
- type: string;
4006
- description: string;
4007
- };
4008
- author: {
4009
- type: string;
4010
- description: string;
4011
- };
4012
- created: {
4013
- type: string;
4014
- format: string;
4015
- description: string;
4016
- };
4017
- updated: {
4018
- type: string;
4019
- format: string;
4020
- description: string;
4021
- };
4022
- deactivated: {
4023
- type: string;
4024
- };
4025
- defaultLocale: {
4026
- type: string;
4027
- minLength: number;
4028
- pattern: string;
4029
- description: string;
4030
- };
4031
- locales: {
4032
- type: string;
4033
- minItems: number;
4034
- items: {
4035
- type: string;
4036
- minLength: number;
4037
- pattern: string;
4038
- };
4039
- };
4040
- serviceLayers: {
4041
- $ref: string;
4042
- };
4043
- queries: {
4044
- $ref: string;
4045
- description: string;
4046
- };
4047
- mutations: {
4048
- $ref: string;
4049
- description: string;
4050
- };
4051
- shapes: {
4052
- $ref: string;
4053
- description: string;
4054
- };
4055
- indexedShapes: {
4056
- $ref: string;
4057
- description: string;
4058
- };
4059
- forms: {
4060
- $ref: string;
4061
- description: string;
4062
- };
4063
- workflows: {
4064
- $ref: string;
4065
- description: string;
4066
- };
4067
- dataKey: {
4068
- type: string;
4069
- };
4070
- services: {
4071
- $ref: string;
4072
- description: string;
4073
- };
4074
- };
4075
- additionalProperties: boolean;
4076
- required: string[];
4077
- };
4078
4068
  };
4079
- title: string;
4080
- type: string;
4081
4069
  properties: {
4082
4070
  $schema: {
4083
4071
  type: string;
@@ -4131,17 +4119,29 @@ export declare const allProjectSchemas: ({
4131
4119
  pattern: string;
4132
4120
  };
4133
4121
  };
4134
- layers: {
4135
- type: string;
4136
- items: {
4137
- oneOf: ({
4138
- type: string;
4139
- $ref?: undefined;
4140
- } | {
4141
- $ref: string;
4142
- type?: undefined;
4143
- })[];
4144
- };
4122
+ queries: {
4123
+ $ref: string;
4124
+ description: string;
4125
+ };
4126
+ mutations: {
4127
+ $ref: string;
4128
+ description: string;
4129
+ };
4130
+ shapes: {
4131
+ $ref: string;
4132
+ description: string;
4133
+ };
4134
+ indexedShapes: {
4135
+ $ref: string;
4136
+ description: string;
4137
+ };
4138
+ forms: {
4139
+ $ref: string;
4140
+ description: string;
4141
+ };
4142
+ workflows: {
4143
+ $ref: string;
4144
+ description: string;
4145
4145
  };
4146
4146
  dataKey: {
4147
4147
  type: string;