@microsoft/typespec-msgraph 0.0.1-Preview.15 → 0.0.1-Preview.17
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.
- package/dist/src/components/operation-element.js +1 -1
- package/dist/src/components/operation-element.js.map +1 -1
- package/dist/src/components/property-element.js +1 -1
- package/dist/src/components/property-element.js.map +1 -1
- package/dist/src/components/structured-type-element.d.ts.map +1 -1
- package/dist/src/components/structured-type-element.js +4 -4
- package/dist/src/components/structured-type-element.js.map +1 -1
- package/dist/src/decorators/graph-route.d.ts.map +1 -1
- package/dist/src/decorators/graph-route.js +3 -0
- package/dist/src/decorators/graph-route.js.map +1 -1
- package/dist/src/decorators/index.d.ts +12 -10
- package/dist/src/decorators/index.d.ts.map +1 -1
- package/dist/src/decorators/index.js +12 -10
- package/dist/src/decorators/index.js.map +1 -1
- package/dist/src/decorators/limited-charset.d.ts +9 -0
- package/dist/src/decorators/limited-charset.d.ts.map +1 -0
- package/dist/src/decorators/limited-charset.js +13 -0
- package/dist/src/decorators/limited-charset.js.map +1 -0
- package/dist/src/decorators/media.d.ts +10 -0
- package/dist/src/decorators/media.d.ts.map +1 -0
- package/dist/src/decorators/media.js +16 -0
- package/dist/src/decorators/media.js.map +1 -0
- package/dist/src/decorators/passthrough-address-url-msa.d.ts +2 -3
- package/dist/src/decorators/passthrough-address-url-msa.d.ts.map +1 -1
- package/dist/src/decorators/passthrough-address-url-msa.js +2 -4
- package/dist/src/decorators/passthrough-address-url-msa.js.map +1 -1
- package/dist/src/decorators/passthrough-address-url.d.ts +2 -3
- package/dist/src/decorators/passthrough-address-url.d.ts.map +1 -1
- package/dist/src/decorators/passthrough-address-url.js +2 -4
- package/dist/src/decorators/passthrough-address-url.js.map +1 -1
- package/dist/src/decorators/workload-namespace.d.ts +10 -0
- package/dist/src/decorators/workload-namespace.d.ts.map +1 -0
- package/dist/src/decorators/workload-namespace.js +19 -0
- package/dist/src/decorators/workload-namespace.js.map +1 -0
- package/dist/src/dom/error-interceptor.d.ts +2 -0
- package/dist/src/dom/error-interceptor.d.ts.map +1 -0
- package/dist/src/dom/error-interceptor.js +13 -0
- package/dist/src/dom/error-interceptor.js.map +1 -0
- package/dist/src/dom/renderer.d.ts +1 -0
- package/dist/src/dom/renderer.d.ts.map +1 -1
- package/dist/src/dom/renderer.js +1 -0
- package/dist/src/dom/renderer.js.map +1 -1
- package/dist/src/entities/address-url.d.ts +3 -2
- package/dist/src/entities/address-url.d.ts.map +1 -1
- package/dist/src/entities/address-url.js +7 -2
- package/dist/src/entities/address-url.js.map +1 -1
- package/dist/src/entities/annotations.d.ts.map +1 -1
- package/dist/src/entities/annotations.js +26 -20
- package/dist/src/entities/annotations.js.map +1 -1
- package/dist/src/entities/model.d.ts +6 -5
- package/dist/src/entities/model.d.ts.map +1 -1
- package/dist/src/entities/model.js +7 -5
- package/dist/src/entities/model.js.map +1 -1
- package/dist/src/entities/ms-graph-route.d.ts.map +1 -1
- package/dist/src/entities/ms-graph-route.js +8 -2
- package/dist/src/entities/ms-graph-route.js.map +1 -1
- package/dist/src/entities/namespace.js +3 -3
- package/dist/src/entities/namespace.js.map +1 -1
- package/dist/src/entities/operation.d.ts +1 -0
- package/dist/src/entities/operation.d.ts.map +1 -1
- package/dist/src/entities/operation.js +3 -2
- package/dist/src/entities/operation.js.map +1 -1
- package/dist/src/lib.d.ts +2 -0
- package/dist/src/lib.d.ts.map +1 -1
- package/dist/src/lib.js +1 -0
- package/dist/src/lib.js.map +1 -1
- package/dist/src/linter.d.ts.map +1 -1
- package/dist/src/linter.js +4 -2
- package/dist/src/linter.js.map +1 -1
- package/dist/src/rules/address-url.d.ts +1 -0
- package/dist/src/rules/address-url.d.ts.map +1 -1
- package/dist/src/rules/address-url.js +62 -0
- package/dist/src/rules/address-url.js.map +1 -1
- package/dist/src/rules/computed.d.ts +0 -2
- package/dist/src/rules/computed.d.ts.map +1 -1
- package/dist/src/rules/computed.js +5 -8
- package/dist/src/rules/computed.js.map +1 -1
- package/dist/src/rules/expand.d.ts.map +1 -1
- package/dist/src/rules/expand.js +3 -1
- package/dist/src/rules/expand.js.map +1 -1
- package/dist/src/rules/filter.d.ts.map +1 -1
- package/dist/src/rules/filter.js +15 -3
- package/dist/src/rules/filter.js.map +1 -1
- package/dist/src/rules/graph-route.d.ts.map +1 -1
- package/dist/src/rules/graph-route.js +19 -11
- package/dist/src/rules/graph-route.js.map +1 -1
- package/dist/src/rules/index.d.ts +2 -1
- package/dist/src/rules/index.d.ts.map +1 -1
- package/dist/src/rules/index.js +2 -1
- package/dist/src/rules/index.js.map +1 -1
- package/dist/src/rules/limited-charset.d.ts +3 -0
- package/dist/src/rules/limited-charset.d.ts.map +1 -0
- package/dist/src/rules/limited-charset.js +42 -0
- package/dist/src/rules/limited-charset.js.map +1 -0
- package/dist/src/rules/media.d.ts +10 -0
- package/dist/src/rules/media.d.ts.map +1 -0
- package/dist/src/rules/media.js +122 -0
- package/dist/src/rules/media.js.map +1 -0
- package/dist/src/rules/namespace.d.ts +1 -0
- package/dist/src/rules/namespace.d.ts.map +1 -1
- package/dist/src/rules/namespace.js +21 -0
- package/dist/src/rules/namespace.js.map +1 -1
- package/dist/src/rules/required-for-create.d.ts.map +1 -1
- package/dist/src/rules/required-for-create.js +3 -2
- package/dist/src/rules/required-for-create.js.map +1 -1
- package/dist/src/utils.d.ts +3 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +81 -1
- package/dist/src/utils.js.map +1 -1
- package/dist/src/validate.d.ts.map +1 -1
- package/dist/src/validate.js +4 -1
- package/dist/src/validate.js.map +1 -1
- package/lib/bodies.tsp +71 -0
- package/lib/decorators.tsp +22 -12
- package/lib/msgraph.tsp +1 -0
- package/lib/porcelain.tsp +43 -18
- package/lib/responses.tsp +4 -52
- package/lib/shared-models.tsp +2 -2
- package/package.json +4 -4
- package/dist/src/decorators/has-stream.d.ts +0 -10
- package/dist/src/decorators/has-stream.d.ts.map +0 -1
- package/dist/src/decorators/has-stream.js +0 -17
- package/dist/src/decorators/has-stream.js.map +0 -1
- package/dist/src/rules/has-stream.d.ts +0 -3
- package/dist/src/rules/has-stream.d.ts.map +0 -1
- package/dist/src/rules/has-stream.js +0 -30
- package/dist/src/rules/has-stream.js.map +0 -1
|
@@ -56,7 +56,7 @@ const ParameterList = ({ properties }) => {
|
|
|
56
56
|
return React.createElement(ItemList, { items: properties, render: (property) => React.createElement(ParameterElement, { parameter: property }) });
|
|
57
57
|
};
|
|
58
58
|
const ParameterElement = ({ parameter }) => {
|
|
59
|
-
return (React.createElement(Parameter, { Name: parameter.Name, Type: parameter.PropertyTypeName, ...(parameter.IsNullable ? {} : { Nullable: "false" }), ...parameter.AgsAttributes },
|
|
59
|
+
return (React.createElement(Parameter, { Name: parameter.Name, Type: parameter.PropertyTypeName, ...(parameter.IsNullable ? {} : { Nullable: "false" }), ...parameter.AgsAttributes, ...(parameter.SupportsLimitedCharset ? { Unicode: "false" } : {}) },
|
|
60
60
|
React.createElement(OptionalParameterAnnotation, { isOptional: parameter.IsOptional, defaultValue: parameter.DefaultValue }),
|
|
61
61
|
React.createElement(DescriptionAnnotation, { description: parameter.Description }),
|
|
62
62
|
React.createElement(RevisionsAnnotation, { definition: parameter.RevisionDefinition })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-element.js","sourceRoot":"","sources":["../../../src/components/operation-element.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACxG,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAoB,aAAa,EAA4B,MAAM,0BAA0B,CAAC;AACrG,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAoBhE,MAAM,MAAM,GAAG,CAAC,KAAqB,EAAE,EAAE,CAAC,KAAK,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IAAC,IAAI,EAAC,qCAAqC,GAAG,CAAC;KACzE;IAED,OAAO,CACL,oBAAC,iBAAiB,IAAC,IAAI,EAAC,qCAAqC;QAC3D,oBAAC,aAAa;YACZ,oBAAC,oBAAoB,IAAC,QAAQ,EAAC,cAAc,KAAK,YAAY,GAAI,CACpD,CACE,CACrB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAA6E,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,EAAE;IACjJ,IAAI,UAAU,EAAE;QACd,OAAO,yCAAK,CAAA;KACb;IAED,OAAO,oBAAC,UAAU,IAAC,IAAI,EAAE,cAAc,KAAM,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,GAAI,CAAA;AAC5F,CAAC,CAAC"}
|
|
@@ -15,7 +15,7 @@ const NavigationPropertyElement = ({ property }) => {
|
|
|
15
15
|
React.createElement(DescriptionAnnotation, { description: property.Description })));
|
|
16
16
|
};
|
|
17
17
|
const StructuralPropertyElement = ({ property }) => {
|
|
18
|
-
return (React.createElement(Property, { Name: property.Name, Type: property.PropertyTypeName, ...(property.IsNullable ? {} : { Nullable: "false" }), ...property.AgsAttributes },
|
|
18
|
+
return (React.createElement(Property, { Name: property.Name, Type: property.PropertyTypeName, ...(property.IsNullable ? {} : { Nullable: "false" }), ...property.AgsAttributes, ...(property.SupportsLimitedCharset ? { Unicode: "false" } : {}) },
|
|
19
19
|
React.createElement(ComputedAnnotation, { isComputed: property.IsComputed }),
|
|
20
20
|
React.createElement(PermissionsAnnotation, { permission: property.Permission }),
|
|
21
21
|
React.createElement(RevisionsAnnotation, { definition: property.RevisionDefinition }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property-element.js","sourceRoot":"","sources":["../../../src/components/property-element.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAC;AAClC,O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EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAEjE,oBAAC,kBAAkB,IAAC,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAI;QACvD,oBAAC,qBAAqB,IAAC,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAI;QAC1D,oBAAC,mBAAmB,IAAC,UAAU,EAAE,QAAQ,CAAC,kBAAkB,GAAI;QAChE,oBAAC,qBAAqB,IAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,GAAI;QAC5D,oBAAC,mBAAmB,IAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,GAAI,CACjD,CACZ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-type-element.d.ts","sourceRoot":"","sources":["../../../src/components/structured-type-element.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOlC,OAAO,EAAE,YAAY,EAAwB,MAAM,sBAAsB,CAAC;AAkB1E,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,CAgBzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"structured-type-element.d.ts","sourceRoot":"","sources":["../../../src/components/structured-type-element.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOlC,OAAO,EAAE,YAAY,EAAwB,MAAM,sBAAsB,CAAC;AAkB1E,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,CAgBzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,CAa1D,CAAC"}
|
|
@@ -12,17 +12,17 @@ const Key = (props) => React.createElement("Key", props);
|
|
|
12
12
|
const PropertyRef = (props) => React.createElement("PropertyRef", props);
|
|
13
13
|
export const EntityTypeElement = ({ model }) => {
|
|
14
14
|
var _a, _b, _c;
|
|
15
|
-
return (React.createElement(EntityType, { Name: model.Name, Abstract: model.IsAbstract ? (_a = model.IsAbstract) === null || _a === void 0 ? void 0 : _a.toString() : undefined, BaseType: model.BaseType, OpenType: model.IsOpenType ? (_b = model.IsOpenType) === null || _b === void 0 ? void 0 : _b.toString() : undefined, HasStream: model.
|
|
15
|
+
return (React.createElement(EntityType, { Name: model.Name, Abstract: model.IsAbstract ? (_a = model.IsAbstract) === null || _a === void 0 ? void 0 : _a.toString() : undefined, BaseType: model.BaseType, OpenType: model.IsOpenType ? (_b = model.IsOpenType) === null || _b === void 0 ? void 0 : _b.toString() : undefined, HasStream: model.IsMedia ? (_c = model.IsMedia) === null || _c === void 0 ? void 0 : _c.toString() : undefined, ...model.AgsAttributes },
|
|
16
16
|
React.createElement(KeyPropertyElement, { keyProperty: model.KeyProperty }),
|
|
17
17
|
React.createElement(PropertyList, { properties: model.Properties }),
|
|
18
18
|
React.createElement(AlternateKeysAnnotation, { alternateKeys: model.AlternateKeys }),
|
|
19
|
-
React.createElement(AcceptableMediaTypesAnnotation, { streamTypes: model.
|
|
19
|
+
React.createElement(AcceptableMediaTypesAnnotation, { streamTypes: model.MediaTypes }),
|
|
20
20
|
React.createElement(RevisionsAnnotation, { definition: model.RevisionDefinition }),
|
|
21
21
|
React.createElement(DescriptionAnnotation, { description: model.Description })));
|
|
22
22
|
};
|
|
23
23
|
export const ComplexTypeElement = ({ model }) => {
|
|
24
|
-
var _a, _b
|
|
25
|
-
return (React.createElement(ComplexType, { Name: model.Name, Abstract: model.IsAbstract ? (_a = model.IsAbstract) === null || _a === void 0 ? void 0 : _a.toString() : undefined, BaseType: model.BaseType, OpenType: model.IsOpenType ? (_b = model.IsOpenType) === null || _b === void 0 ? void 0 : _b.toString() : undefined,
|
|
24
|
+
var _a, _b;
|
|
25
|
+
return (React.createElement(ComplexType, { Name: model.Name, Abstract: model.IsAbstract ? (_a = model.IsAbstract) === null || _a === void 0 ? void 0 : _a.toString() : undefined, BaseType: model.BaseType, OpenType: model.IsOpenType ? (_b = model.IsOpenType) === null || _b === void 0 ? void 0 : _b.toString() : undefined, ...model.AgsAttributes },
|
|
26
26
|
React.createElement(PropertyList, { properties: model.Properties }),
|
|
27
27
|
React.createElement(RevisionsAnnotation, { definition: model.RevisionDefinition }),
|
|
28
28
|
React.createElement(DescriptionAnnotation, { description: model.Description }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-type-element.js","sourceRoot":"","sources":["../../../src/components/structured-type-element.tsx"],"names":[],"mappings":"AACA,OAAO,KAAa,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,oCAAoC,EAAE,MAAM,uDAAuD,CAAC;AAW7G,MAAM,UAAU,GAAG,CAAC,KAA0B,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;AAC5F,MAAM,WAAW,GAAG,CAAC,KAA0B,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;AAE9F,MAAM,GAAG,GAAG,CAAC,KAAwB,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAC5E,MAAM,WAAW,GAAG,CAAC,KAA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,GAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph-route.d.ts","sourceRoot":"","sources":["../../../src/decorators/graph-route.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EAEJ,aAAa,EAEb,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAK5B;;;GAGG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,GAAG,SAAS,EAC7B,IAAI,EAAE,MAAM,QA6Bb;AAyBD,wBAAgB,uCAAuC,CACrD,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,MAAM,GACjB,YAAY,CAAC,MAAM,EAAE,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"graph-route.d.ts","sourceRoot":"","sources":["../../../src/decorators/graph-route.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EAEJ,aAAa,EAEb,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAK5B;;;GAGG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,GAAG,SAAS,EAC7B,IAAI,EAAE,MAAM,QA6Bb;AAyBD,wBAAgB,uCAAuC,CACrD,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,MAAM,GACjB,YAAY,CAAC,MAAM,EAAE,aAAa,CAAC,CA2BrC;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAG5D;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,EAAE,GAAG,SAAS,CAGvF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,WAE3D;AAED,wBAA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,KAAK,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE;QAC7D,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACxB,QAAQ,MAAM,CAAC,IAAI,EAAE;gBACnB,KAAK,WAAW,CAAC;gBACjB,KAAK,WAAW;oBACd,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;oBAC9B,MAAM;aACT;SACF;KACF;IACD,OAAO,WAAW,CAAC;AACrB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export * from "./additional-query-parameters.js";
|
|
|
4
4
|
export * from "./address-url.js";
|
|
5
5
|
export * from "./address-url-msa.js";
|
|
6
6
|
export * from "./ags-attribute.js";
|
|
7
|
+
export * from "./allowed-values.js";
|
|
7
8
|
export * from "./alternate-key.js";
|
|
8
9
|
export * from "./complex.js";
|
|
9
10
|
export * from "./computed.js";
|
|
@@ -13,16 +14,23 @@ export * from "./delta-collection.js";
|
|
|
13
14
|
export * from "./deprecated-definition.js";
|
|
14
15
|
export * from "./entity.js";
|
|
15
16
|
export * from "./expand.js";
|
|
17
|
+
export * from "./experimental.js";
|
|
16
18
|
export * from "./filter.js";
|
|
17
19
|
export * from "./flags.js";
|
|
18
20
|
export * from "./function.js";
|
|
21
|
+
export * from "./global-operation.js";
|
|
22
|
+
export * from "./graph-deprecated.js";
|
|
19
23
|
export * from "./graph-route.js";
|
|
20
|
-
export * from "./
|
|
24
|
+
export * from "./immutable.js";
|
|
21
25
|
export * from "./is-owner.js";
|
|
26
|
+
export * from "./limited-charset.js";
|
|
27
|
+
export * from "./media.js";
|
|
22
28
|
export * from "./open.js";
|
|
23
29
|
export * from "./operation-parameters.js";
|
|
24
30
|
export * from "./order-by.js";
|
|
31
|
+
export * from "./ownerless.js";
|
|
25
32
|
export * from "./paged-collection.js";
|
|
33
|
+
export * from "./partial.js";
|
|
26
34
|
export * from "./passthrough-address-url.js";
|
|
27
35
|
export * from "./passthrough-address-url-msa.js";
|
|
28
36
|
export * from "./private-preview-definition.js";
|
|
@@ -30,22 +38,16 @@ export * from "./private-preview.js";
|
|
|
30
38
|
export * from "./privileged.js";
|
|
31
39
|
export * from "./public-namespace.js";
|
|
32
40
|
export * from "./read-only.js";
|
|
41
|
+
export * from "./reference-target.js";
|
|
33
42
|
export * from "./references.js";
|
|
34
43
|
export * from "./required-for-create.js";
|
|
35
44
|
export * from "./search.js";
|
|
45
|
+
export * from "./select.js";
|
|
36
46
|
export * from "./skip.js";
|
|
37
47
|
export * from "./term.js";
|
|
38
48
|
export * from "./top.js";
|
|
39
49
|
export * from "./workload-name-msa.js";
|
|
40
50
|
export * from "./workload-name.js";
|
|
51
|
+
export * from "./workload-namespace.js";
|
|
41
52
|
export * from "./write-only.js";
|
|
42
|
-
export * from "./immutable.js";
|
|
43
|
-
export * from "./allowed-values.js";
|
|
44
|
-
export * from "./partial.js";
|
|
45
|
-
export * from "./experimental.js";
|
|
46
|
-
export * from "./graph-deprecated.js";
|
|
47
|
-
export * from "./ownerless.js";
|
|
48
|
-
export * from "./global-operation.js";
|
|
49
|
-
export * from "./reference-target.js";
|
|
50
|
-
export * from "./select.js";
|
|
51
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,kCAAkC,CAAC;AACjD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aA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Ac,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export * from "./additional-query-parameters.js";
|
|
|
4
4
|
export * from "./address-url.js";
|
|
5
5
|
export * from "./address-url-msa.js";
|
|
6
6
|
export * from "./ags-attribute.js";
|
|
7
|
+
export * from "./allowed-values.js";
|
|
7
8
|
export * from "./alternate-key.js";
|
|
8
9
|
export * from "./complex.js";
|
|
9
10
|
export * from "./computed.js";
|
|
@@ -13,16 +14,23 @@ export * from "./delta-collection.js";
|
|
|
13
14
|
export * from "./deprecated-definition.js";
|
|
14
15
|
export * from "./entity.js";
|
|
15
16
|
export * from "./expand.js";
|
|
17
|
+
export * from "./experimental.js";
|
|
16
18
|
export * from "./filter.js";
|
|
17
19
|
export * from "./flags.js";
|
|
18
20
|
export * from "./function.js";
|
|
21
|
+
export * from "./global-operation.js";
|
|
22
|
+
export * from "./graph-deprecated.js";
|
|
19
23
|
export * from "./graph-route.js";
|
|
20
|
-
export * from "./
|
|
24
|
+
export * from "./immutable.js";
|
|
21
25
|
export * from "./is-owner.js";
|
|
26
|
+
export * from "./limited-charset.js";
|
|
27
|
+
export * from "./media.js";
|
|
22
28
|
export * from "./open.js";
|
|
23
29
|
export * from "./operation-parameters.js";
|
|
24
30
|
export * from "./order-by.js";
|
|
31
|
+
export * from "./ownerless.js";
|
|
25
32
|
export * from "./paged-collection.js";
|
|
33
|
+
export * from "./partial.js";
|
|
26
34
|
export * from "./passthrough-address-url.js";
|
|
27
35
|
export * from "./passthrough-address-url-msa.js";
|
|
28
36
|
export * from "./private-preview-definition.js";
|
|
@@ -30,22 +38,16 @@ export * from "./private-preview.js";
|
|
|
30
38
|
export * from "./privileged.js";
|
|
31
39
|
export * from "./public-namespace.js";
|
|
32
40
|
export * from "./read-only.js";
|
|
41
|
+
export * from "./reference-target.js";
|
|
33
42
|
export * from "./references.js";
|
|
34
43
|
export * from "./required-for-create.js";
|
|
35
44
|
export * from "./search.js";
|
|
45
|
+
export * from "./select.js";
|
|
36
46
|
export * from "./skip.js";
|
|
37
47
|
export * from "./term.js";
|
|
38
48
|
export * from "./top.js";
|
|
39
49
|
export * from "./workload-name-msa.js";
|
|
40
50
|
export * from "./workload-name.js";
|
|
51
|
+
export * from "./workload-namespace.js";
|
|
41
52
|
export * from "./write-only.js";
|
|
42
|
-
export * from "./immutable.js";
|
|
43
|
-
export * from "./allowed-values.js";
|
|
44
|
-
export * from "./partial.js";
|
|
45
|
-
export * from "./experimental.js";
|
|
46
|
-
export * from "./graph-deprecated.js";
|
|
47
|
-
export * from "./ownerless.js";
|
|
48
|
-
export * from "./global-operation.js";
|
|
49
|
-
export * from "./reference-target.js";
|
|
50
|
-
export * from "./select.js";
|
|
51
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,kCAAkC,CAAC;AACjD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cA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B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DecoratorContext, ModelProperty, Program } from "@typespec/compiler";
|
|
2
|
+
/**
|
|
3
|
+
* `@limitedCharset` - indicates that the full unicode character set is not supported by the underlying back-end service that implements the API
|
|
4
|
+
*
|
|
5
|
+
* `@limitedCharset` can only be applied to string models properties, string parameters or their collections.
|
|
6
|
+
*/
|
|
7
|
+
export declare function $limitedCharset(context: DecoratorContext, target: ModelProperty): void;
|
|
8
|
+
export declare function supportsLimitedCharset(program: Program, property: ModelProperty): boolean;
|
|
9
|
+
//# sourceMappingURL=limited-charset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"limited-charset.d.ts","sourceRoot":"","sources":["../../../src/decorators/limited-charset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI9E;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,QAE/E;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,WAE/E"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const limitedCharsetKey = Symbol("limitedCharset");
|
|
2
|
+
/**
|
|
3
|
+
* `@limitedCharset` - indicates that the full unicode character set is not supported by the underlying back-end service that implements the API
|
|
4
|
+
*
|
|
5
|
+
* `@limitedCharset` can only be applied to string models properties, string parameters or their collections.
|
|
6
|
+
*/
|
|
7
|
+
export function $limitedCharset(context, target) {
|
|
8
|
+
context.program.stateSet(limitedCharsetKey).add(target);
|
|
9
|
+
}
|
|
10
|
+
export function supportsLimitedCharset(program, property) {
|
|
11
|
+
return program.stateSet(limitedCharsetKey).has(property);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=limited-charset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"limited-charset.js","sourceRoot":"","sources":["../../../src/decorators/limited-charset.ts"],"names":[],"mappings":"AAEA,MAAM,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAEnD;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,OAAyB,EAAE,MAAqB;IAC9E,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC1D,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAgB,EAAE,QAAuB;IAC9E,OAAO,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DecoratorContext, Model, Program } from "@typespec/compiler";
|
|
2
|
+
/**
|
|
3
|
+
* `@media` - indicates that an `@entity` model is a media entity.
|
|
4
|
+
*
|
|
5
|
+
* `mediaTypes` - list of media types supported by the entity. If not specified, the entity supports any media type.
|
|
6
|
+
*/
|
|
7
|
+
export declare function $media(context: DecoratorContext, target: Model, ...mediaTypes: string[]): void;
|
|
8
|
+
export declare function isMedia(program: Program, target: Model): boolean;
|
|
9
|
+
export declare function getMediaTypes(program: Program, target: Model): string[];
|
|
10
|
+
//# sourceMappingURL=media.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/decorators/media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAItE;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,MAAM,EAAE,QAEvF;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,GAAG,OAAO,CAEhE;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,GAAG,MAAM,EAAE,CAEvE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const mediaKey = Symbol("media");
|
|
2
|
+
/**
|
|
3
|
+
* `@media` - indicates that an `@entity` model is a media entity.
|
|
4
|
+
*
|
|
5
|
+
* `mediaTypes` - list of media types supported by the entity. If not specified, the entity supports any media type.
|
|
6
|
+
*/
|
|
7
|
+
export function $media(context, target, ...mediaTypes) {
|
|
8
|
+
context.program.stateMap(mediaKey).set(target, mediaTypes);
|
|
9
|
+
}
|
|
10
|
+
export function isMedia(program, target) {
|
|
11
|
+
return program.stateMap(mediaKey).has(target);
|
|
12
|
+
}
|
|
13
|
+
export function getMediaTypes(program, target) {
|
|
14
|
+
return program.stateMap(mediaKey).get(target) || [];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=media.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.js","sourceRoot":"","sources":["../../../src/decorators/media.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;AAEjC;;;;GAIG;AACH,MAAM,UAAU,MAAM,CAAC,OAAyB,EAAE,MAAa,EAAE,GAAG,UAAoB;IACtF,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,OAAgB,EAAE,MAAa;IACrD,OAAO,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,OAAgB,EAAE,MAAa;IAC3D,OAAO,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;AACtD,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { DecoratorContext, Program, Interface, Operation } from "@typespec/compiler";
|
|
2
|
-
import { AddressUrlParameter } from "./address-url.js";
|
|
3
2
|
/**
|
|
4
3
|
* `@passthroughAddressUrlMsa` - Specifies the URL to which the operation request is forwarded when the request
|
|
5
4
|
* is authenticated with a Microsoft account and the request is eligible for response passthrough.
|
|
6
5
|
*
|
|
7
6
|
* `@passthroughAddressUrlMsa` can only be applied to routed interfaces (entity sets, singletons and navigation properties) or action operations.
|
|
8
7
|
*/
|
|
9
|
-
export declare function $passthroughAddressUrlMsa(context: DecoratorContext, target: Interface | Operation, url: string
|
|
8
|
+
export declare function $passthroughAddressUrlMsa(context: DecoratorContext, target: Interface | Operation, url: string): void;
|
|
10
9
|
export declare function hasPassthroughAddressUrlMsa(program: Program, target: Interface | Operation): boolean;
|
|
11
|
-
export declare function getPassthroughAddressUrlMsa(program: Program, target: Interface | Operation):
|
|
10
|
+
export declare function getPassthroughAddressUrlMsa(program: Program, target: Interface | Operation): string | undefined;
|
|
12
11
|
//# sourceMappingURL=passthrough-address-url-msa.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passthrough-address-url-msa.d.ts","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url-msa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"passthrough-address-url-msa.d.ts","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url-msa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIrF;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,GAAG,SAAS,EAC7B,GAAG,EAAE,MAAM,QAGZ;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAAG,SAAS,GAC5B,OAAO,CAET;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAAG,SAAS,GAC5B,MAAM,GAAG,SAAS,CAEpB"}
|
|
@@ -5,10 +5,8 @@ const passthroughAddressUrlMsaKey = Symbol("passthroughAddressUrlMsaKey");
|
|
|
5
5
|
*
|
|
6
6
|
* `@passthroughAddressUrlMsa` can only be applied to routed interfaces (entity sets, singletons and navigation properties) or action operations.
|
|
7
7
|
*/
|
|
8
|
-
export function $passthroughAddressUrlMsa(context, target, url
|
|
9
|
-
context.program
|
|
10
|
-
.stateMap(passthroughAddressUrlMsaKey)
|
|
11
|
-
.set(target, { url, omitRootNavigationSegment, appendSegmentNameToAddress });
|
|
8
|
+
export function $passthroughAddressUrlMsa(context, target, url) {
|
|
9
|
+
context.program.stateMap(passthroughAddressUrlMsaKey).set(target, url);
|
|
12
10
|
}
|
|
13
11
|
export function hasPassthroughAddressUrlMsa(program, target) {
|
|
14
12
|
return program.stateMap(passthroughAddressUrlMsaKey).has(target);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passthrough-address-url-msa.js","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url-msa.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"passthrough-address-url-msa.js","sourceRoot":"","sources":["../../../src/decorators/passthrough-address-url-msa.ts"],"names":[],"mappings":"AAEA,MAAM,2BAA2B,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC;AAE1E;;;;;GAKG;AACH,MAAM,UAAU,yBAAyB,CACvC,OAAyB,EACzB,MAA6B,EAC7B,GAAW;IAEX,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AACzE,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,OAAgB,EAChB,MAA6B;IAE7B,OAAO,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,OAAgB,EAChB,MAA6B;IAE7B,OAAO,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACnE,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { DecoratorContext, Program, Interface, Operation } from "@typespec/compiler";
|
|
2
|
-
import { AddressUrlParameter } from "./address-url.js";
|
|
3
2
|
/**
|
|
4
3
|
* `@passthroughAddressUrl` - Specifies the URL to which the operation request is forwarded when the request
|
|
5
4
|
* is authenticated with an AAD account and the request is eligible for response passthrough.
|
|
6
5
|
*
|
|
7
6
|
* `@passthroughAddressUrl` can only be applied to routed interfaces (entity sets, singletons and navigation properties) or action operations.
|
|
8
7
|
*/
|
|
9
|
-
export declare function $passthroughAddressUrl(context: DecoratorContext, target: Interface | Operation, url: string
|
|
8
|
+
export declare function $passthroughAddressUrl(context: DecoratorContext, target: Interface | Operation, url: string): void;
|
|
10
9
|
export declare function hasPassthroughAddressUrl(program: Program, target: Interface | Operation): boolean;
|
|
11
|
-
export declare function getPassthroughAddressUrl(program: Program, target: Interface | Operation):
|
|
10
|
+
export declare function getPassthroughAddressUrl(program: Program, target: Interface | Operation): string | undefined;
|
|
12
11
|
//# sourceMappingURL=passthrough-address-url.d.ts.map
|
|
@@ -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;
|
|
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"}
|
|
@@ -5,10 +5,8 @@ const passthroughAddressUrlKey = Symbol("passthroughAddressUrlKey");
|
|
|
5
5
|
*
|
|
6
6
|
* `@passthroughAddressUrl` can only be applied to routed interfaces (entity sets, singletons and navigation properties) or action operations.
|
|
7
7
|
*/
|
|
8
|
-
export function $passthroughAddressUrl(context, target, url
|
|
9
|
-
context.program
|
|
10
|
-
.stateMap(passthroughAddressUrlKey)
|
|
11
|
-
.set(target, { url, omitRootNavigationSegment, appendSegmentNameToAddress });
|
|
8
|
+
export function $passthroughAddressUrl(context, target, url) {
|
|
9
|
+
context.program.stateMap(passthroughAddressUrlKey).set(target, url);
|
|
12
10
|
}
|
|
13
11
|
export function hasPassthroughAddressUrl(program, target) {
|
|
14
12
|
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":"
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DecoratorContext, Program, Namespace } from "@typespec/compiler";
|
|
2
|
+
/**
|
|
3
|
+
* `@workloadNamespace` - defines the namespace to be used in generating CSDL output for all elements contained within the namespace
|
|
4
|
+
*
|
|
5
|
+
* `@workloadNamespace` can only be applied to namespaces.
|
|
6
|
+
*/
|
|
7
|
+
export declare function $workloadNamespace(context: DecoratorContext, namespace: Namespace, name: string): void;
|
|
8
|
+
export declare function hasWorkloadNamespace(program: Program, namespace: Namespace): boolean;
|
|
9
|
+
export declare function getWorkloadNamespaceName(program: Program, namespace: Namespace): string | undefined;
|
|
10
|
+
//# sourceMappingURL=workload-namespace.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const workloadNamespaceKey = Symbol("workloadNamespace");
|
|
2
|
+
/**
|
|
3
|
+
* `@workloadNamespace` - defines the namespace to be used in generating CSDL output for all elements contained within the namespace
|
|
4
|
+
*
|
|
5
|
+
* `@workloadNamespace` can only be applied to namespaces.
|
|
6
|
+
*/
|
|
7
|
+
export function $workloadNamespace(context, namespace, name) {
|
|
8
|
+
context.program.stateMap(workloadNamespaceKey).set(namespace, name);
|
|
9
|
+
}
|
|
10
|
+
export function hasWorkloadNamespace(program, namespace) {
|
|
11
|
+
return program.stateMap(workloadNamespaceKey).has(namespace);
|
|
12
|
+
}
|
|
13
|
+
export function getWorkloadNamespaceName(program, namespace) {
|
|
14
|
+
if (hasWorkloadNamespace(program, namespace)) {
|
|
15
|
+
return program.stateMap(workloadNamespaceKey).get(namespace);
|
|
16
|
+
}
|
|
17
|
+
return namespace.namespace ? getWorkloadNamespaceName(program, namespace.namespace) : undefined;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=workload-namespace.js.map
|
|
@@ -0,0 +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;QAC1C,OAAO,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;KAC9D;IACD,OAAO,SAAS,CAAC,SAAS,CAAA,CAAC,CAAC,wBAAwB,CAAC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACjG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-interceptor.d.ts","sourceRoot":"","sources":["../../../src/dom/error-interceptor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// eslint-disable-next-line no-console
|
|
2
|
+
const originalConsoleError = console.error;
|
|
3
|
+
// Override console.error to intercept React warnings
|
|
4
|
+
// eslint-disable-next-line no-console
|
|
5
|
+
console.error = function (...args) {
|
|
6
|
+
const [firstArg] = args;
|
|
7
|
+
if (typeof firstArg === 'string' && firstArg.includes('Encountered two children with the same key')) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
originalConsoleError.apply(console, args);
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=error-interceptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-interceptor.js","sourceRoot":"","sources":["../../../src/dom/error-interceptor.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,MAAM,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC;AAE3C,qDAAqD;AACrD,sCAAsC;AACtC,OAAO,CAAC,KAAK,GAAG,UAAU,GAAG,IAAW;IACtC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IACxB,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,CAAC,QAAQ,CAAC,4CAA4C,CAAC,EAAE;QACnG,OAAO;KACR;IAED,oBAAoB,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/dom/renderer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/dom/renderer.ts"],"names":[],"mappings":"AAEA,OAAO,wBAAwB,CAAC;;4BAoBN,WAAW,GAAG,WAAW;wBAwB7B,WAAW,GAAG,MAAM;;AAzB1C,wBAgCE"}
|
package/dist/src/dom/renderer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.js","sourceRoot":"","sources":["../../../src/dom/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,UAAU,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"renderer.js","sourceRoot":"","sources":["../../../src/dom/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EA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B,CAAC;IAED,UAAU,CAAC,OAAoB;QAC7B,MAAM,UAAU,GAAG,IAAI,aAAa,EAAE,CAAC;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,UAAU,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAErD,OAAO,SAAS,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;CACF,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Program, Interface } from "@typespec/compiler";
|
|
2
2
|
export type MsGraphAddressUrl = Record<string, string | boolean>;
|
|
3
|
+
export type MsGraphPassthroughAddressUrl = Record<string, string>;
|
|
3
4
|
export declare function getMsGraphAddressUrl(program: Program, target: Interface): MsGraphAddressUrl | undefined;
|
|
4
5
|
export declare function getMsGraphAddressUrlMsa(program: Program, target: Interface): MsGraphAddressUrl | undefined;
|
|
5
|
-
export declare function getMsGraphPassthroughAddressUrl(program: Program, target: Interface):
|
|
6
|
-
export declare function getMsGraphPassthroughAddressUrlMsa(program: Program, target: Interface):
|
|
6
|
+
export declare function getMsGraphPassthroughAddressUrl(program: Program, target: Interface): MsGraphPassthroughAddressUrl | undefined;
|
|
7
|
+
export declare function getMsGraphPassthroughAddressUrlMsa(program: Program, target: Interface): MsGraphPassthroughAddressUrl | undefined;
|
|
7
8
|
//# sourceMappingURL=address-url.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-url.d.ts","sourceRoot":"","sources":["../../../src/entities/address-url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAexD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"address-url.d.ts","sourceRoot":"","sources":["../../../src/entities/address-url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAexD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;AACjE,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAElE,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,iBAAiB,GAAG,SAAS,CAM/B;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,iBAAiB,GAAG,SAAS,CAM/B;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,4BAA4B,GAAG,SAAS,CAM1C;AAED,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,4BAA4B,GAAG,SAAS,CAM1C"}
|
|
@@ -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
|
|
20
|
+
return populateMsGraphPassthroughAddressUrl("ags:PassthroughAddressUrl", passthroughAddressUrl);
|
|
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
|
|
27
|
+
return populateMsGraphPassthroughAddressUrl("ags:PassthroughAddressUrlMSA", passthroughAddressUrlMsa);
|
|
28
28
|
}
|
|
29
29
|
return undefined;
|
|
30
30
|
}
|
|
@@ -39,4 +39,9 @@ function populateMsGraphAddressUrl(addressUrlVariant, addressUrl) {
|
|
|
39
39
|
}
|
|
40
40
|
return msGraphAddressUrl;
|
|
41
41
|
}
|
|
42
|
+
function populateMsGraphPassthroughAddressUrl(passthroughAddressUrlVariant, passthroughAddressUrl) {
|
|
43
|
+
const msGraphPassthroughAddressUrl = {};
|
|
44
|
+
msGraphPassthroughAddressUrl[passthroughAddressUrlVariant] = passthroughAddressUrl;
|
|
45
|
+
return msGraphPassthroughAddressUrl;
|
|
46
|
+
}
|
|
42
47
|
//# sourceMappingURL=address-url.js.map
|