@microsoft/typespec-msgraph 0.0.1-Preview.20 → 0.0.1-Preview.22

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 (271) hide show
  1. package/dist/src/components/annotations.js +2 -2
  2. package/dist/src/components/entity-container-element.d.ts.map +1 -1
  3. package/dist/src/components/entity-container-element.js +6 -2
  4. package/dist/src/components/entity-container-element.js.map +1 -1
  5. package/dist/src/components/enum-type-element.js +1 -1
  6. package/dist/src/components/enum-type-element.js.map +1 -1
  7. package/dist/src/components/property-element.d.ts.map +1 -1
  8. package/dist/src/components/property-element.js +2 -2
  9. package/dist/src/components/property-element.js.map +1 -1
  10. package/dist/src/components/schema-element.d.ts.map +1 -1
  11. package/dist/src/components/schema-element.js +4 -1
  12. package/dist/src/components/schema-element.js.map +1 -1
  13. package/dist/src/decorators/abstract.d.ts +2 -0
  14. package/dist/src/decorators/abstract.d.ts.map +1 -1
  15. package/dist/src/decorators/abstract.js +2 -0
  16. package/dist/src/decorators/abstract.js.map +1 -1
  17. package/dist/src/decorators/action.d.ts +2 -0
  18. package/dist/src/decorators/action.d.ts.map +1 -1
  19. package/dist/src/decorators/action.js +2 -0
  20. package/dist/src/decorators/action.js.map +1 -1
  21. package/dist/src/decorators/additional-query-parameters.d.ts +2 -0
  22. package/dist/src/decorators/additional-query-parameters.d.ts.map +1 -1
  23. package/dist/src/decorators/additional-query-parameters.js +2 -0
  24. package/dist/src/decorators/additional-query-parameters.js.map +1 -1
  25. package/dist/src/decorators/address-url-msa.d.ts +2 -0
  26. package/dist/src/decorators/address-url-msa.d.ts.map +1 -1
  27. package/dist/src/decorators/address-url-msa.js +2 -0
  28. package/dist/src/decorators/address-url-msa.js.map +1 -1
  29. package/dist/src/decorators/ags-attribute.d.ts +2 -2
  30. package/dist/src/decorators/ags-attribute.d.ts.map +1 -1
  31. package/dist/src/decorators/ags-attribute.js +24 -23
  32. package/dist/src/decorators/ags-attribute.js.map +1 -1
  33. package/dist/src/decorators/contains.d.ts +2 -0
  34. package/dist/src/decorators/contains.d.ts.map +1 -1
  35. package/dist/src/decorators/contains.js +2 -0
  36. package/dist/src/decorators/contains.js.map +1 -1
  37. package/dist/src/decorators/deprecated-definition.d.ts +2 -0
  38. package/dist/src/decorators/deprecated-definition.d.ts.map +1 -1
  39. package/dist/src/decorators/deprecated-definition.js.map +1 -1
  40. package/dist/src/decorators/expand.d.ts +2 -0
  41. package/dist/src/decorators/expand.d.ts.map +1 -1
  42. package/dist/src/decorators/expand.js +2 -0
  43. package/dist/src/decorators/expand.js.map +1 -1
  44. package/dist/src/decorators/experimental.d.ts +2 -0
  45. package/dist/src/decorators/experimental.d.ts.map +1 -1
  46. package/dist/src/decorators/experimental.js +2 -0
  47. package/dist/src/decorators/experimental.js.map +1 -1
  48. package/dist/src/decorators/function.d.ts +2 -0
  49. package/dist/src/decorators/function.d.ts.map +1 -1
  50. package/dist/src/decorators/function.js +3 -1
  51. package/dist/src/decorators/function.js.map +1 -1
  52. package/dist/src/decorators/global-operation.d.ts +2 -0
  53. package/dist/src/decorators/global-operation.d.ts.map +1 -1
  54. package/dist/src/decorators/global-operation.js +2 -0
  55. package/dist/src/decorators/global-operation.js.map +1 -1
  56. package/dist/src/decorators/graph-deprecated.d.ts +2 -0
  57. package/dist/src/decorators/graph-deprecated.d.ts.map +1 -1
  58. package/dist/src/decorators/graph-deprecated.js +2 -0
  59. package/dist/src/decorators/graph-deprecated.js.map +1 -1
  60. package/dist/src/decorators/graph-route.d.ts +2 -0
  61. package/dist/src/decorators/graph-route.d.ts.map +1 -1
  62. package/dist/src/decorators/graph-route.js +33 -1
  63. package/dist/src/decorators/graph-route.js.map +1 -1
  64. package/dist/src/decorators/graphFlags.d.ts +11 -0
  65. package/dist/src/decorators/graphFlags.d.ts.map +1 -0
  66. package/dist/src/decorators/graphFlags.js +15 -0
  67. package/dist/src/decorators/graphFlags.js.map +1 -0
  68. package/dist/src/decorators/immutable.d.ts +2 -0
  69. package/dist/src/decorators/immutable.d.ts.map +1 -1
  70. package/dist/src/decorators/immutable.js +2 -0
  71. package/dist/src/decorators/immutable.js.map +1 -1
  72. package/dist/src/decorators/index.d.ts +2 -1
  73. package/dist/src/decorators/index.d.ts.map +1 -1
  74. package/dist/src/decorators/index.js +2 -1
  75. package/dist/src/decorators/index.js.map +1 -1
  76. package/dist/src/decorators/is-owner.d.ts +2 -0
  77. package/dist/src/decorators/is-owner.d.ts.map +1 -1
  78. package/dist/src/decorators/is-owner.js +2 -0
  79. package/dist/src/decorators/is-owner.js.map +1 -1
  80. package/dist/src/decorators/limited-charset.d.ts +2 -0
  81. package/dist/src/decorators/limited-charset.d.ts.map +1 -1
  82. package/dist/src/decorators/limited-charset.js +2 -0
  83. package/dist/src/decorators/limited-charset.js.map +1 -1
  84. package/dist/src/decorators/media.d.ts +2 -0
  85. package/dist/src/decorators/media.d.ts.map +1 -1
  86. package/dist/src/decorators/media.js +2 -0
  87. package/dist/src/decorators/media.js.map +1 -1
  88. package/dist/src/decorators/open.d.ts +2 -0
  89. package/dist/src/decorators/open.d.ts.map +1 -1
  90. package/dist/src/decorators/open.js +2 -0
  91. package/dist/src/decorators/open.js.map +1 -1
  92. package/dist/src/decorators/operation-parameters.d.ts +2 -0
  93. package/dist/src/decorators/operation-parameters.d.ts.map +1 -1
  94. package/dist/src/decorators/operation-parameters.js +2 -0
  95. package/dist/src/decorators/operation-parameters.js.map +1 -1
  96. package/dist/src/decorators/ownerless.d.ts +2 -0
  97. package/dist/src/decorators/ownerless.d.ts.map +1 -1
  98. package/dist/src/decorators/ownerless.js +2 -0
  99. package/dist/src/decorators/ownerless.js.map +1 -1
  100. package/dist/src/decorators/passthrough-address-url-msa.d.ts +4 -1
  101. package/dist/src/decorators/passthrough-address-url-msa.d.ts.map +1 -1
  102. package/dist/src/decorators/passthrough-address-url-msa.js +4 -1
  103. package/dist/src/decorators/passthrough-address-url-msa.js.map +1 -1
  104. package/dist/src/decorators/passthrough-address-url.d.ts +4 -1
  105. package/dist/src/decorators/passthrough-address-url.d.ts.map +1 -1
  106. package/dist/src/decorators/passthrough-address-url.js +4 -1
  107. package/dist/src/decorators/passthrough-address-url.js.map +1 -1
  108. package/dist/src/decorators/prefixed-graph-routes.d.ts +10 -0
  109. package/dist/src/decorators/prefixed-graph-routes.d.ts.map +1 -0
  110. package/dist/src/decorators/prefixed-graph-routes.js +27 -0
  111. package/dist/src/decorators/prefixed-graph-routes.js.map +1 -0
  112. package/dist/src/decorators/private-preview.d.ts +2 -2
  113. package/dist/src/decorators/private-preview.d.ts.map +1 -1
  114. package/dist/src/decorators/private-preview.js.map +1 -1
  115. package/dist/src/decorators/privileged.d.ts +2 -0
  116. package/dist/src/decorators/privileged.d.ts.map +1 -1
  117. package/dist/src/decorators/privileged.js +2 -0
  118. package/dist/src/decorators/privileged.js.map +1 -1
  119. package/dist/src/decorators/read-only.d.ts +2 -0
  120. package/dist/src/decorators/read-only.d.ts.map +1 -1
  121. package/dist/src/decorators/read-only.js +2 -0
  122. package/dist/src/decorators/read-only.js.map +1 -1
  123. package/dist/src/decorators/reference-target.d.ts +1 -0
  124. package/dist/src/decorators/reference-target.d.ts.map +1 -1
  125. package/dist/src/decorators/reference-target.js +1 -0
  126. package/dist/src/decorators/reference-target.js.map +1 -1
  127. package/dist/src/decorators/references.d.ts +2 -0
  128. package/dist/src/decorators/references.d.ts.map +1 -1
  129. package/dist/src/decorators/references.js +2 -0
  130. package/dist/src/decorators/references.js.map +1 -1
  131. package/dist/src/decorators/return-source.d.ts +2 -0
  132. package/dist/src/decorators/return-source.d.ts.map +1 -1
  133. package/dist/src/decorators/return-source.js +2 -0
  134. package/dist/src/decorators/return-source.js.map +1 -1
  135. package/dist/src/decorators/select.d.ts +2 -0
  136. package/dist/src/decorators/select.d.ts.map +1 -1
  137. package/dist/src/decorators/select.js +2 -0
  138. package/dist/src/decorators/select.js.map +1 -1
  139. package/dist/src/decorators/workload-name-msa.d.ts +2 -0
  140. package/dist/src/decorators/workload-name-msa.d.ts.map +1 -1
  141. package/dist/src/decorators/workload-name-msa.js +2 -0
  142. package/dist/src/decorators/workload-name-msa.js.map +1 -1
  143. package/dist/src/decorators/workload-name.d.ts +2 -0
  144. package/dist/src/decorators/workload-name.d.ts.map +1 -1
  145. package/dist/src/decorators/workload-name.js +2 -0
  146. package/dist/src/decorators/workload-name.js.map +1 -1
  147. package/dist/src/decorators/workload-namespace.d.ts +2 -0
  148. package/dist/src/decorators/workload-namespace.d.ts.map +1 -1
  149. package/dist/src/decorators/workload-namespace.js +2 -0
  150. package/dist/src/decorators/workload-namespace.js.map +1 -1
  151. package/dist/src/decorators/write-only.d.ts +2 -0
  152. package/dist/src/decorators/write-only.d.ts.map +1 -1
  153. package/dist/src/decorators/write-only.js +2 -0
  154. package/dist/src/decorators/write-only.js.map +1 -1
  155. package/dist/src/emitter.d.ts.map +1 -1
  156. package/dist/src/emitter.js +9 -6
  157. package/dist/src/emitter.js.map +1 -1
  158. package/dist/src/entities/address-url.js +2 -2
  159. package/dist/src/entities/address-url.js.map +1 -1
  160. package/dist/src/entities/annotations.d.ts +2 -2
  161. package/dist/src/entities/annotations.d.ts.map +1 -1
  162. package/dist/src/entities/annotations.js +15 -15
  163. package/dist/src/entities/annotations.js.map +1 -1
  164. package/dist/src/entities/entity-container.d.ts +3 -0
  165. package/dist/src/entities/entity-container.d.ts.map +1 -1
  166. package/dist/src/entities/entity-container.js +3 -0
  167. package/dist/src/entities/entity-container.js.map +1 -1
  168. package/dist/src/entities/enum.d.ts +1 -1
  169. package/dist/src/entities/enum.d.ts.map +1 -1
  170. package/dist/src/entities/enum.js +8 -6
  171. package/dist/src/entities/enum.js.map +1 -1
  172. package/dist/src/entities/model.d.ts +19 -11
  173. package/dist/src/entities/model.d.ts.map +1 -1
  174. package/dist/src/entities/model.js +100 -34
  175. package/dist/src/entities/model.js.map +1 -1
  176. package/dist/src/entities/ms-graph-route.d.ts.map +1 -1
  177. package/dist/src/entities/ms-graph-route.js +6 -9
  178. package/dist/src/entities/ms-graph-route.js.map +1 -1
  179. package/dist/src/entities/namespace.d.ts +12 -0
  180. package/dist/src/entities/namespace.d.ts.map +1 -1
  181. package/dist/src/entities/namespace.js +176 -17
  182. package/dist/src/entities/namespace.js.map +1 -1
  183. package/dist/src/entities/operation.d.ts +5 -0
  184. package/dist/src/entities/operation.d.ts.map +1 -1
  185. package/dist/src/entities/operation.js +59 -3
  186. package/dist/src/entities/operation.js.map +1 -1
  187. package/dist/src/entities/revision-definition.d.ts +2 -2
  188. package/dist/src/entities/revision-definition.d.ts.map +1 -1
  189. package/dist/src/entities/revision-definition.js +14 -3
  190. package/dist/src/entities/revision-definition.js.map +1 -1
  191. package/dist/src/index.d.ts +1 -0
  192. package/dist/src/index.d.ts.map +1 -1
  193. package/dist/src/index.js +1 -0
  194. package/dist/src/index.js.map +1 -1
  195. package/dist/src/lib.d.ts +11 -0
  196. package/dist/src/lib.d.ts.map +1 -1
  197. package/dist/src/lib.js +10 -2
  198. package/dist/src/lib.js.map +1 -1
  199. package/dist/src/linter.d.ts.map +1 -1
  200. package/dist/src/linter.js +14 -2
  201. package/dist/src/linter.js.map +1 -1
  202. package/dist/src/rules/address-url.d.ts +1 -0
  203. package/dist/src/rules/address-url.d.ts.map +1 -1
  204. package/dist/src/rules/address-url.js +85 -3
  205. package/dist/src/rules/address-url.js.map +1 -1
  206. package/dist/src/rules/delta.d.ts.map +1 -1
  207. package/dist/src/rules/delta.js +6 -7
  208. package/dist/src/rules/delta.js.map +1 -1
  209. package/dist/src/rules/documentation.d.ts +4 -0
  210. package/dist/src/rules/documentation.d.ts.map +1 -0
  211. package/dist/src/rules/documentation.js +88 -0
  212. package/dist/src/rules/documentation.js.map +1 -0
  213. package/dist/src/rules/entity.d.ts +3 -0
  214. package/dist/src/rules/entity.d.ts.map +1 -1
  215. package/dist/src/rules/entity.js +32 -5
  216. package/dist/src/rules/entity.js.map +1 -1
  217. package/dist/src/rules/enum.d.ts +2 -0
  218. package/dist/src/rules/enum.d.ts.map +1 -1
  219. package/dist/src/rules/enum.js +27 -1
  220. package/dist/src/rules/enum.js.map +1 -1
  221. package/dist/src/rules/expand.d.ts.map +1 -1
  222. package/dist/src/rules/expand.js +3 -6
  223. package/dist/src/rules/expand.js.map +1 -1
  224. package/dist/src/rules/filter.js +7 -7
  225. package/dist/src/rules/filter.js.map +1 -1
  226. package/dist/src/rules/function.d.ts +1 -0
  227. package/dist/src/rules/function.d.ts.map +1 -1
  228. package/dist/src/rules/function.js +39 -0
  229. package/dist/src/rules/function.js.map +1 -1
  230. package/dist/src/rules/graph-route.d.ts +1 -0
  231. package/dist/src/rules/graph-route.d.ts.map +1 -1
  232. package/dist/src/rules/graph-route.js +72 -1
  233. package/dist/src/rules/graph-route.js.map +1 -1
  234. package/dist/src/rules/index.d.ts +1 -0
  235. package/dist/src/rules/index.d.ts.map +1 -1
  236. package/dist/src/rules/index.js +1 -0
  237. package/dist/src/rules/index.js.map +1 -1
  238. package/dist/src/rules/model.d.ts +5 -0
  239. package/dist/src/rules/model.d.ts.map +1 -1
  240. package/dist/src/rules/model.js +73 -3
  241. package/dist/src/rules/model.js.map +1 -1
  242. package/dist/src/rules/operation-inside-interface.d.ts +3 -0
  243. package/dist/src/rules/operation-inside-interface.d.ts.map +1 -1
  244. package/dist/src/rules/operation-inside-interface.js +36 -2
  245. package/dist/src/rules/operation-inside-interface.js.map +1 -1
  246. package/dist/src/rules/order-by.js +3 -3
  247. package/dist/src/rules/order-by.js.map +1 -1
  248. package/dist/src/rules/ownerless.d.ts.map +1 -1
  249. package/dist/src/rules/ownerless.js +3 -6
  250. package/dist/src/rules/ownerless.js.map +1 -1
  251. package/dist/src/rules/record-t.d.ts +6 -0
  252. package/dist/src/rules/record-t.d.ts.map +1 -1
  253. package/dist/src/rules/record-t.js +48 -1
  254. package/dist/src/rules/record-t.js.map +1 -1
  255. package/dist/src/rules/required-for-create.d.ts.map +1 -1
  256. package/dist/src/rules/required-for-create.js +4 -5
  257. package/dist/src/rules/required-for-create.js.map +1 -1
  258. package/dist/src/utils.d.ts +20 -4
  259. package/dist/src/utils.d.ts.map +1 -1
  260. package/dist/src/utils.js +222 -113
  261. package/dist/src/utils.js.map +1 -1
  262. package/dist/src/validate.d.ts.map +1 -1
  263. package/dist/src/validate.js +5 -0
  264. package/dist/src/validate.js.map +1 -1
  265. package/lib/decorators.tsp +24 -12
  266. package/lib/shared-models.tsp +5 -0
  267. package/package.json +4 -5
  268. package/dist/src/decorators/flags.d.ts +0 -9
  269. package/dist/src/decorators/flags.d.ts.map +0 -1
  270. package/dist/src/decorators/flags.js +0 -13
  271. package/dist/src/decorators/flags.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"passthrough-address-url.d.ts","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIrF;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,GAAG,SAAS,EAC7B,GAAG,EAAE,MAAM,QAGZ;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAEjG;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAAG,SAAS,GAC5B,MAAM,GAAG,SAAS,CAEpB"}
1
+ {"version":3,"file":"passthrough-address-url.d.ts","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvD;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,GAAG,SAAS,EAC7B,GAAG,EAAE,MAAM,QAIZ;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAEjG;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAAG,SAAS,GAC5B,mBAAmB,GAAG,SAAS,CAEjC"}
@@ -4,9 +4,12 @@ const passthroughAddressUrlKey = Symbol("passthroughAddressUrlKey");
4
4
  * is authenticated with an AAD account and the request is eligible for response passthrough.
5
5
  *
6
6
  * `@passthroughAddressUrl` can only be applied to routed interfaces (entity sets, singletons and navigation properties) or action operations.
7
+ *
8
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/5026dfeee13c9c0f44b4c6299193a89fbb272778aa408e4cd02be293d872b74d)
7
9
  */
8
10
  export function $passthroughAddressUrl(context, target, url) {
9
- context.program.stateMap(passthroughAddressUrlKey).set(target, url);
11
+ // Adding omitRootNavigationSegment and appendSegmentNameToAddress to the state map so that returned value is consistent with other addressUrl decorators
12
+ context.program.stateMap(passthroughAddressUrlKey).set(target, { url, omitRootNavigationSegment: false, appendSegmentNameToAddress: false });
10
13
  }
11
14
  export function hasPassthroughAddressUrl(program, target) {
12
15
  return program.stateMap(passthroughAddressUrlKey).has(target);
@@ -1 +1 @@
1
- {"version":3,"file":"passthrough-address-url.js","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url.ts"],"names":[],"mappings":"AAEA,MAAM,wBAAwB,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAAyB,EACzB,MAA6B,EAC7B,GAAW;IAEX,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAAgB,EAAE,MAA6B;IACtF,OAAO,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,OAAgB,EAChB,MAA6B;IAE7B,OAAO,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAChE,CAAC"}
1
+ {"version":3,"file":"passthrough-address-url.js","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url.ts"],"names":[],"mappings":"AAGA,MAAM,wBAAwB,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC;AAEpE;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAAyB,EACzB,MAA6B,EAC7B,GAAW;IAEX,yJAAyJ;IACzJ,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,yBAAyB,EAAE,KAAK,EAAE,0BAA0B,EAAE,KAAK,EAAE,CAAC,CAAC;AAC/I,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAAgB,EAAE,MAA6B;IACtF,OAAO,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,OAAgB,EAChB,MAA6B;IAE7B,OAAO,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAChE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { DecoratorContext, Interface } from "@typespec/compiler";
2
+ /**
3
+ * `@prefixedGraphRoutes` - Allow us to define an interface or operation with multiple HTTP routes based on catenating a set of prefixes to a path.
4
+ * `@prefixedGraphRoutes` - Applies to interfaces.
5
+ *
6
+ * [See documentation](TBD)
7
+ */
8
+ export declare function $prefixedGraphRoutes(context: DecoratorContext, target: Interface, prefixes: any, // non-rest string arrays don't marshall as string arrays.
9
+ path?: string): void;
10
+ //# sourceMappingURL=prefixed-graph-routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefixed-graph-routes.d.ts","sourceRoot":"","sources":["../../../src/decorators/prefixed-graph-routes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,SAAS,EAEV,MAAM,oBAAoB,CAAC;AAG5B;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,GAAG,EAAG,0DAA0D;AAC1E,IAAI,CAAC,EAAE,MAAM,QAmBd"}
@@ -0,0 +1,27 @@
1
+ import { $graphRoute } from "./index.js";
2
+ /**
3
+ * `@prefixedGraphRoutes` - Allow us to define an interface or operation with multiple HTTP routes based on catenating a set of prefixes to a path.
4
+ * `@prefixedGraphRoutes` - Applies to interfaces.
5
+ *
6
+ * [See documentation](TBD)
7
+ */
8
+ export function $prefixedGraphRoutes(context, target, prefixes, // non-rest string arrays don't marshall as string arrays.
9
+ path) {
10
+ // Inject one @graphRoute per prefix/path combination.
11
+ for (const prefix of prefixes.values) {
12
+ let prefixValue = prefix.value;
13
+ if (prefixValue.endsWith("/")) {
14
+ prefixValue = prefixValue.slice(0, -1);
15
+ }
16
+ if (path) {
17
+ if (path.startsWith("/")) {
18
+ path = path.slice(1);
19
+ }
20
+ $graphRoute(context, target, `${prefixValue}/${path}`);
21
+ }
22
+ else {
23
+ $graphRoute(context, target, prefixValue);
24
+ }
25
+ }
26
+ }
27
+ //# sourceMappingURL=prefixed-graph-routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefixed-graph-routes.js","sourceRoot":"","sources":["../../../src/decorators/prefixed-graph-routes.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAO,YAAY,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,OAAyB,EACzB,MAAiB,EACjB,QAAa,EAAG,0DAA0D;AAC1E,IAAa;IAEb,sDAAsD;IACtD,KAAK,MAAM,MAAM,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QACrC,IAAI,WAAW,GAAU,MAAM,CAAC,KAAK,CAAC;QACtC,IAAI,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC9B,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACzC,CAAC;QAED,IAAI,IAAI,EAAE,CAAC;YACT,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;gBACzB,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACvB,CAAC;YACD,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,WAAW,IAAI,IAAI,EAAE,CAAC,CAAA;QACxD,CAAC;aACI,CAAC;YACJ,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,CAAA;QAC3C,CAAC;IACH,CAAC;AACH,CAAC"}
@@ -1,11 +1,11 @@
1
- import { DecoratorContext, Enum, EnumMember, Model, ModelProperty, Namespace, Operation, Program, Type } from "@typespec/compiler";
1
+ import { DecoratorContext, Enum, EnumMember, Interface, Model, ModelProperty, Namespace, Operation, Program, Type } from "@typespec/compiler";
2
2
  /**
3
3
  * `@privatePreview` - Allow us to deprecate a defined element.
4
4
  * `@privatePreview` - Applies to models, model properties, enums, enum members, namespaces and operations.
5
5
  *
6
6
  * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/191497a0ac1cc510194fe3c5ced2e7423ec60febb20c90ff5c28ff0d0d74b868)
7
7
  */
8
- export declare function $privatePreview(context: DecoratorContext, target: Model | ModelProperty | EnumMember | Enum | Operation | Namespace, name: string): void;
8
+ export declare function $privatePreview(context: DecoratorContext, target: Model | ModelProperty | EnumMember | Enum | Operation | Namespace | Interface, name: string): void;
9
9
  export declare function getPrivatePreview(program: Program, target: Type): string;
10
10
  export declare function isPrivatePreview(program: Program, target: Type): boolean;
11
11
  //# sourceMappingURL=private-preview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"private-preview.d.ts","sourceRoot":"","sources":["../../../src/decorators/private-preview.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,IAAI,EACJ,UAAU,EACV,KAAK,EACL,aAAa,EACb,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,EACzE,IAAI,EAAE,MAAM,QAGb;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,CAExE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,WAE9D"}
1
+ {"version":3,"file":"private-preview.d.ts","sourceRoot":"","sources":["../../../src/decorators/private-preview.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,IAAI,EACJ,UAAU,EACV,SAAS,EACT,KAAK,EACL,aAAa,EACb,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,EACrF,IAAI,EAAE,MAAM,QAGb;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,CAExE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,WAE9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"private-preview.js","sourceRoot":"","sources":["../../../src/decorators/private-preview.ts"],"names":[],"mappings":"AAYA,MAAM,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAC7B,OAAyB,EACzB,MAAyE,EACzE,IAAY;IAEZ,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,OAAgB,EAAE,MAAY;IAC9D,OAAO,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,OAAgB,EAAE,MAAY;IAC7D,OAAO,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACzD,CAAC"}
1
+ {"version":3,"file":"private-preview.js","sourceRoot":"","sources":["../../../src/decorators/private-preview.ts"],"names":[],"mappings":"AAaA,MAAM,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAC7B,OAAyB,EACzB,MAAqF,EACrF,IAAY;IAEZ,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,OAAgB,EAAE,MAAY;IAC9D,OAAO,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,OAAgB,EAAE,MAAY;IAC7D,OAAO,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACzD,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, Model, ModelProperty, Enum, EnumMember, Operation, Na
3
3
  * `@privileged` - mark the entity as privileged
4
4
  *
5
5
  * `@privileged` can be applied to Model, ModelProperty, Enum, EnumMember, Operation, Namespace.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/e4e5a27ad665f206b0f975cf6b32f7046cbef6b6cc150076e8de7d4942409337)
6
8
  */
7
9
  export declare function $privileged(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember | Operation | Namespace): void;
8
10
  export declare function isPrivileged(program: Program, target: Type): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"privileged.d.ts","sourceRoot":"","sources":["../../../src/decorators/privileged.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,IAAI,EACJ,UAAU,EACV,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,QAG1E;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,OAAO,CAEpE"}
1
+ {"version":3,"file":"privileged.d.ts","sourceRoot":"","sources":["../../../src/decorators/privileged.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,IAAI,EACJ,UAAU,EACV,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;;;GAMG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,QAG1E;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,OAAO,CAEpE"}
@@ -3,6 +3,8 @@ const privilegedKey = Symbol("privileged");
3
3
  * `@privileged` - mark the entity as privileged
4
4
  *
5
5
  * `@privileged` can be applied to Model, ModelProperty, Enum, EnumMember, Operation, Namespace.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/e4e5a27ad665f206b0f975cf6b32f7046cbef6b6cc150076e8de7d4942409337)
6
8
  */
7
9
  export function $privileged(context, target) {
8
10
  context.program.stateSet(privilegedKey).add(target);
@@ -1 +1 @@
1
- {"version":3,"file":"privileged.js","sourceRoot":"","sources":["../../../src/decorators/privileged.ts"],"names":[],"mappings":"AAYA,MAAM,aAAa,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAE3C;;;;GAIG;AACH,MAAM,UAAU,WAAW,CACzB,OAAyB,EACzB,MAAyE;IAEzE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,OAAgB,EAAE,MAAY;IACzD,OAAO,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACrD,CAAC"}
1
+ {"version":3,"file":"privileged.js","sourceRoot":"","sources":["../../../src/decorators/privileged.ts"],"names":[],"mappings":"AAYA,MAAM,aAAa,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CACzB,OAAyB,EACzB,MAAyE;IAEzE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,OAAgB,EAAE,MAAY;IACzD,OAAO,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACrD,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, ModelProperty, Program } from "@typespec/compiler";
3
3
  * `@readOnly` - mark a model property as readOnly property
4
4
  *
5
5
  * `@readOnly` can only be applied to model properties.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/dd3eb344f046a1acc2043b7e2dc1e00df4b060f12604408ef22d0cee9ec9e9bc)
6
8
  */
7
9
  export declare function $readOnly(context: DecoratorContext, entity: ModelProperty): void;
8
10
  export declare function isReadOnly(program: Program, property: ModelProperty): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"read-only.d.ts","sourceRoot":"","sources":["../../../src/decorators/read-only.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG9E;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,QAEzE;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,WAEnE"}
1
+ {"version":3,"file":"read-only.d.ts","sourceRoot":"","sources":["../../../src/decorators/read-only.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG9E;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,QAEzE;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,WAEnE"}
@@ -3,6 +3,8 @@ const readOnlyKey = Symbol("readOnly");
3
3
  * `@readOnly` - mark a model property as readOnly property
4
4
  *
5
5
  * `@readOnly` can only be applied to model properties.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/dd3eb344f046a1acc2043b7e2dc1e00df4b060f12604408ef22d0cee9ec9e9bc)
6
8
  */
7
9
  export function $readOnly(context, entity) {
8
10
  context.program.stateSet(readOnlyKey).add(entity);
@@ -1 +1 @@
1
- {"version":3,"file":"read-only.js","sourceRoot":"","sources":["../../../src/decorators/read-only.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AACvC;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAC,OAAyB,EAAE,MAAqB;IACxE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,OAAgB,EAAE,QAAuB;IAClE,OAAO,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACrD,CAAC"}
1
+ {"version":3,"file":"read-only.js","sourceRoot":"","sources":["../../../src/decorators/read-only.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AACvC;;;;;;GAMG;AACH,MAAM,UAAU,SAAS,CAAC,OAAyB,EAAE,MAAqB;IACxE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,OAAgB,EAAE,QAAuB;IAClE,OAAO,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACrD,CAAC"}
@@ -4,6 +4,7 @@ import { DecoratorContext, Interface, Program } from "@typespec/compiler";
4
4
  *
5
5
  * @referenceTarget - Applies to interfaces
6
6
  *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/a42dcc762de8a9b5931abfd4d9ec732caa542f63b5dbc7bc297cadc0eb5c4f3b)
7
8
  */
8
9
  export declare function $referenceTarget(context: DecoratorContext, target: Interface, value: string): void;
9
10
  export declare function hasReferenceTarget(program: Program, target: Interface): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"reference-target.d.ts","sourceRoot":"","sources":["../../../src/decorators/reference-target.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;;;GAKG;AAEH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,QAE3F;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAE/E;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,MAAM,CAE9E;AAGD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,sCAAsC,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAU7K"}
1
+ {"version":3,"file":"reference-target.d.ts","sourceRoot":"","sources":["../../../src/decorators/reference-target.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,QAE3F;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAE/E;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,MAAM,CAE9E;AAGD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,sCAAsC,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAU7K"}
@@ -5,6 +5,7 @@ const referenceTargetKey = Symbol("referenceTarget");
5
5
  *
6
6
  * @referenceTarget - Applies to interfaces
7
7
  *
8
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/a42dcc762de8a9b5931abfd4d9ec732caa542f63b5dbc7bc297cadc0eb5c4f3b)
8
9
  */
9
10
  export function $referenceTarget(context, target, value) {
10
11
  context.program.stateMap(referenceTargetKey).set(target, value);
@@ -1 +1 @@
1
- {"version":3,"file":"reference-target.js","sourceRoot":"","sources":["../../../src/decorators/reference-target.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,kBAAkB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AACrD;;;;;GAKG;AAEH,MAAM,UAAU,gBAAgB,CAAC,OAAyB,EAAE,MAAiB,EAAE,KAAa;IAC1F,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAA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AAkB,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC5E,CAAC;QACD,MAAM;IACR,CAAC;IAED,oDAAoD;IACpD,IAAG,kBAAkB,CAAC,UAAU,CAAC,UAAU,GAAC,GAAG,CAAC,EAAC,CAAC;QAChD,kBAAkB,GAAG,kBAAkB,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IACtE,CAAC;IACD,OAAO,kBAAkB,CAAC;AAC5B,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, ModelProperty, Program } from "@typespec/compiler";
3
3
  * `@references` - mark a model property as a contained navigation property
4
4
  *
5
5
  * `@references` can only be applied to navigation model properties.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/0284d100531c53b4d72dc56f3318eb7a0662b63de027ae673248fcf26efa88c5)
6
8
  */
7
9
  export declare function $references(context: DecoratorContext, entity: ModelProperty): void;
8
10
  export declare function isReferences(program: Program, property: ModelProperty): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../../src/decorators/references.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI9E;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,QAE3E;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,WAErE"}
1
+ {"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../../src/decorators/references.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI9E;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,QAE3E;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,WAErE"}
@@ -3,6 +3,8 @@ const referencesKey = Symbol("references");
3
3
  * `@references` - mark a model property as a contained navigation property
4
4
  *
5
5
  * `@references` can only be applied to navigation model properties.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/0284d100531c53b4d72dc56f3318eb7a0662b63de027ae673248fcf26efa88c5)
6
8
  */
7
9
  export function $references(context, entity) {
8
10
  context.program.stateSet(referencesKey).add(entity);
@@ -1 +1 @@
1
- {"version":3,"file":"references.js","sourceRoot":"","sources":["../../../src/decorators/references.ts"],"names":[],"mappings":"AAEA,MAAM,aAAa,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAE3C;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,OAAyB,EAAE,MAAqB;IAC1E,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,OAAgB,EAAE,QAAuB;IACpE,OAAO,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACvD,CAAC"}
1
+ {"version":3,"file":"references.js","sourceRoot":"","sources":["../../../src/decorators/references.ts"],"names":[],"mappings":"AAEA,MAAM,aAAa,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAC,OAAyB,EAAE,MAAqB;IAC1E,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,OAAgB,EAAE,QAAuB;IACpE,OAAO,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACvD,CAAC"}
@@ -2,6 +2,8 @@ import { DecoratorContext, Operation, Program } from "@typespec/compiler";
2
2
  /**
3
3
  * '@returnSource' - mark an action or function as having an entitysetpath
4
4
  * '@returnSource' - can only be applied to action and function operations.
5
+ *
6
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/6a7f07411b8cd7864b9b0d0f8a6039a9fe00bbb95397f8adfb287e5e6c60629f)
5
7
  */
6
8
  export declare function $returnSource(context: DecoratorContext, target: Operation, source: string | null): void;
7
9
  export declare function hasReturnSource(program: Program, target: Operation): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"return-source.d.ts","sourceRoot":"","sources":["../../../src/decorators/return-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;GAGG;AAGH,wBAAgB,aAAa,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,QAKhG;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,WAElE;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CASlF"}
1
+ {"version":3,"file":"return-source.d.ts","sourceRoot":"","sources":["../../../src/decorators/return-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;;;GAKG;AAGH,wBAAgB,aAAa,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,QAKhG;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,WAElE;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CASlF"}
@@ -3,6 +3,8 @@ const sourcePrefix = "bindingParameter/";
3
3
  /**
4
4
  * '@returnSource' - mark an action or function as having an entitysetpath
5
5
  * '@returnSource' - can only be applied to action and function operations.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/6a7f07411b8cd7864b9b0d0f8a6039a9fe00bbb95397f8adfb287e5e6c60629f)
6
8
  */
7
9
  export function $returnSource(context, target, source) {
8
10
  // We have to do an explicit null check because an empty string is a valid value
@@ -1 +1 @@
1
- {"version":3,"file":"return-source.js","sourceRoot":"","sources":["../../../src/decorators/return-source.ts"],"names":[],"mappings":"AAEA,MAAM,eAAe,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAC/C,MAAM,YAAY,GAAG,mBAAmB,CAAC;AACzC;;;GAGG;AAGH,MAAM,UAAU,aAAa,CAAC,OAAyB,EAAE,MAAiB,EAAE,MAAqB;IAC/F,gFAAgF;IAChF,IAAG,MAAM,KAAK,IAAI,EAAC,CAAC;QAClB,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChE,CAAC;AACH,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,OAAgB,EAAE,MAAiB;IACjE,OAAO,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,OAAgB,EAAE,MAAiB;IACjE,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACjE,IAAG,OAAM,CAAC,UAAU,CAAC,KAAK,QAAQ,EAAC,CAAC;QAClC,OAAO,IAAI,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C;IACD,OAAO,YAAY,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;AAC1C,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, Operation, Program } from "@typespec/compiler";
3
3
  * `@select` - mark an operation as supporting the $select query parameter
4
4
  *
5
5
  * `@select` can only be applied to operations.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/3f6e0463cac291ba6e0f8a58f46857d8e34332778fa9315f09e631e0b95e5083)
6
8
  */
7
9
  export declare function $select(context: DecoratorContext, operation: Operation): void;
8
10
  export declare function isSelect(program: Program, operation: Operation): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/decorators/select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,QAEtE;AAED,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,WAE9D"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/decorators/select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,QAEtE;AAED,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,WAE9D"}
@@ -3,6 +3,8 @@ const selectKey = Symbol("select");
3
3
  * `@select` - mark an operation as supporting the $select query parameter
4
4
  *
5
5
  * `@select` can only be applied to operations.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/3f6e0463cac291ba6e0f8a58f46857d8e34332778fa9315f09e631e0b95e5083)
6
8
  */
7
9
  export function $select(context, operation) {
8
10
  context.program.stateSet(selectKey).add(operation);
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/decorators/select.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AAEnC;;;;GAIG;AACH,MAAM,UAAU,OAAO,CAAC,OAAyB,EAAE,SAAoB;IACrE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,OAAgB,EAAE,SAAoB;IAC7D,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC"}
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/decorators/select.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAC,OAAyB,EAAE,SAAoB;IACrE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,OAAgB,EAAE,SAAoB;IAC7D,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, Model, ModelProperty, Enum, EnumMember, Program, Type
3
3
  * `@workloadNameMsa` - specifies the name used by the underlying workload for consumer use cases
4
4
  *
5
5
  * `@workloadNameMsa` can be applied to Model, ModelProperty, Enum, EnumMember.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/0cb649c38bf50591840c71606e6ca5b322110f8146a6b2bf760550f33f888c2b)
6
8
  */
7
9
  export declare function $workloadNameMsa(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember, workloadNameMsa: string): void;
8
10
  export declare function getWorkloadNameMsa(program: Program, target: Type): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"workload-name-msa.d.ts","sourceRoot":"","sources":["../../../src/decorators/workload-name-msa.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,IAAI,EACJ,UAAU,EACV,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,EACjD,eAAe,EAAE,MAAM,QAGxB;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAErF"}
1
+ {"version":3,"file":"workload-name-msa.d.ts","sourceRoot":"","sources":["../../../src/decorators/workload-name-msa.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,IAAI,EACJ,UAAU,EACV,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,EACjD,eAAe,EAAE,MAAM,QAGxB;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAErF"}
@@ -3,6 +3,8 @@ const workloadNameMsaKey = Symbol("workloadNameMsa");
3
3
  * `@workloadNameMsa` - specifies the name used by the underlying workload for consumer use cases
4
4
  *
5
5
  * `@workloadNameMsa` can be applied to Model, ModelProperty, Enum, EnumMember.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/0cb649c38bf50591840c71606e6ca5b322110f8146a6b2bf760550f33f888c2b)
6
8
  */
7
9
  export function $workloadNameMsa(context, target, workloadNameMsa) {
8
10
  context.program.stateMap(workloadNameMsaKey).set(target, workloadNameMsa);
@@ -1 +1 @@
1
- {"version":3,"file":"workload-name-msa.js","sourceRoot":"","sources":["../../../src/decorators/workload-name-msa.ts"],"names":[],"mappings":"AAUA,MAAM,kBAAkB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAErD;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAyB,EACzB,MAAiD,EACjD,eAAuB;IAEvB,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAgB,EAAE,MAAY;IAC/D,OAAO,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC1D,CAAC"}
1
+ {"version":3,"file":"workload-name-msa.js","sourceRoot":"","sources":["../../../src/decorators/workload-name-msa.ts"],"names":[],"mappings":"AAUA,MAAM,kBAAkB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAyB,EACzB,MAAiD,EACjD,eAAuB;IAEvB,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAgB,EAAE,MAAY;IAC/D,OAAO,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC1D,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, Model, ModelProperty, Enum, EnumMember, Program, Type
3
3
  * `@workloadName` - specifies the name used by the underlying workload
4
4
  *
5
5
  * `@workloadName` can be applied to Model, ModelProperty, Enum, EnumMember.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/54677e92d80969ae094ae450dc35d1951406d31002a24fcad114062aa93d8873)
6
8
  */
7
9
  export declare function $workloadName(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember, workloadName: string): void;
8
10
  export declare function getWorkloadName(program: Program, target: Type): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"workload-name.d.ts","sourceRoot":"","sources":["../../../src/decorators/workload-name.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,IAAI,EACJ,UAAU,EACV,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,EACjD,YAAY,EAAE,MAAM,QAGrB;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAElF"}
1
+ {"version":3,"file":"workload-name.d.ts","sourceRoot":"","sources":["../../../src/decorators/workload-name.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,IAAI,EACJ,UAAU,EACV,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,EACjD,YAAY,EAAE,MAAM,QAGrB;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAElF"}
@@ -3,6 +3,8 @@ const workloadNameKey = Symbol("workloadName");
3
3
  * `@workloadName` - specifies the name used by the underlying workload
4
4
  *
5
5
  * `@workloadName` can be applied to Model, ModelProperty, Enum, EnumMember.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/54677e92d80969ae094ae450dc35d1951406d31002a24fcad114062aa93d8873)
6
8
  */
7
9
  export function $workloadName(context, target, workloadName) {
8
10
  context.program.stateMap(workloadNameKey).set(target, workloadName);
@@ -1 +1 @@
1
- {"version":3,"file":"workload-name.js","sourceRoot":"","sources":["../../../src/decorators/workload-name.ts"],"names":[],"mappings":"AAUA,MAAM,eAAe,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAE/C;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,OAAyB,EACzB,MAAiD,EACjD,YAAoB;IAEpB,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,OAAgB,EAAE,MAAY;IAC5D,OAAO,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACvD,CAAC"}
1
+ {"version":3,"file":"workload-name.js","sourceRoot":"","sources":["../../../src/decorators/workload-name.ts"],"names":[],"mappings":"AAUA,MAAM,eAAe,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAC3B,OAAyB,EACzB,MAAiD,EACjD,YAAoB;IAEpB,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,OAAgB,EAAE,MAAY;IAC5D,OAAO,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACvD,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, Program, Namespace } from "@typespec/compiler";
3
3
  * `@workloadNamespace` - defines the namespace to be used in generating CSDL output for all elements contained within the namespace
4
4
  *
5
5
  * `@workloadNamespace` can only be applied to namespaces.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/02bc8e21acce2b7e8f9d6de10c7333c1f1f9990d54321ce9fc4899fe301e5064)
6
8
  */
7
9
  export declare function $workloadNamespace(context: DecoratorContext, namespace: Namespace, name: string): void;
8
10
  export declare function hasWorkloadNamespace(program: Program, namespace: Namespace): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"workload-namespace.d.ts","sourceRoot":"","sources":["../../../src/decorators/workload-namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,QAE/F;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,WAE1E;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAKnG"}
1
+ {"version":3,"file":"workload-namespace.d.ts","sourceRoot":"","sources":["../../../src/decorators/workload-namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI1E;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,QAE/F;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,WAE1E;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAKnG"}
@@ -3,6 +3,8 @@ const workloadNamespaceKey = Symbol("workloadNamespace");
3
3
  * `@workloadNamespace` - defines the namespace to be used in generating CSDL output for all elements contained within the namespace
4
4
  *
5
5
  * `@workloadNamespace` can only be applied to namespaces.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/02bc8e21acce2b7e8f9d6de10c7333c1f1f9990d54321ce9fc4899fe301e5064)
6
8
  */
7
9
  export function $workloadNamespace(context, namespace, name) {
8
10
  context.program.stateMap(workloadNamespaceKey).set(namespace, name);
@@ -1 +1 @@
1
- {"version":3,"file":"workload-namespace.js","sourceRoot":"","sources":["../../../src/decorators/workload-namespace.ts"],"names":[],"mappings":"AAEA,MAAM,oBAAoB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAEzD;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAyB,EAAE,SAAoB,EAAE,IAAY;IAC9F,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,OAAgB,EAAE,SAAoB;IACzE,OAAO,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAAgB,EAAE,SAAoB;IAC7E,IAAG,oBAAoB,CAAC,OAAO,EAAE,SAAS,CAAC,EAAC,CAAC;QAC3C,OAAO,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO,SAAS,CAAC,SAAS,CAAA,CAAC,CAAC,wBAAwB,CAAC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACjG,CAAC"}
1
+ {"version":3,"file":"workload-namespace.js","sourceRoot":"","sources":["../../../src/decorators/workload-namespace.ts"],"names":[],"mappings":"AAEA,MAAM,oBAAoB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAyB,EAAE,SAAoB,EAAE,IAAY;IAC9F,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,OAAgB,EAAE,SAAoB;IACzE,OAAO,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAAgB,EAAE,SAAoB;IAC7E,IAAG,oBAAoB,CAAC,OAAO,EAAE,SAAS,CAAC,EAAC,CAAC;QAC3C,OAAO,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO,SAAS,CAAC,SAAS,CAAA,CAAC,CAAC,wBAAwB,CAAC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACjG,CAAC"}
@@ -3,6 +3,8 @@ import { DecoratorContext, ModelProperty, Program } from "@typespec/compiler";
3
3
  * `@writeOnly` - mark a model property as writeOnly property
4
4
  *
5
5
  * `@writeOnly` can only be applied to model properties.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/ce2078fa578f9632643b80d720de769392841cb429cc6aadcd2ec9f3bda893a2)
6
8
  */
7
9
  export declare function $writeOnly(context: DecoratorContext, entity: ModelProperty): void;
8
10
  export declare function isWriteOnly(program: Program, property: ModelProperty): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"write-only.d.ts","sourceRoot":"","sources":["../../../src/decorators/write-only.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG9E;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,QAE1E;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,WAEpE"}
1
+ {"version":3,"file":"write-only.d.ts","sourceRoot":"","sources":["../../../src/decorators/write-only.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG9E;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,QAE1E;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,WAEpE"}
@@ -3,6 +3,8 @@ const writeOnlyKey = Symbol("writeOnly");
3
3
  * `@writeOnly` - mark a model property as writeOnly property
4
4
  *
5
5
  * `@writeOnly` can only be applied to model properties.
6
+ *
7
+ * [See documentation](https://eng.ms/cid/8de40593-4e2f-4f27-b24b-9f1895402243/fid/ce2078fa578f9632643b80d720de769392841cb429cc6aadcd2ec9f3bda893a2)
6
8
  */
7
9
  export function $writeOnly(context, entity) {
8
10
  context.program.stateSet(writeOnlyKey).add(entity);
@@ -1 +1 @@
1
- {"version":3,"file":"write-only.js","sourceRoot":"","sources":["../../../src/decorators/write-only.ts"],"names":[],"mappings":"AAEA,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AACzC;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,OAAyB,EAAE,MAAqB;IACzE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,OAAgB,EAAE,QAAuB;IACnE,OAAO,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACtD,CAAC"}
1
+ {"version":3,"file":"write-only.js","sourceRoot":"","sources":["../../../src/decorators/write-only.ts"],"names":[],"mappings":"AAEA,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AACzC;;;;;;GAMG;AACH,MAAM,UAAU,UAAU,CAAC,OAAyB,EAAE,MAAqB;IACzE,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,OAAgB,EAAE,QAAuB;IACnE,OAAO,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../src/emitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA2E,MAAM,oBAAoB,CAAC;AAG1H,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AAEnD,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,qBAAqB,CAAC,iBA6BxE"}
1
+ {"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../src/emitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA2E,MAAM,oBAAoB,CAAC;AAG1H,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AAEnD,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,qBAAqB,CAAC,iBAkCxE"}
@@ -5,17 +5,20 @@ export const defaultCsdlFileName = "workload.csdl";
5
5
  export async function $onEmit(context) {
6
6
  const program = context.program;
7
7
  const namespaces = GetMsGraphNamespaces(program);
8
- const csdl = renderCsdl(namespaces);
8
+ const localFile = Array.from(program.sourceFiles.keys())
9
+ .find((sourceFile) => sourceFile.startsWith(program.projectRoot));
10
+ const typespecFilename = localFile === null || localFile === void 0 ? void 0 : localFile.replace(/^.*[\\/]/, '');
11
+ const xmlComment = typespecFilename
12
+ ? `<!-- This file is auto-generated from the TypeSpec source '${typespecFilename}'. DO NOT MODIFY -->`
13
+ : `<!-- Automatically generated file. DO NOT MODIFY`;
14
+ const csdl = `${xmlComment}\n${renderCsdl(namespaces)}`;
9
15
  if (program.compilerOptions.noEmit === true)
10
16
  return;
11
17
  await program.host.mkdirp(program.compilerOptions.outputDir);
12
18
  let csdlFileName = context.options.filename;
13
19
  if (csdlFileName === undefined) {
14
- const localFiles = Array.from(program.sourceFiles.keys()).filter((sourceFile) => sourceFile.startsWith(program.projectRoot));
15
- if (localFiles.length > 0) {
16
- const firstFile = localFiles[0];
17
- const firstFileName = firstFile.replace(/^.*[\\/]/, '');
18
- const firstFileStem = removeExtension(firstFileName);
20
+ if (typespecFilename) {
21
+ const firstFileStem = removeExtension(typespecFilename);
19
22
  csdlFileName = `${firstFileStem}.csdl`;
20
23
  }
21
24
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"emitter.js","sourceRoot":"","sources":["../../src/emitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,WAAW,EAA8D,MAAM,oBAAoB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AC,8DAA8D,gBAAgB,uBAAuB;QACvG,CAAC,CAAC,kDAAkD,CAAC;IAEvD,MAAM,IAAI,GAAG,GAAG,UAAU,KAAK,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;IAExD,IAAG,OAAO,CAAC,eAAe,CAAC,MAAM,KAAK,IAAI;QAAE,OAAO;IAEnD,MAAM,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,SAAU,CAAC,CAAC;IAE9D,IAAI,YAAY,GAAoB,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC7D,IAAG,YAAY,KAAK,SAAS,EAAE,CAAC;QAC9B,IAAI,gBAAgB,EAAE,CAAC;YACrB,MAAM,aAAa,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;YACxD,YAAY,GAAG,GAAG,aAAa,OAAO,CAAC;QACzC,CAAC;aAED,CAAC;YACC,qBAAqB;YACrB,YAAY,GAAG,mBAAmB,CAAC;QACrC,CAAC;IACH,CAAC;IAED,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,CAAC,eAAe,CAAC,SAAU,EAAE,YAAY,CAAC,CAAC;IAE/E,MAAM,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,eAAe,CAAC,QAAe;IACtC,MAAM,YAAY,GAAG,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC/C,IAAI,YAAY,KAAK,CAAC,CAAC,EAAE,CAAC;QACtB,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,QAAQ,CAAC,CAAC,qBAAqB;AACxC,CAAC"}
@@ -17,14 +17,14 @@ export function getMsGraphAddressUrlMsa(program, target) {
17
17
  export function getMsGraphPassthroughAddressUrl(program, target) {
18
18
  if (hasPassthroughAddressUrl(program, target)) {
19
19
  const passthroughAddressUrl = getPassthroughAddressUrl(program, target);
20
- return populateMsGraphPassthroughAddressUrl("ags:PassthroughAddressUrl", passthroughAddressUrl);
20
+ return populateMsGraphPassthroughAddressUrl("ags:PassthroughAddressUrl", passthroughAddressUrl.url);
21
21
  }
22
22
  return undefined;
23
23
  }
24
24
  export function getMsGraphPassthroughAddressUrlMsa(program, target) {
25
25
  if (hasPassthroughAddressUrlMsa(program, target)) {
26
26
  const passthroughAddressUrlMsa = getPassthroughAddressUrlMsa(program, target);
27
- return populateMsGraphPassthroughAddressUrl("ags:PassthroughAddressUrlMSA", passthroughAddressUrlMsa);
27
+ return populateMsGraphPassthroughAddressUrl("ags:PassthroughAddressUrlMSA", passthroughAddressUrlMsa.url);
28
28
  }
29
29
  return undefined;
30
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"address-url.js","sourceRoot":"","sources":["../../../src/entities/address-url.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,8CAA8C,CAAC;AAKtD,MAAM,UAAU,oBAAoB,CAClC,OAAgB,EAChB,MAAiB;IAEjB,IAAI,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;QACnC,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC;QACnD,OAAO,yBAAyB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IACjE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,OAAgB,EAChB,MAAiB;IAEjB,IAAI,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;QACtC,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC;QACzD,OAAO,yBAAyB,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AAC;IACnF,OAAO,4BAA4B,CAAC;AACtC,CAAC"}
1
+ {"version":3,"file":"address-url.js","sourceRoot":"","sources":["../../../src/entities/address-url.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,8CAA8C,CAAC;AAKtD,MAAM,UAAU,oBAAoB,CAClC,OAAgB,EAChB,MAAiB;IAEjB,IAAI,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;QACnC,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC;QACnD,OAAO,yBAAyB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IACjE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,OAAgB,EAChB,MAAiB;IAEjB,IAAI,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;QACtC,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC;QACzD,OAAO,yBAAyB,CAAC,mBAAmB,EAAE,aAAa,CAAC,CAAC;IACvE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC7C,OAAgB,EAChB,MAAiB;IAEjB,IAAI,wBAAwB,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC;QACzE,OAAO,oCAAoC,CAAC,2BAA2B,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IACtG,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,OAAgB,EAChB,MAAiB;IAEjB,IAAI,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;QACjD,MAAM,wBAAwB,GAAG,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC;QAC/E,OAAO,oCAAoC,CAAC,8BAA8B,EAAE,wBAAwB,CAAC,GAAG,CAAC,CAAC;IAC5G,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,yBAAyB,CAChC,iBAEuB,EACvB,UAA+B;IAE/B,MAAM,iBAAiB,GAAsB,EAAE,CAAC;IAChD,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC;IACtD,IAAI,UAAU,CAAC,yBAAyB,EAAE,CAAC;QACzC,iBAAiB,CAAC,qCAAqC,CAAC,GAAG,IAAI,CAAC;IAClE,CAAC;IACD,IAAI,UAAU,CAAC,0BAA0B,EAAE,CAAC;QAC1C,iBAAiB,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC;IAC7D,CAAC;IACD,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AAED,SAAS,oCAAoC,CAC3C,4BAA0F,EAC1F,qBAA6B;IAE7B,MAAM,4BAA4B,GAAiC,EAAE,CAAC;IACtE,4BAA4B,CAAC,4BAA4B,CAAC,GAAG,qBAAqB,CAAC;IACnF,OAAO,4BAA4B,CAAC;AACtC,CAAC"}
@@ -10,7 +10,7 @@ export interface ResourceAnnotations {
10
10
  HasExpandOnCollectionOrResource: boolean;
11
11
  NonExpandableProperties: string[] | undefined;
12
12
  Description: string | undefined;
13
- HasContainsOrReferences: boolean;
13
+ HasNavigationProperties: boolean;
14
14
  ExplicitBindingOperationNames: string[];
15
15
  IsSelectable: boolean;
16
16
  }
@@ -34,7 +34,7 @@ export interface CollectionAnnotations {
34
34
  NonSortableProperties: string[] | undefined;
35
35
  HasTopOnCollection: boolean;
36
36
  Description: string | undefined;
37
- HasContainsOrReferences: boolean;
37
+ HasNavigationProperties: boolean;
38
38
  ExplicitBindingOperationNames: string[];
39
39
  IsSelectable: boolean;
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"annotations.d.ts","sourceRoot":"","sources":["../../../src/entities/annotations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,OAAO,EAAmC,MAAM,oBAAoB,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAuI,MAAM,aAAa,CAAC;AAEpL,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,+BAA+B,EAAE,OAAO,CAAC;IACzC,uBAAuB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC9C,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,uBAAuB,EAAE,OAAO,CAAC;IACjC,6BAA6B,EAAE,MAAM,EAAE,CAAC;IACxC,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,kBAAkB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IACzC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,+BAA+B,EAAE,OAAO,CAAC;IACzC,uBAAuB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC9C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,O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