@takeshape/schema 8.144.4 → 8.146.0

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 (125) hide show
  1. package/dist/builtin-schema.d.ts.map +1 -1
  2. package/dist/builtin-schema.js +17 -0
  3. package/dist/get-is-leaf.d.ts +1 -1
  4. package/dist/get-is-leaf.d.ts.map +1 -1
  5. package/dist/get-is-leaf.js +3 -1
  6. package/dist/migration/index.d.ts +1 -0
  7. package/dist/migration/index.d.ts.map +1 -1
  8. package/dist/migration/index.js +4 -1
  9. package/dist/migration/to/v3.0.0.d.ts.map +1 -1
  10. package/dist/migration/to/v3.18.0.d.ts +5 -0
  11. package/dist/migration/to/v3.18.0.d.ts.map +1 -0
  12. package/dist/migration/to/v3.18.0.js +85 -0
  13. package/dist/mocks.d.ts.map +1 -1
  14. package/dist/mocks.js +4 -2
  15. package/dist/project-schema/index.d.ts +4 -1
  16. package/dist/project-schema/index.d.ts.map +1 -1
  17. package/dist/project-schema/index.js +20 -3
  18. package/dist/project-schema/latest.d.ts +4 -139
  19. package/dist/project-schema/latest.d.ts.map +1 -1
  20. package/dist/project-schema/migrate.d.ts.map +1 -1
  21. package/dist/project-schema/migrate.js +4 -0
  22. package/dist/project-schema/v3.18.0.d.ts +1334 -0
  23. package/dist/project-schema/v3.18.0.d.ts.map +1 -0
  24. package/dist/project-schema/v3.18.0.js +5 -0
  25. package/dist/refs.d.ts +14 -2
  26. package/dist/refs.d.ts.map +1 -1
  27. package/dist/refs.js +26 -0
  28. package/dist/relationships.d.ts +28 -2
  29. package/dist/relationships.d.ts.map +1 -1
  30. package/dist/relationships.js +234 -19
  31. package/dist/rewrite.d.ts.map +1 -1
  32. package/dist/rewrite.js +10 -2
  33. package/dist/schema-util.d.ts +1 -18
  34. package/dist/schema-util.d.ts.map +1 -1
  35. package/dist/schema-util.js +36 -120
  36. package/dist/schemas/index.d.ts +2 -2
  37. package/dist/schemas/index.d.ts.map +1 -1
  38. package/dist/schemas/index.js +6 -4
  39. package/dist/schemas/index.ts +4 -2
  40. package/dist/schemas/project-schema/latest.json +2175 -2195
  41. package/dist/schemas/project-schema/v3.18.0.json +2350 -0
  42. package/dist/schemas/project-schema.json +3 -0
  43. package/dist/template-shapes/templates.d.ts +5 -0
  44. package/dist/template-shapes/templates.d.ts.map +1 -1
  45. package/dist/template-shapes/templates.js +59 -28
  46. package/dist/template-shapes/where.d.ts +3 -4
  47. package/dist/template-shapes/where.d.ts.map +1 -1
  48. package/dist/template-shapes/where.js +32 -26
  49. package/dist/types/types.d.ts +42 -2
  50. package/dist/types/types.d.ts.map +1 -1
  51. package/dist/types/utils.d.ts +2 -0
  52. package/dist/types/utils.d.ts.map +1 -1
  53. package/dist/types/utils.js +9 -1
  54. package/dist/unions.d.ts.map +1 -1
  55. package/dist/unions.js +3 -1
  56. package/dist/util/detect-cycles.d.ts +3 -1
  57. package/dist/util/detect-cycles.d.ts.map +1 -1
  58. package/dist/util/detect-cycles.js +37 -28
  59. package/dist/util/form-config.d.ts +9 -0
  60. package/dist/util/form-config.d.ts.map +1 -0
  61. package/dist/util/form-config.js +97 -0
  62. package/dist/util/index.d.ts +1 -0
  63. package/dist/util/index.d.ts.map +1 -1
  64. package/dist/util/index.js +13 -0
  65. package/dist/validate.d.ts.map +1 -1
  66. package/dist/validate.js +75 -45
  67. package/es/builtin-schema.js +17 -0
  68. package/es/get-is-leaf.js +2 -1
  69. package/es/migration/index.js +3 -1
  70. package/es/migration/to/v3.18.0.js +72 -0
  71. package/es/mocks.js +4 -2
  72. package/es/project-schema/index.js +3 -1
  73. package/es/project-schema/migrate.js +5 -1
  74. package/es/project-schema/v3.18.0.js +1 -0
  75. package/es/refs.js +22 -1
  76. package/es/relationships.js +215 -19
  77. package/es/rewrite.js +10 -2
  78. package/es/schema-util.js +38 -119
  79. package/es/schemas/index.js +4 -3
  80. package/es/schemas/index.ts +4 -2
  81. package/es/schemas/project-schema/latest.json +2175 -2195
  82. package/es/schemas/project-schema/v3.18.0.json +2350 -0
  83. package/es/schemas/project-schema.json +3 -0
  84. package/es/template-shapes/templates.js +55 -29
  85. package/es/template-shapes/where.js +29 -23
  86. package/es/types/utils.js +8 -2
  87. package/es/unions.js +2 -1
  88. package/es/util/detect-cycles.js +36 -28
  89. package/es/util/form-config.js +85 -0
  90. package/es/util/index.js +2 -1
  91. package/es/validate.js +74 -46
  92. package/examples/latest/betzino.json +12383 -6066
  93. package/examples/latest/blog-schema.json +46 -25
  94. package/examples/latest/brewery-schema.json +14 -9
  95. package/examples/latest/complex-project-schema.json +442 -244
  96. package/examples/latest/complex-schema.json +17205 -0
  97. package/examples/latest/fabric-ecommerce.json +2 -2
  98. package/examples/latest/frank-and-fred-schema.json +5141 -2391
  99. package/examples/latest/klirr-schema.json +35445 -0
  100. package/examples/latest/massive-schema.json +1205 -640
  101. package/examples/latest/mill-components-schema.json +241 -113
  102. package/examples/latest/one-earth.json +14429 -0
  103. package/examples/latest/pet-oneof-array.json +2 -2
  104. package/examples/latest/post-schema.json +18 -11
  105. package/examples/latest/pruned-shopify-product-schema.json +2 -2
  106. package/examples/latest/real-world-schema.json +81 -41
  107. package/examples/latest/recursive-repeater-schema.json +14 -9
  108. package/examples/latest/recursive-schema.json +14 -9
  109. package/examples/latest/rick-and-morty-ast.json +138 -80
  110. package/examples/latest/rick-and-morty-graphql.json +78 -45
  111. package/examples/latest/rick-and-morty-rest.json +2 -2
  112. package/examples/latest/schema-with-repeater-draftjs.json +38 -23
  113. package/examples/latest/shape-books-v3_2_0.json +138 -80
  114. package/examples/latest/shape-books.json +138 -80
  115. package/examples/latest/shopify-lookbook.json +30 -16
  116. package/examples/latest/shopify-namespace-schema.json +364 -0
  117. package/examples/latest/shopify-store-with-widget.json +2 -2
  118. package/examples/latest/stripe-starter-resolved.json +14 -8
  119. package/examples/latest/user-schema-no-required.json +2 -2
  120. package/examples/latest/user-schema-with-defaults.json +2 -2
  121. package/examples/source/complex-schema.json +12760 -0
  122. package/examples/source/klirr-schema.json +27716 -0
  123. package/examples/source/one-earth.json +11897 -0
  124. package/examples/source/post-schema.json +0 -1
  125. package/package.json +5 -4
@@ -1917,15 +1917,20 @@
1917
1917
  "vendor": {
1918
1918
  "title": "Vendor",
1919
1919
  "@mapping": "takeshape:local:SolutionRevision2.rkftWQGhN",
1920
- "$ref": "#/shapes/TSRelationship/schema",
1921
- "@relationship": {
1922
- "shapeIds": [
1923
- "HkUQVLg3N"
1924
- ],
1925
- "type": "single"
1926
- },
1927
1920
  "@backreference": {
1928
1921
  "enabled": true
1922
+ },
1923
+ "@ref": "local:Vendor",
1924
+ "@input": {
1925
+ "@ref": "local:TSRelationship"
1926
+ },
1927
+ "@args": "TSRelationshipArgs",
1928
+ "@resolver": {
1929
+ "name": "takeshape:getRelated",
1930
+ "service": "takeshape:local",
1931
+ "options": {
1932
+ "nullable": true
1933
+ }
1929
1934
  }
1930
1935
  }
1931
1936
  },
@@ -1947,18 +1952,26 @@
1947
1952
  "categories": {
1948
1953
  "title": "Categories",
1949
1954
  "@mapping": "takeshape:local:SolutionRevision1.BybC8zznE",
1950
- "type": "array",
1951
1955
  "items": {
1952
- "$ref": "#/shapes/TSRelationship/schema"
1953
- },
1954
- "@relationship": {
1955
- "shapeIds": [
1956
- "HJbagBg2E"
1957
- ],
1958
- "type": "multiple"
1956
+ "@ref": "local:Category"
1959
1957
  },
1960
1958
  "@backreference": {
1961
1959
  "enabled": true
1960
+ },
1961
+ "type": "array",
1962
+ "@input": {
1963
+ "type": "array",
1964
+ "items": {
1965
+ "@ref": "local:TSRelationship"
1966
+ }
1967
+ },
1968
+ "@args": "TSRelationshipArgs",
1969
+ "@resolver": {
1970
+ "name": "takeshape:getRelated",
1971
+ "service": "takeshape:local",
1972
+ "options": {
1973
+ "nullable": true
1974
+ }
1962
1975
  }
1963
1976
  },
1964
1977
  "collaterals": {
@@ -2008,18 +2021,26 @@
2008
2021
  "matterTypes": {
2009
2022
  "title": "Matter Types",
2010
2023
  "@mapping": "takeshape:local:SolutionRevision1.r1VGwfz2N",
2011
- "type": "array",
2012
2024
  "items": {
2013
- "$ref": "#/shapes/TSRelationship/schema"
2014
- },
2015
- "@relationship": {
2016
- "shapeIds": [
2017
- "B1IgZrxhE"
2018
- ],
2019
- "type": "multiple"
2025
+ "@ref": "local:MatterType"
2020
2026
  },
2021
2027
  "@backreference": {
2022
2028
  "enabled": true
2029
+ },
2030
+ "type": "array",
2031
+ "@input": {
2032
+ "type": "array",
2033
+ "items": {
2034
+ "@ref": "local:TSRelationship"
2035
+ }
2036
+ },
2037
+ "@args": "TSRelationshipArgs",
2038
+ "@resolver": {
2039
+ "name": "takeshape:getRelated",
2040
+ "service": "takeshape:local",
2041
+ "options": {
2042
+ "nullable": true
2043
+ }
2023
2044
  }
2024
2045
  },
2025
2046
  "onPlatformPurchase": {
@@ -2045,35 +2066,51 @@
2045
2066
  "practiceAreas": {
2046
2067
  "title": "Practice Areas",
2047
2068
  "@mapping": "takeshape:local:SolutionRevision1.BJk4wfMhN",
2048
- "type": "array",
2049
2069
  "items": {
2050
- "$ref": "#/shapes/TSRelationship/schema"
2051
- },
2052
- "@relationship": {
2053
- "shapeIds": [
2054
- "r1nGZrx3E"
2055
- ],
2056
- "type": "multiple"
2070
+ "@ref": "local:PracticeArea"
2057
2071
  },
2058
2072
  "@backreference": {
2059
2073
  "enabled": true
2074
+ },
2075
+ "type": "array",
2076
+ "@input": {
2077
+ "type": "array",
2078
+ "items": {
2079
+ "@ref": "local:TSRelationship"
2080
+ }
2081
+ },
2082
+ "@args": "TSRelationshipArgs",
2083
+ "@resolver": {
2084
+ "name": "takeshape:getRelated",
2085
+ "service": "takeshape:local",
2086
+ "options": {
2087
+ "nullable": true
2088
+ }
2060
2089
  }
2061
2090
  },
2062
2091
  "purpose": {
2063
2092
  "title": "Purpose",
2064
2093
  "@mapping": "takeshape:local:SolutionRevision1.BkuLwzzh4",
2065
- "type": "array",
2066
2094
  "items": {
2067
- "$ref": "#/shapes/TSRelationship/schema"
2068
- },
2069
- "@relationship": {
2070
- "shapeIds": [
2071
- "B1ESWSe2V"
2072
- ],
2073
- "type": "multiple"
2095
+ "@ref": "local:Purpose"
2074
2096
  },
2075
2097
  "@backreference": {
2076
2098
  "enabled": true
2099
+ },
2100
+ "type": "array",
2101
+ "@input": {
2102
+ "type": "array",
2103
+ "items": {
2104
+ "@ref": "local:TSRelationship"
2105
+ }
2106
+ },
2107
+ "@args": "TSRelationshipArgs",
2108
+ "@resolver": {
2109
+ "name": "takeshape:getRelated",
2110
+ "service": "takeshape:local",
2111
+ "options": {
2112
+ "nullable": true
2113
+ }
2077
2114
  }
2078
2115
  },
2079
2116
  "revisionId": {
@@ -2102,18 +2139,26 @@
2102
2139
  "technologies": {
2103
2140
  "title": "Technologies",
2104
2141
  "@mapping": "takeshape:local:SolutionRevision1.HkvuPfGhV",
2105
- "type": "array",
2106
2142
  "items": {
2107
- "$ref": "#/shapes/TSRelationship/schema"
2108
- },
2109
- "@relationship": {
2110
- "shapeIds": [
2111
- "S1x_-He34"
2112
- ],
2113
- "type": "multiple"
2143
+ "@ref": "local:Technology"
2114
2144
  },
2115
2145
  "@backreference": {
2116
2146
  "enabled": true
2147
+ },
2148
+ "type": "array",
2149
+ "@input": {
2150
+ "type": "array",
2151
+ "items": {
2152
+ "@ref": "local:TSRelationship"
2153
+ }
2154
+ },
2155
+ "@args": "TSRelationshipArgs",
2156
+ "@resolver": {
2157
+ "name": "takeshape:getRelated",
2158
+ "service": "takeshape:local",
2159
+ "options": {
2160
+ "nullable": true
2161
+ }
2117
2162
  }
2118
2163
  },
2119
2164
  "tenancy": {
@@ -2131,15 +2176,20 @@
2131
2176
  "vendor": {
2132
2177
  "title": "Vendor",
2133
2178
  "@mapping": "takeshape:local:SolutionRevision1.S1riIMM3E",
2134
- "$ref": "#/shapes/TSRelationship/schema",
2135
- "@relationship": {
2136
- "shapeIds": [
2137
- "HkUQVLg3N"
2138
- ],
2139
- "type": "single"
2140
- },
2141
2179
  "@backreference": {
2142
2180
  "enabled": true
2181
+ },
2182
+ "@ref": "local:Vendor",
2183
+ "@input": {
2184
+ "@ref": "local:TSRelationship"
2185
+ },
2186
+ "@args": "TSRelationshipArgs",
2187
+ "@resolver": {
2188
+ "name": "takeshape:getRelated",
2189
+ "service": "takeshape:local",
2190
+ "options": {
2191
+ "nullable": true
2192
+ }
2143
2193
  }
2144
2194
  },
2145
2195
  "videos": {
@@ -2177,29 +2227,39 @@
2177
2227
  "collateral": {
2178
2228
  "title": "Collateral",
2179
2229
  "@mapping": "takeshape:local:SolutionRevision1Collaterals.r1a-tGM3V",
2180
- "$ref": "#/shapes/TSRelationship/schema",
2181
- "@relationship": {
2182
- "shapeIds": [
2183
- "HkDVKSg3E"
2184
- ],
2185
- "type": "single"
2186
- },
2187
2230
  "@backreference": {
2188
2231
  "enabled": true
2232
+ },
2233
+ "@ref": "local:CollateralType",
2234
+ "@input": {
2235
+ "@ref": "local:TSRelationship"
2236
+ },
2237
+ "@args": "TSRelationshipArgs",
2238
+ "@resolver": {
2239
+ "name": "takeshape:getRelated",
2240
+ "service": "takeshape:local",
2241
+ "options": {
2242
+ "nullable": true
2243
+ }
2189
2244
  }
2190
2245
  },
2191
2246
  "collateralType": {
2192
2247
  "title": "Collateral Type",
2193
2248
  "@mapping": "takeshape:local:SolutionRevision1Collaterals.ByO4KffhV",
2194
- "$ref": "#/shapes/TSRelationship/schema",
2195
- "@relationship": {
2196
- "shapeIds": [
2197
- "HkDVKSg3E"
2198
- ],
2199
- "type": "single"
2200
- },
2201
2249
  "@backreference": {
2202
2250
  "enabled": true
2251
+ },
2252
+ "@ref": "local:CollateralType",
2253
+ "@input": {
2254
+ "@ref": "local:TSRelationship"
2255
+ },
2256
+ "@args": "TSRelationshipArgs",
2257
+ "@resolver": {
2258
+ "name": "takeshape:getRelated",
2259
+ "service": "takeshape:local",
2260
+ "options": {
2261
+ "nullable": true
2262
+ }
2203
2263
  }
2204
2264
  }
2205
2265
  }
@@ -2259,29 +2319,39 @@
2259
2319
  "image": {
2260
2320
  "title": "Image",
2261
2321
  "@mapping": "takeshape:local:SolutionRevision1Images.SJH9dzMnV",
2262
- "$ref": "#/shapes/TSRelationship/schema",
2263
- "@relationship": {
2264
- "shapeIds": [
2265
- "ASSET"
2266
- ],
2267
- "type": "single"
2268
- },
2269
2322
  "@backreference": {
2270
2323
  "enabled": true
2324
+ },
2325
+ "@ref": "local:Asset",
2326
+ "@input": {
2327
+ "@ref": "local:TSRelationship"
2328
+ },
2329
+ "@args": "TSRelationshipArgs",
2330
+ "@resolver": {
2331
+ "name": "takeshape:getRelated",
2332
+ "service": "takeshape:local",
2333
+ "options": {
2334
+ "nullable": true
2335
+ }
2271
2336
  }
2272
2337
  },
2273
2338
  "imageType": {
2274
2339
  "title": "Image Type",
2275
2340
  "@mapping": "takeshape:local:SolutionRevision1Images.Hyy2uMM24",
2276
- "$ref": "#/shapes/TSRelationship/schema",
2277
- "@relationship": {
2278
- "shapeIds": [
2279
- "rkOetrlhE"
2280
- ],
2281
- "type": "single"
2282
- },
2283
2341
  "@backreference": {
2284
2342
  "enabled": true
2343
+ },
2344
+ "@ref": "local:ImageType",
2345
+ "@input": {
2346
+ "@ref": "local:TSRelationship"
2347
+ },
2348
+ "@args": "TSRelationshipArgs",
2349
+ "@resolver": {
2350
+ "name": "takeshape:getRelated",
2351
+ "service": "takeshape:local",
2352
+ "options": {
2353
+ "nullable": true
2354
+ }
2285
2355
  }
2286
2356
  }
2287
2357
  }
@@ -2453,29 +2523,39 @@
2453
2523
  "video": {
2454
2524
  "title": "Video",
2455
2525
  "@mapping": "takeshape:local:SolutionRevision1Videos.HJ6AdGz2V",
2456
- "$ref": "#/shapes/TSRelationship/schema",
2457
- "@relationship": {
2458
- "shapeIds": [
2459
- "ASSET"
2460
- ],
2461
- "type": "single"
2462
- },
2463
2526
  "@backreference": {
2464
2527
  "enabled": true
2528
+ },
2529
+ "@ref": "local:Asset",
2530
+ "@input": {
2531
+ "@ref": "local:TSRelationship"
2532
+ },
2533
+ "@args": "TSRelationshipArgs",
2534
+ "@resolver": {
2535
+ "name": "takeshape:getRelated",
2536
+ "service": "takeshape:local",
2537
+ "options": {
2538
+ "nullable": true
2539
+ }
2465
2540
  }
2466
2541
  },
2467
2542
  "videoType": {
2468
2543
  "title": "Video Type",
2469
2544
  "@mapping": "takeshape:local:SolutionRevision1Videos.BJF1tGMnN",
2470
- "$ref": "#/shapes/TSRelationship/schema",
2471
- "@relationship": {
2472
- "shapeIds": [
2473
- "HJ4zKBghV"
2474
- ],
2475
- "type": "single"
2476
- },
2477
2545
  "@backreference": {
2478
2546
  "enabled": true
2547
+ },
2548
+ "@ref": "local:VideoType",
2549
+ "@input": {
2550
+ "@ref": "local:TSRelationship"
2551
+ },
2552
+ "@args": "TSRelationshipArgs",
2553
+ "@resolver": {
2554
+ "name": "takeshape:getRelated",
2555
+ "service": "takeshape:local",
2556
+ "options": {
2557
+ "nullable": true
2558
+ }
2479
2559
  }
2480
2560
  }
2481
2561
  }
@@ -2590,15 +2670,20 @@
2590
2670
  "externalApp": {
2591
2671
  "title": "External App",
2592
2672
  "@mapping": "takeshape:local:SolutionRevision1WorksWithWorksWithExternalApps.B1_zsfznN",
2593
- "$ref": "#/shapes/TSRelationship/schema",
2594
- "@relationship": {
2595
- "shapeIds": [
2596
- "BkrLZLe2E"
2597
- ],
2598
- "type": "single"
2599
- },
2600
2673
  "@backreference": {
2601
2674
  "enabled": true
2675
+ },
2676
+ "@ref": "local:ExternalProduct",
2677
+ "@input": {
2678
+ "@ref": "local:TSRelationship"
2679
+ },
2680
+ "@args": "TSRelationshipArgs",
2681
+ "@resolver": {
2682
+ "name": "takeshape:getRelated",
2683
+ "service": "takeshape:local",
2684
+ "options": {
2685
+ "nullable": true
2686
+ }
2602
2687
  }
2603
2688
  },
2604
2689
  "integrationDescription": {
@@ -2626,15 +2711,20 @@
2626
2711
  "rcApp": {
2627
2712
  "title": "RC App",
2628
2713
  "@mapping": "takeshape:local:SolutionRevision1WorksWithWorksWithRcApps.SJogqfMhE",
2629
- "$ref": "#/shapes/TSRelationship/schema",
2630
- "@relationship": {
2631
- "shapeIds": [
2632
- "Hy89GBg2V"
2633
- ],
2634
- "type": "single"
2635
- },
2636
2714
  "@backreference": {
2637
2715
  "enabled": true
2716
+ },
2717
+ "@ref": "local:SolutionRevision",
2718
+ "@input": {
2719
+ "@ref": "local:TSRelationship"
2720
+ },
2721
+ "@args": "TSRelationshipArgs",
2722
+ "@resolver": {
2723
+ "name": "takeshape:getRelated",
2724
+ "service": "takeshape:local",
2725
+ "options": {
2726
+ "nullable": true
2727
+ }
2638
2728
  }
2639
2729
  }
2640
2730
  }
@@ -2690,18 +2780,26 @@
2690
2780
  "title": "App Category",
2691
2781
  "minItems": 1,
2692
2782
  "@mapping": "takeshape:local:ExternalProduct.B1Iq8wehN",
2693
- "type": "array",
2694
2783
  "items": {
2695
- "$ref": "#/shapes/TSRelationship/schema"
2696
- },
2697
- "@relationship": {
2698
- "shapeIds": [
2699
- "HkgcIDx24"
2700
- ],
2701
- "type": "multiple"
2784
+ "@ref": "local:ExternalAppCategory"
2702
2785
  },
2703
2786
  "@backreference": {
2704
2787
  "enabled": true
2788
+ },
2789
+ "type": "array",
2790
+ "@input": {
2791
+ "type": "array",
2792
+ "items": {
2793
+ "@ref": "local:TSRelationship"
2794
+ }
2795
+ },
2796
+ "@args": "TSRelationshipArgs",
2797
+ "@resolver": {
2798
+ "name": "takeshape:getRelated",
2799
+ "service": "takeshape:local",
2800
+ "options": {
2801
+ "nullable": true
2802
+ }
2705
2803
  }
2706
2804
  },
2707
2805
  "description": {
@@ -2713,15 +2811,20 @@
2713
2811
  "logo": {
2714
2812
  "title": "Logo",
2715
2813
  "@mapping": "takeshape:local:ExternalProduct.HkOH-8eh4",
2716
- "$ref": "#/shapes/TSRelationship/schema",
2717
- "@relationship": {
2718
- "shapeIds": [
2719
- "ASSET"
2720
- ],
2721
- "type": "single"
2722
- },
2723
2814
  "@backreference": {
2724
2815
  "enabled": true
2816
+ },
2817
+ "@ref": "local:Asset",
2818
+ "@input": {
2819
+ "@ref": "local:TSRelationship"
2820
+ },
2821
+ "@args": "TSRelationshipArgs",
2822
+ "@resolver": {
2823
+ "name": "takeshape:getRelated",
2824
+ "service": "takeshape:local",
2825
+ "options": {
2826
+ "nullable": true
2827
+ }
2725
2828
  }
2726
2829
  },
2727
2830
  "name": {
@@ -2879,15 +2982,20 @@
2879
2982
  "logo": {
2880
2983
  "title": "Logo",
2881
2984
  "@mapping": "takeshape:local:Vendor.rkqwMUg34",
2882
- "$ref": "#/shapes/TSRelationship/schema",
2883
- "@relationship": {
2884
- "shapeIds": [
2885
- "ASSET"
2886
- ],
2887
- "type": "single"
2888
- },
2889
2985
  "@backreference": {
2890
2986
  "enabled": true
2987
+ },
2988
+ "@ref": "local:Asset",
2989
+ "@input": {
2990
+ "@ref": "local:TSRelationship"
2991
+ },
2992
+ "@args": "TSRelationshipArgs",
2993
+ "@resolver": {
2994
+ "name": "takeshape:getRelated",
2995
+ "service": "takeshape:local",
2996
+ "options": {
2997
+ "nullable": true
2998
+ }
2891
2999
  }
2892
3000
  },
2893
3001
  "name": {
@@ -3067,18 +3175,26 @@
3067
3175
  "categories": {
3068
3176
  "title": "Categories",
3069
3177
  "@mapping": "takeshape:local:SolutionRevision.ByfYMrlnV",
3070
- "type": "array",
3071
3178
  "items": {
3072
- "$ref": "#/shapes/TSRelationship/schema"
3073
- },
3074
- "@relationship": {
3075
- "shapeIds": [
3076
- "HJbagBg2E"
3077
- ],
3078
- "type": "multiple"
3179
+ "@ref": "local:Category"
3079
3180
  },
3080
3181
  "@backreference": {
3081
3182
  "enabled": true
3183
+ },
3184
+ "type": "array",
3185
+ "@input": {
3186
+ "type": "array",
3187
+ "items": {
3188
+ "@ref": "local:TSRelationship"
3189
+ }
3190
+ },
3191
+ "@args": "TSRelationshipArgs",
3192
+ "@resolver": {
3193
+ "name": "takeshape:getRelated",
3194
+ "service": "takeshape:local",
3195
+ "options": {
3196
+ "nullable": true
3197
+ }
3082
3198
  }
3083
3199
  },
3084
3200
  "collaterals": {
@@ -3138,18 +3254,26 @@
3138
3254
  "matterTypes": {
3139
3255
  "title": "Matter Types",
3140
3256
  "@mapping": "takeshape:local:SolutionRevision.SJ6hMHg3V",
3141
- "type": "array",
3142
3257
  "items": {
3143
- "$ref": "#/shapes/TSRelationship/schema"
3144
- },
3145
- "@relationship": {
3146
- "shapeIds": [
3147
- "B1IgZrxhE"
3148
- ],
3149
- "type": "multiple"
3258
+ "@ref": "local:MatterType"
3150
3259
  },
3151
3260
  "@backreference": {
3152
3261
  "enabled": true
3262
+ },
3263
+ "type": "array",
3264
+ "@input": {
3265
+ "type": "array",
3266
+ "items": {
3267
+ "@ref": "local:TSRelationship"
3268
+ }
3269
+ },
3270
+ "@args": "TSRelationshipArgs",
3271
+ "@resolver": {
3272
+ "name": "takeshape:getRelated",
3273
+ "service": "takeshape:local",
3274
+ "options": {
3275
+ "nullable": true
3276
+ }
3153
3277
  }
3154
3278
  },
3155
3279
  "onPlatformPurchase": {
@@ -3175,35 +3299,51 @@
3175
3299
  "practiseAreas": {
3176
3300
  "title": "Practise Areas",
3177
3301
  "@mapping": "takeshape:local:SolutionRevision.BJACMBe2V",
3178
- "type": "array",
3179
3302
  "items": {
3180
- "$ref": "#/shapes/TSRelationship/schema"
3181
- },
3182
- "@relationship": {
3183
- "shapeIds": [
3184
- "r1nGZrx3E"
3185
- ],
3186
- "type": "multiple"
3303
+ "@ref": "local:PracticeArea"
3187
3304
  },
3188
3305
  "@backreference": {
3189
3306
  "enabled": true
3307
+ },
3308
+ "type": "array",
3309
+ "@input": {
3310
+ "type": "array",
3311
+ "items": {
3312
+ "@ref": "local:TSRelationship"
3313
+ }
3314
+ },
3315
+ "@args": "TSRelationshipArgs",
3316
+ "@resolver": {
3317
+ "name": "takeshape:getRelated",
3318
+ "service": "takeshape:local",
3319
+ "options": {
3320
+ "nullable": true
3321
+ }
3190
3322
  }
3191
3323
  },
3192
3324
  "purpose": {
3193
3325
  "title": "Purpose",
3194
3326
  "@mapping": "takeshape:local:SolutionRevision.HkVlmBl2V",
3195
- "type": "array",
3196
3327
  "items": {
3197
- "$ref": "#/shapes/TSRelationship/schema"
3198
- },
3199
- "@relationship": {
3200
- "shapeIds": [
3201
- "B1ESWSe2V"
3202
- ],
3203
- "type": "multiple"
3328
+ "@ref": "local:Purpose"
3204
3329
  },
3205
3330
  "@backreference": {
3206
3331
  "enabled": true
3332
+ },
3333
+ "type": "array",
3334
+ "@input": {
3335
+ "type": "array",
3336
+ "items": {
3337
+ "@ref": "local:TSRelationship"
3338
+ }
3339
+ },
3340
+ "@args": "TSRelationshipArgs",
3341
+ "@resolver": {
3342
+ "name": "takeshape:getRelated",
3343
+ "service": "takeshape:local",
3344
+ "options": {
3345
+ "nullable": true
3346
+ }
3207
3347
  }
3208
3348
  },
3209
3349
  "revisionId": {
@@ -3232,18 +3372,26 @@
3232
3372
  "technologies": {
3233
3373
  "title": "Technologies",
3234
3374
  "@mapping": "takeshape:local:SolutionRevision.HJr-mrxh4",
3235
- "type": "array",
3236
3375
  "items": {
3237
- "$ref": "#/shapes/TSRelationship/schema"
3238
- },
3239
- "@relationship": {
3240
- "shapeIds": [
3241
- "S1x_-He34"
3242
- ],
3243
- "type": "multiple"
3376
+ "@ref": "local:Technology"
3244
3377
  },
3245
3378
  "@backreference": {
3246
3379
  "enabled": true
3380
+ },
3381
+ "type": "array",
3382
+ "@input": {
3383
+ "type": "array",
3384
+ "items": {
3385
+ "@ref": "local:TSRelationship"
3386
+ }
3387
+ },
3388
+ "@args": "TSRelationshipArgs",
3389
+ "@resolver": {
3390
+ "name": "takeshape:getRelated",
3391
+ "service": "takeshape:local",
3392
+ "options": {
3393
+ "nullable": true
3394
+ }
3247
3395
  }
3248
3396
  },
3249
3397
  "tenancy": {
@@ -3261,15 +3409,20 @@
3261
3409
  "vendor": {
3262
3410
  "title": "Vendor",
3263
3411
  "@mapping": "takeshape:local:SolutionRevision.SyCV4Lg3V",
3264
- "$ref": "#/shapes/TSRelationship/schema",
3265
- "@relationship": {
3266
- "shapeIds": [
3267
- "HkUQVLg3N"
3268
- ],
3269
- "type": "single"
3270
- },
3271
3412
  "@backreference": {
3272
3413
  "enabled": true
3414
+ },
3415
+ "@ref": "local:Vendor",
3416
+ "@input": {
3417
+ "@ref": "local:TSRelationship"
3418
+ },
3419
+ "@args": "TSRelationshipArgs",
3420
+ "@resolver": {
3421
+ "name": "takeshape:getRelated",
3422
+ "service": "takeshape:local",
3423
+ "options": {
3424
+ "nullable": true
3425
+ }
3273
3426
  }
3274
3427
  },
3275
3428
  "videos": {
@@ -3307,29 +3460,39 @@
3307
3460
  "collateral": {
3308
3461
  "title": "Collateral",
3309
3462
  "@mapping": "takeshape:local:SolutionRevisionCollaterals.rkcH_HlnN",
3310
- "$ref": "#/shapes/TSRelationship/schema",
3311
- "@relationship": {
3312
- "shapeIds": [
3313
- "ASSET"
3314
- ],
3315
- "type": "single"
3316
- },
3317
3463
  "@backreference": {
3318
3464
  "enabled": true
3465
+ },
3466
+ "@ref": "local:Asset",
3467
+ "@input": {
3468
+ "@ref": "local:TSRelationship"
3469
+ },
3470
+ "@args": "TSRelationshipArgs",
3471
+ "@resolver": {
3472
+ "name": "takeshape:getRelated",
3473
+ "service": "takeshape:local",
3474
+ "options": {
3475
+ "nullable": true
3476
+ }
3319
3477
  }
3320
3478
  },
3321
3479
  "collateralType": {
3322
3480
  "title": "Collateral Type",
3323
3481
  "@mapping": "takeshape:local:SolutionRevisionCollaterals.ryBKFHx3N",
3324
- "$ref": "#/shapes/TSRelationship/schema",
3325
- "@relationship": {
3326
- "shapeIds": [
3327
- "HkDVKSg3E"
3328
- ],
3329
- "type": "single"
3330
- },
3331
3482
  "@backreference": {
3332
3483
  "enabled": true
3484
+ },
3485
+ "@ref": "local:CollateralType",
3486
+ "@input": {
3487
+ "@ref": "local:TSRelationship"
3488
+ },
3489
+ "@args": "TSRelationshipArgs",
3490
+ "@resolver": {
3491
+ "name": "takeshape:getRelated",
3492
+ "service": "takeshape:local",
3493
+ "options": {
3494
+ "nullable": true
3495
+ }
3333
3496
  }
3334
3497
  }
3335
3498
  }
@@ -3488,29 +3651,39 @@
3488
3651
  "image": {
3489
3652
  "title": "Image",
3490
3653
  "@mapping": "takeshape:local:SolutionRevisionImages.ry-YPBenE",
3491
- "$ref": "#/shapes/TSRelationship/schema",
3492
- "@relationship": {
3493
- "shapeIds": [
3494
- "ASSET"
3495
- ],
3496
- "type": "single"
3497
- },
3498
3654
  "@backreference": {
3499
3655
  "enabled": true
3656
+ },
3657
+ "@ref": "local:Asset",
3658
+ "@input": {
3659
+ "@ref": "local:TSRelationship"
3660
+ },
3661
+ "@args": "TSRelationshipArgs",
3662
+ "@resolver": {
3663
+ "name": "takeshape:getRelated",
3664
+ "service": "takeshape:local",
3665
+ "options": {
3666
+ "nullable": true
3667
+ }
3500
3668
  }
3501
3669
  },
3502
3670
  "imageType": {
3503
3671
  "title": "Image Type",
3504
3672
  "@mapping": "takeshape:local:SolutionRevisionImages.ryNHFBxnN",
3505
- "$ref": "#/shapes/TSRelationship/schema",
3506
- "@relationship": {
3507
- "shapeIds": [
3508
- "rkOetrlhE"
3509
- ],
3510
- "type": "single"
3511
- },
3512
3673
  "@backreference": {
3513
3674
  "enabled": true
3675
+ },
3676
+ "@ref": "local:ImageType",
3677
+ "@input": {
3678
+ "@ref": "local:TSRelationship"
3679
+ },
3680
+ "@args": "TSRelationshipArgs",
3681
+ "@resolver": {
3682
+ "name": "takeshape:getRelated",
3683
+ "service": "takeshape:local",
3684
+ "options": {
3685
+ "nullable": true
3686
+ }
3514
3687
  }
3515
3688
  }
3516
3689
  }
@@ -3680,29 +3853,39 @@
3680
3853
  "video": {
3681
3854
  "title": "Video",
3682
3855
  "@mapping": "takeshape:local:SolutionRevisionVideos.SkZvOBl3V",
3683
- "$ref": "#/shapes/TSRelationship/schema",
3684
- "@relationship": {
3685
- "shapeIds": [
3686
- "ASSET"
3687
- ],
3688
- "type": "single"
3689
- },
3690
3856
  "@backreference": {
3691
3857
  "enabled": true
3858
+ },
3859
+ "@ref": "local:Asset",
3860
+ "@input": {
3861
+ "@ref": "local:TSRelationship"
3862
+ },
3863
+ "@args": "TSRelationshipArgs",
3864
+ "@resolver": {
3865
+ "name": "takeshape:getRelated",
3866
+ "service": "takeshape:local",
3867
+ "options": {
3868
+ "nullable": true
3869
+ }
3692
3870
  }
3693
3871
  },
3694
3872
  "videoType": {
3695
3873
  "title": "Video Type",
3696
3874
  "@mapping": "takeshape:local:SolutionRevisionVideos.BkmUKrx3N",
3697
- "$ref": "#/shapes/TSRelationship/schema",
3698
- "@relationship": {
3699
- "shapeIds": [
3700
- "HJ4zKBghV"
3701
- ],
3702
- "type": "single"
3703
- },
3704
3875
  "@backreference": {
3705
3876
  "enabled": true
3877
+ },
3878
+ "@ref": "local:VideoType",
3879
+ "@input": {
3880
+ "@ref": "local:TSRelationship"
3881
+ },
3882
+ "@args": "TSRelationshipArgs",
3883
+ "@resolver": {
3884
+ "name": "takeshape:getRelated",
3885
+ "service": "takeshape:local",
3886
+ "options": {
3887
+ "nullable": true
3888
+ }
3706
3889
  }
3707
3890
  }
3708
3891
  }
@@ -3718,15 +3901,20 @@
3718
3901
  "externalApp": {
3719
3902
  "title": "External App",
3720
3903
  "@mapping": "takeshape:local:SolutionRevisionWorksWithWorksWithExternalApps.B1EwSUx3V",
3721
- "$ref": "#/shapes/TSRelationship/schema",
3722
- "@relationship": {
3723
- "shapeIds": [
3724
- "BkrLZLe2E"
3725
- ],
3726
- "type": "single"
3727
- },
3728
3904
  "@backreference": {
3729
3905
  "enabled": true
3906
+ },
3907
+ "@ref": "local:ExternalProduct",
3908
+ "@input": {
3909
+ "@ref": "local:TSRelationship"
3910
+ },
3911
+ "@args": "TSRelationshipArgs",
3912
+ "@resolver": {
3913
+ "name": "takeshape:getRelated",
3914
+ "service": "takeshape:local",
3915
+ "options": {
3916
+ "nullable": true
3917
+ }
3730
3918
  }
3731
3919
  },
3732
3920
  "integrationDescription": {
@@ -3754,15 +3942,20 @@
3754
3942
  "rcApp": {
3755
3943
  "title": "RC App",
3756
3944
  "@mapping": "takeshape:local:SolutionRevisionWorksWithWorksWithRcApps.SyHeSUgnN",
3757
- "$ref": "#/shapes/TSRelationship/schema",
3758
- "@relationship": {
3759
- "shapeIds": [
3760
- "Hy89GBg2V"
3761
- ],
3762
- "type": "single"
3763
- },
3764
3945
  "@backreference": {
3765
3946
  "enabled": true
3947
+ },
3948
+ "@ref": "local:SolutionRevision",
3949
+ "@input": {
3950
+ "@ref": "local:TSRelationship"
3951
+ },
3952
+ "@args": "TSRelationshipArgs",
3953
+ "@resolver": {
3954
+ "name": "takeshape:getRelated",
3955
+ "service": "takeshape:local",
3956
+ "options": {
3957
+ "nullable": true
3958
+ }
3766
3959
  }
3767
3960
  }
3768
3961
  }
@@ -3945,15 +4138,20 @@
3945
4138
  "revision": {
3946
4139
  "title": "Revision",
3947
4140
  "@mapping": "takeshape:local:SolutionRevisions.BkOpnUgnN",
3948
- "$ref": "#/shapes/TSRelationship/schema",
3949
- "@relationship": {
3950
- "shapeIds": [
3951
- "Hy89GBg2V"
3952
- ],
3953
- "type": "single"
3954
- },
3955
4141
  "@backreference": {
3956
4142
  "enabled": true
4143
+ },
4144
+ "@ref": "local:SolutionRevision",
4145
+ "@input": {
4146
+ "@ref": "local:TSRelationship"
4147
+ },
4148
+ "@args": "TSRelationshipArgs",
4149
+ "@resolver": {
4150
+ "name": "takeshape:getRelated",
4151
+ "service": "takeshape:local",
4152
+ "options": {
4153
+ "nullable": true
4154
+ }
3957
4155
  }
3958
4156
  },
3959
4157
  "status": {
@@ -3991,6 +4189,6 @@
3991
4189
  }
3992
4190
  }
3993
4191
  },
3994
- "schemaVersion": "3.17.1",
4192
+ "schemaVersion": "3.18.0",
3995
4193
  "services": {}
3996
- }
4194
+ }