@takeshape/schema 9.40.2 → 9.41.2

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 (29) hide show
  1. package/dist/builtin-schema.js +10 -10
  2. package/dist/schema-util.js +1 -1
  3. package/dist/template-shapes/templates.d.ts +1 -1
  4. package/dist/template-shapes/templates.d.ts.map +1 -1
  5. package/dist/template-shapes/templates.js +16 -8
  6. package/dist/template-shapes/where.js +2 -2
  7. package/es/builtin-schema.js +10 -10
  8. package/es/schema-util.js +1 -1
  9. package/es/template-shapes/templates.js +15 -7
  10. package/es/template-shapes/where.js +3 -3
  11. package/examples/latest/betzino.json +51 -51
  12. package/examples/latest/real-world-schema.json +0 -240
  13. package/examples/latest/rick-and-morty-ast.json +51 -51
  14. package/examples/latest/rick-and-morty-graphql.json +51 -51
  15. package/examples/latest/shopify-product-2022-07.json +201 -201
  16. package/examples/latest/shopify-product-2023-04.json +201 -201
  17. package/examples/latest/shopify-store-with-widget.json +51 -51
  18. package/examples/latest/stripe-product-runtime-schema.json +201 -201
  19. package/examples/latest/stripe-starter-resolved.json +51 -51
  20. package/examples/source/betzino.json +52 -52
  21. package/examples/source/real-world-schema.json +4 -172
  22. package/examples/source/rick-and-morty-ast.json +302 -117
  23. package/examples/source/rick-and-morty-graphql.json +213 -92
  24. package/examples/source/shopify-product-2022-07.json +202 -202
  25. package/examples/source/shopify-product-2023-04.json +202 -202
  26. package/examples/source/shopify-store-with-widget.json +485 -135
  27. package/examples/source/stripe-product-runtime-schema.json +202 -202
  28. package/examples/source/stripe-starter-resolved.json +52 -52
  29. package/package.json +5 -5
@@ -81,7 +81,7 @@
81
81
  }
82
82
  }
83
83
  },
84
- "TsStaticSite": {
84
+ "TSStaticSite": {
85
85
  "default": {
86
86
  "order": [
87
87
  "title",
@@ -737,25 +737,25 @@
737
737
  "shape": "PaginatedList<Asset>",
738
738
  "description": "Returns a list Asset in natural order."
739
739
  },
740
- "getTsStaticSite": {
741
- "args": "TSGetArgs<TsStaticSite>",
740
+ "getTSStaticSite": {
741
+ "args": "TSGetArgs<TSStaticSite>",
742
742
  "resolver": {
743
743
  "name": "shapedb:get",
744
744
  "service": "shapedb",
745
- "shapeName": "TsStaticSite"
745
+ "shapeName": "TSStaticSite"
746
746
  },
747
- "shape": "TsStaticSite",
748
- "description": "Get a TsStaticSite by ID"
747
+ "shape": "TSStaticSite",
748
+ "description": "Get a TSStaticSite by ID"
749
749
  },
750
- "getTsStaticSiteList": {
751
- "args": "TSListArgs<TsStaticSite>",
750
+ "getTSStaticSiteList": {
751
+ "args": "TSListArgs<TSStaticSite>",
752
752
  "resolver": {
753
753
  "name": "shapedb:list",
754
754
  "service": "shapedb",
755
- "shapeName": "TsStaticSite"
755
+ "shapeName": "TSStaticSite"
756
756
  },
757
- "shape": "PaginatedList<TsStaticSite>",
758
- "description": "Returns a list TsStaticSite in natural order."
757
+ "shape": "PaginatedList<TSStaticSite>",
758
+ "description": "Returns a list TSStaticSite in natural order."
759
759
  },
760
760
  "getProduct": {
761
761
  "args": "TSGetArgs<Product>",
@@ -839,45 +839,45 @@
839
839
  "shape": "DeleteResult<Asset>",
840
840
  "description": "Delete Asset"
841
841
  },
842
- "updateTsStaticSite": {
843
- "args": "UpdateArgs<TsStaticSite>",
842
+ "updateTSStaticSite": {
843
+ "args": "UpdateArgs<TSStaticSite>",
844
844
  "resolver": {
845
845
  "name": "shapedb:update",
846
846
  "service": "shapedb",
847
- "shapeName": "TsStaticSite"
847
+ "shapeName": "TSStaticSite"
848
848
  },
849
- "shape": "UpdateResult<TsStaticSite>",
850
- "description": "Update TsStaticSite"
849
+ "shape": "UpdateResult<TSStaticSite>",
850
+ "description": "Update TSStaticSite"
851
851
  },
852
- "createTsStaticSite": {
853
- "args": "CreateArgs<TsStaticSite>",
852
+ "createTSStaticSite": {
853
+ "args": "CreateArgs<TSStaticSite>",
854
854
  "resolver": {
855
855
  "name": "shapedb:create",
856
856
  "service": "shapedb",
857
- "shapeName": "TsStaticSite"
857
+ "shapeName": "TSStaticSite"
858
858
  },
859
- "shape": "CreateResult<TsStaticSite>",
860
- "description": "Create TsStaticSite"
859
+ "shape": "CreateResult<TSStaticSite>",
860
+ "description": "Create TSStaticSite"
861
861
  },
862
- "duplicateTsStaticSite": {
863
- "args": "DuplicateArgs<TsStaticSite>",
862
+ "duplicateTSStaticSite": {
863
+ "args": "DuplicateArgs<TSStaticSite>",
864
864
  "resolver": {
865
865
  "name": "shapedb:duplicate",
866
866
  "service": "shapedb",
867
- "shapeName": "TsStaticSite"
867
+ "shapeName": "TSStaticSite"
868
868
  },
869
- "shape": "DuplicateResult<TsStaticSite>",
870
- "description": "Duplicate TsStaticSite"
869
+ "shape": "DuplicateResult<TSStaticSite>",
870
+ "description": "Duplicate TSStaticSite"
871
871
  },
872
- "deleteTsStaticSite": {
873
- "args": "DeleteArgs<TsStaticSite>",
872
+ "deleteTSStaticSite": {
873
+ "args": "DeleteArgs<TSStaticSite>",
874
874
  "resolver": {
875
875
  "name": "shapedb:delete",
876
876
  "service": "shapedb",
877
- "shapeName": "TsStaticSite"
877
+ "shapeName": "TSStaticSite"
878
878
  },
879
- "shape": "DeleteResult<TsStaticSite>",
880
- "description": "Delete TsStaticSite"
879
+ "shape": "DeleteResult<TSStaticSite>",
880
+ "description": "Delete TSStaticSite"
881
881
  },
882
882
  "updateProduct": {
883
883
  "args": "UpdateArgs<ProductInterface>",
@@ -1841,9 +1841,9 @@
1841
1841
  ]
1842
1842
  }
1843
1843
  },
1844
- "TsStaticSite": {
1844
+ "TSStaticSite": {
1845
1845
  "id": "SITE",
1846
- "name": "TsStaticSite",
1846
+ "name": "TSStaticSite",
1847
1847
  "title": "Static Site",
1848
1848
  "model": {
1849
1849
  "type": "multiple"
@@ -1856,14 +1856,14 @@
1856
1856
  "title": "Title",
1857
1857
  "@l10n": false,
1858
1858
  "minLength": 1,
1859
- "@mapping": "shapedb:TsStaticSite.Ski9jLuXg"
1859
+ "@mapping": "shapedb:TSStaticSite.Ski9jLuXg"
1860
1860
  },
1861
1861
  "baseUrl": {
1862
1862
  "type": "string",
1863
1863
  "title": "Base URL",
1864
1864
  "@l10n": false,
1865
1865
  "minLength": 1,
1866
- "@mapping": "shapedb:TsStaticSite.Bk3tNmrfE"
1866
+ "@mapping": "shapedb:TSStaticSite.Bk3tNmrfE"
1867
1867
  },
1868
1868
  "provider": {
1869
1869
  "type": "string",
@@ -1908,14 +1908,14 @@
1908
1908
  "title": "Vercel"
1909
1909
  }
1910
1910
  ],
1911
- "@mapping": "shapedb:TsStaticSite.SkwbT2hqe"
1911
+ "@mapping": "shapedb:TSStaticSite.SkwbT2hqe"
1912
1912
  },
1913
1913
  "idKey": {
1914
1914
  "type": "string",
1915
1915
  "title": "Id Key",
1916
1916
  "@l10n": false,
1917
1917
  "minLength": 1,
1918
- "@mapping": "shapedb:TsStaticSite.SyRhi8_me"
1918
+ "@mapping": "shapedb:TSStaticSite.SyRhi8_me"
1919
1919
  },
1920
1920
  "secretKey": {
1921
1921
  "type": "string",
@@ -1923,43 +1923,43 @@
1923
1923
  "@l10n": false,
1924
1924
  "@sensitive": true,
1925
1925
  "minLength": 1,
1926
- "@mapping": "shapedb:TsStaticSite.BkIajLdXl"
1926
+ "@mapping": "shapedb:TSStaticSite.BkIajLdXl"
1927
1927
  },
1928
1928
  "destination": {
1929
1929
  "type": "string",
1930
1930
  "title": "Destination",
1931
1931
  "@l10n": false,
1932
1932
  "minLength": 1,
1933
- "@mapping": "shapedb:TsStaticSite.Hk6TsIdXl"
1933
+ "@mapping": "shapedb:TSStaticSite.Hk6TsIdXl"
1934
1934
  },
1935
1935
  "privateAcl": {
1936
1936
  "type": "boolean",
1937
1937
  "title": "Private ACL",
1938
1938
  "@l10n": false,
1939
- "@mapping": "shapedb:TsStaticSite.ByFe48wWU"
1939
+ "@mapping": "shapedb:TSStaticSite.ByFe48wWU"
1940
1940
  },
1941
1941
  "environmentVariables": {
1942
1942
  "type": "array",
1943
1943
  "title": "Environment Variables",
1944
1944
  "@l10n": false,
1945
1945
  "items": {
1946
- "$ref": "#/shapes/TsStaticSiteEnvironmentVariables/schema"
1946
+ "$ref": "#/shapes/TSStaticSiteEnvironmentVariables/schema"
1947
1947
  },
1948
- "@mapping": "shapedb:TsStaticSite.9fj4UiNxY"
1948
+ "@mapping": "shapedb:TSStaticSite.9fj4UiNxY"
1949
1949
  },
1950
1950
  "triggers": {
1951
1951
  "type": "array",
1952
1952
  "title": "Publish Triggers",
1953
1953
  "@l10n": false,
1954
1954
  "items": {
1955
- "$ref": "#/shapes/TsStaticSiteTriggers/schema"
1955
+ "$ref": "#/shapes/TSStaticSiteTriggers/schema"
1956
1956
  }
1957
1957
  },
1958
1958
  "templateHash": {
1959
1959
  "type": "string",
1960
1960
  "title": "Template Hash",
1961
1961
  "@l10n": false,
1962
- "@mapping": "shapedb:TsStaticSite.S1QA3GYI8"
1962
+ "@mapping": "shapedb:TSStaticSite.S1QA3GYI8"
1963
1963
  },
1964
1964
  "_id": {
1965
1965
  "title": "Id",
@@ -2053,9 +2053,9 @@
2053
2053
  ]
2054
2054
  }
2055
2055
  },
2056
- "TsStaticSiteEnvironmentVariables": {
2056
+ "TSStaticSiteEnvironmentVariables": {
2057
2057
  "id": "9fj4UiNxY",
2058
- "name": "TsStaticSiteEnvironmentVariables",
2058
+ "name": "TSStaticSiteEnvironmentVariables",
2059
2059
  "title": "Static Site EnvironmentVariables",
2060
2060
  "schema": {
2061
2061
  "type": "object",
@@ -2063,19 +2063,19 @@
2063
2063
  "name": {
2064
2064
  "type": "string",
2065
2065
  "title": "Name",
2066
- "@mapping": "shapedb:TsStaticSite.J8sbHgfdI"
2066
+ "@mapping": "shapedb:TSStaticSite.J8sbHgfdI"
2067
2067
  },
2068
2068
  "value": {
2069
2069
  "type": "string",
2070
2070
  "title": "Value",
2071
- "@mapping": "shapedb:TsStaticSite.ndhh88DvG"
2071
+ "@mapping": "shapedb:TSStaticSite.ndhh88DvG"
2072
2072
  }
2073
2073
  }
2074
2074
  }
2075
2075
  },
2076
- "TsStaticSiteTriggers": {
2077
- "id": "TsStaticSiteTriggers",
2078
- "name": "TsStaticSiteTriggers",
2076
+ "TSStaticSiteTriggers": {
2077
+ "id": "TSStaticSiteTriggers",
2078
+ "name": "TSStaticSiteTriggers",
2079
2079
  "title": "Static Site Triggers",
2080
2080
  "schema": {
2081
2081
  "type": "object",