@microsoft/typespec-msgraph 0.0.1-Preview.3 → 0.0.1-Preview.5

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 (204) hide show
  1. package/dist/src/components/alternate-keys-annotation.js +4 -4
  2. package/dist/src/components/alternate-keys-annotation.js.map +1 -1
  3. package/dist/src/components/annotations.d.ts +9 -0
  4. package/dist/src/components/annotations.d.ts.map +1 -0
  5. package/dist/src/components/annotations.js +50 -0
  6. package/dist/src/components/annotations.js.map +1 -0
  7. package/dist/src/components/common-elements.d.ts +17 -4
  8. package/dist/src/components/common-elements.d.ts.map +1 -1
  9. package/dist/src/components/common-elements.js +2 -2
  10. package/dist/src/components/common-elements.js.map +1 -1
  11. package/dist/src/components/computed-annotation.js +1 -1
  12. package/dist/src/components/computed-annotation.js.map +1 -1
  13. package/dist/src/components/count-restrictions-annotation.d.ts.map +1 -1
  14. package/dist/src/components/count-restrictions-annotation.js +3 -8
  15. package/dist/src/components/count-restrictions-annotation.js.map +1 -1
  16. package/dist/src/components/description-annotation.d.ts.map +1 -1
  17. package/dist/src/components/description-annotation.js +1 -0
  18. package/dist/src/components/description-annotation.js.map +1 -1
  19. package/dist/src/components/entity-container-element.d.ts +18 -3
  20. package/dist/src/components/entity-container-element.d.ts.map +1 -1
  21. package/dist/src/components/entity-container-element.js +6 -42
  22. package/dist/src/components/entity-container-element.js.map +1 -1
  23. package/dist/src/components/expand-restrictions-annotation.d.ts.map +1 -1
  24. package/dist/src/components/expand-restrictions-annotation.js +7 -13
  25. package/dist/src/components/expand-restrictions-annotation.js.map +1 -1
  26. package/dist/src/components/operation-element.js +3 -3
  27. package/dist/src/components/operation-element.js.map +1 -1
  28. package/dist/src/components/schema-element.d.ts.map +1 -1
  29. package/dist/src/components/schema-element.js +6 -3
  30. package/dist/src/components/schema-element.js.map +1 -1
  31. package/dist/src/components/search-restrictions-annotation.d.ts.map +1 -1
  32. package/dist/src/components/search-restrictions-annotation.js +3 -8
  33. package/dist/src/components/search-restrictions-annotation.js.map +1 -1
  34. package/dist/src/components/skip-supported-annotation.d.ts.map +1 -1
  35. package/dist/src/components/skip-supported-annotation.js +1 -6
  36. package/dist/src/components/skip-supported-annotation.js.map +1 -1
  37. package/dist/src/components/sort-restrictions-annotation.d.ts.map +1 -1
  38. package/dist/src/components/sort-restrictions-annotation.js +7 -13
  39. package/dist/src/components/sort-restrictions-annotation.js.map +1 -1
  40. package/dist/src/components/structured-type-element.d.ts +4 -7
  41. package/dist/src/components/structured-type-element.d.ts.map +1 -1
  42. package/dist/src/components/structured-type-element.js +21 -23
  43. package/dist/src/components/structured-type-element.js.map +1 -1
  44. package/dist/src/components/top-supported-annotation.d.ts.map +1 -1
  45. package/dist/src/components/top-supported-annotation.js +1 -4
  46. package/dist/src/components/top-supported-annotation.js.map +1 -1
  47. package/dist/src/decorators/{handlers/custom/additional-query-parameters.d.ts → additional-query-parameters.d.ts} +4 -3
  48. package/dist/src/decorators/additional-query-parameters.d.ts.map +1 -0
  49. package/dist/src/decorators/additional-query-parameters.js +21 -0
  50. package/dist/src/decorators/additional-query-parameters.js.map +1 -0
  51. package/dist/src/decorators/ags-attribute.d.ts +13 -0
  52. package/dist/src/decorators/ags-attribute.d.ts.map +1 -0
  53. package/dist/src/decorators/ags-attribute.js +68 -0
  54. package/dist/src/decorators/ags-attribute.js.map +1 -0
  55. package/dist/src/decorators/delta-collection.d.ts +8 -0
  56. package/dist/src/decorators/delta-collection.d.ts.map +1 -0
  57. package/dist/src/decorators/delta-collection.js +12 -0
  58. package/dist/src/decorators/delta-collection.js.map +1 -0
  59. package/dist/src/decorators/deprecated-definition.d.ts +3 -4
  60. package/dist/src/decorators/deprecated-definition.d.ts.map +1 -1
  61. package/dist/src/decorators/deprecated-definition.js +1 -7
  62. package/dist/src/decorators/deprecated-definition.js.map +1 -1
  63. package/dist/src/decorators/expand.d.ts +1 -2
  64. package/dist/src/decorators/expand.d.ts.map +1 -1
  65. package/dist/src/decorators/expand.js +1 -1
  66. package/dist/src/decorators/expand.js.map +1 -1
  67. package/dist/src/decorators/function.d.ts +1 -2
  68. package/dist/src/decorators/function.d.ts.map +1 -1
  69. package/dist/src/decorators/function.js +1 -1
  70. package/dist/src/decorators/function.js.map +1 -1
  71. package/dist/src/decorators/graph-route.d.ts +9 -0
  72. package/dist/src/decorators/graph-route.d.ts.map +1 -0
  73. package/dist/src/decorators/graph-route.js +84 -0
  74. package/dist/src/decorators/graph-route.js.map +1 -0
  75. package/dist/src/decorators/has-stream.d.ts +1 -2
  76. package/dist/src/decorators/has-stream.d.ts.map +1 -1
  77. package/dist/src/decorators/has-stream.js +1 -1
  78. package/dist/src/decorators/has-stream.js.map +1 -1
  79. package/dist/src/decorators/index.d.ts +9 -2
  80. package/dist/src/decorators/index.d.ts.map +1 -1
  81. package/dist/src/decorators/index.js +9 -2
  82. package/dist/src/decorators/index.js.map +1 -1
  83. package/dist/src/decorators/is-owner.d.ts +9 -0
  84. package/dist/src/decorators/is-owner.d.ts.map +1 -0
  85. package/dist/src/decorators/is-owner.js +14 -0
  86. package/dist/src/decorators/is-owner.js.map +1 -0
  87. package/dist/src/decorators/order-by.d.ts +1 -2
  88. package/dist/src/decorators/order-by.d.ts.map +1 -1
  89. package/dist/src/decorators/order-by.js +1 -1
  90. package/dist/src/decorators/order-by.js.map +1 -1
  91. package/dist/src/decorators/paged-collection.d.ts +8 -0
  92. package/dist/src/decorators/paged-collection.d.ts.map +1 -0
  93. package/dist/src/decorators/paged-collection.js +12 -0
  94. package/dist/src/decorators/paged-collection.js.map +1 -0
  95. package/dist/src/decorators/private-preview-definition.d.ts +3 -4
  96. package/dist/src/decorators/private-preview-definition.d.ts.map +1 -1
  97. package/dist/src/decorators/private-preview-definition.js +1 -6
  98. package/dist/src/decorators/private-preview-definition.js.map +1 -1
  99. package/dist/src/decorators/private-preview.d.ts +1 -2
  100. package/dist/src/decorators/private-preview.d.ts.map +1 -1
  101. package/dist/src/decorators/private-preview.js +1 -1
  102. package/dist/src/decorators/private-preview.js.map +1 -1
  103. package/dist/src/decorators/privileged.d.ts +9 -0
  104. package/dist/src/decorators/privileged.d.ts.map +1 -0
  105. package/dist/src/decorators/privileged.js +13 -0
  106. package/dist/src/decorators/privileged.js.map +1 -0
  107. package/dist/src/decorators/workload-name-msa.d.ts +9 -0
  108. package/dist/src/decorators/workload-name-msa.d.ts.map +1 -0
  109. package/dist/src/decorators/workload-name-msa.js +13 -0
  110. package/dist/src/decorators/workload-name-msa.js.map +1 -0
  111. package/dist/src/decorators/workload-name.d.ts +9 -0
  112. package/dist/src/decorators/workload-name.d.ts.map +1 -0
  113. package/dist/src/decorators/workload-name.js +13 -0
  114. package/dist/src/decorators/workload-name.js.map +1 -0
  115. package/dist/src/entities/annotations.d.ts +30 -0
  116. package/dist/src/entities/annotations.d.ts.map +1 -0
  117. package/dist/src/entities/annotations.js +97 -0
  118. package/dist/src/entities/annotations.js.map +1 -0
  119. package/dist/src/entities/entity-container.d.ts +3 -24
  120. package/dist/src/entities/entity-container.d.ts.map +1 -1
  121. package/dist/src/entities/entity-container.js +24 -118
  122. package/dist/src/entities/entity-container.js.map +1 -1
  123. package/dist/src/entities/enum.d.ts.map +1 -1
  124. package/dist/src/entities/enum.js +3 -3
  125. package/dist/src/entities/enum.js.map +1 -1
  126. package/dist/src/entities/model.d.ts +12 -22
  127. package/dist/src/entities/model.d.ts.map +1 -1
  128. package/dist/src/entities/model.js +64 -101
  129. package/dist/src/entities/model.js.map +1 -1
  130. package/dist/src/entities/namespace.d.ts +7 -2
  131. package/dist/src/entities/namespace.d.ts.map +1 -1
  132. package/dist/src/entities/namespace.js +20 -13
  133. package/dist/src/entities/namespace.js.map +1 -1
  134. package/dist/src/entities/operation.d.ts +2 -2
  135. package/dist/src/entities/operation.d.ts.map +1 -1
  136. package/dist/src/entities/operation.js +30 -14
  137. package/dist/src/entities/operation.js.map +1 -1
  138. package/dist/src/linter.d.ts.map +1 -1
  139. package/dist/src/linter.js +25 -25
  140. package/dist/src/linter.js.map +1 -1
  141. package/dist/src/rules/count.d.ts.map +1 -1
  142. package/dist/src/rules/count.js +3 -1
  143. package/dist/src/rules/count.js.map +1 -1
  144. package/dist/src/rules/entity.d.ts.map +1 -1
  145. package/dist/src/rules/entity.js +4 -1
  146. package/dist/src/rules/entity.js.map +1 -1
  147. package/dist/src/rules/expand.d.ts.map +1 -1
  148. package/dist/src/rules/expand.js +5 -7
  149. package/dist/src/rules/expand.js.map +1 -1
  150. package/dist/src/rules/index.d.ts.map +1 -1
  151. package/dist/src/rules/index.js +1 -0
  152. package/dist/src/rules/index.js.map +1 -1
  153. package/dist/src/rules/order-by.d.ts +1 -1
  154. package/dist/src/rules/order-by.d.ts.map +1 -1
  155. package/dist/src/rules/order-by.js +11 -10
  156. package/dist/src/rules/order-by.js.map +1 -1
  157. package/dist/src/rules/search.d.ts.map +1 -1
  158. package/dist/src/rules/search.js +3 -1
  159. package/dist/src/rules/search.js.map +1 -1
  160. package/dist/src/rules/skip.d.ts.map +1 -1
  161. package/dist/src/rules/skip.js +3 -1
  162. package/dist/src/rules/skip.js.map +1 -1
  163. package/dist/src/rules/top.d.ts.map +1 -1
  164. package/dist/src/rules/top.js +3 -1
  165. package/dist/src/rules/top.js.map +1 -1
  166. package/dist/src/utils.d.ts +16 -0
  167. package/dist/src/utils.d.ts.map +1 -1
  168. package/dist/src/utils.js +89 -1
  169. package/dist/src/utils.js.map +1 -1
  170. package/lib/decorators.tsp +90 -14
  171. package/lib/deployment.tsp +18 -0
  172. package/lib/lib.tsp +9 -14
  173. package/lib/msgraph.tsp +4 -0
  174. package/lib/porcelain.tsp +135 -0
  175. package/lib/responses.tsp +82 -0
  176. package/lib/shared-models.tsp +74 -0
  177. package/package.json +6 -10
  178. package/dist/src/decorators/attribute-builder.d.ts +0 -2
  179. package/dist/src/decorators/attribute-builder.d.ts.map +0 -1
  180. package/dist/src/decorators/attribute-builder.js +0 -166
  181. package/dist/src/decorators/attribute-builder.js.map +0 -1
  182. package/dist/src/decorators/attributes.d.ts +0 -57
  183. package/dist/src/decorators/attributes.d.ts.map +0 -1
  184. package/dist/src/decorators/attributes.js +0 -50
  185. package/dist/src/decorators/attributes.js.map +0 -1
  186. package/dist/src/decorators/decorator-parameter.d.ts +0 -4
  187. package/dist/src/decorators/decorator-parameter.d.ts.map +0 -1
  188. package/dist/src/decorators/decorator-parameter.js +0 -2
  189. package/dist/src/decorators/decorator-parameter.js.map +0 -1
  190. package/dist/src/decorators/handlers/custom/additional-query-parameters.d.ts.map +0 -1
  191. package/dist/src/decorators/handlers/custom/additional-query-parameters.js +0 -38
  192. package/dist/src/decorators/handlers/custom/additional-query-parameters.js.map +0 -1
  193. package/dist/src/decorators/handlers/custom/ags-attribute.d.ts +0 -8
  194. package/dist/src/decorators/handlers/custom/ags-attribute.d.ts.map +0 -1
  195. package/dist/src/decorators/handlers/custom/ags-attribute.js +0 -36
  196. package/dist/src/decorators/handlers/custom/ags-attribute.js.map +0 -1
  197. package/dist/src/decorators/handlers/custom/index.d.ts +0 -3
  198. package/dist/src/decorators/handlers/custom/index.d.ts.map +0 -1
  199. package/dist/src/decorators/handlers/custom/index.js +0 -3
  200. package/dist/src/decorators/handlers/custom/index.js.map +0 -1
  201. package/dist/src/decorators/handlers/index.d.ts +0 -31
  202. package/dist/src/decorators/handlers/index.d.ts.map +0 -1
  203. package/dist/src/decorators/handlers/index.js +0 -121
  204. package/dist/src/decorators/handlers/index.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/decorators/handlers/index.ts"],"names":[],"mappings":"AACE;;GAEG;AAEL,OAAO,EACL,yBAAyB,GAW1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,aAAa,MAAM,mBAAmB,CAAC;AAGnD,wBAAwB;AAExB,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AACrC,MAAM,gBAAgB,GAAG,yBAAyB,CAAC;IACjD,IAAI,EAAE,U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