@microsoft/typespec-msgraph 0.0.1-Preview.4 → 0.0.1-Preview.6
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/alternate-keys-annotation.js +4 -4
- package/dist/src/components/alternate-keys-annotation.js.map +1 -1
- package/dist/src/components/annotations.d.ts +9 -0
- package/dist/src/components/annotations.d.ts.map +1 -0
- package/dist/src/components/annotations.js +45 -0
- package/dist/src/components/annotations.js.map +1 -0
- package/dist/src/components/common-elements.d.ts +17 -4
- package/dist/src/components/common-elements.d.ts.map +1 -1
- package/dist/src/components/common-elements.js +2 -2
- package/dist/src/components/common-elements.js.map +1 -1
- package/dist/src/components/computed-annotation.js +1 -1
- package/dist/src/components/computed-annotation.js.map +1 -1
- package/dist/src/components/count-restrictions-annotation.d.ts.map +1 -1
- package/dist/src/components/count-restrictions-annotation.js +3 -8
- package/dist/src/components/count-restrictions-annotation.js.map +1 -1
- package/dist/src/components/description-annotation.d.ts.map +1 -1
- package/dist/src/components/description-annotation.js +1 -0
- package/dist/src/components/description-annotation.js.map +1 -1
- package/dist/src/components/entity-container-element.d.ts +18 -3
- package/dist/src/components/entity-container-element.d.ts.map +1 -1
- package/dist/src/components/entity-container-element.js +6 -42
- package/dist/src/components/entity-container-element.js.map +1 -1
- package/dist/src/components/enum-type-element.js +1 -1
- package/dist/src/components/enum-type-element.js.map +1 -1
- package/dist/src/components/expand-restrictions-annotation.d.ts.map +1 -1
- package/dist/src/components/expand-restrictions-annotation.js +7 -13
- package/dist/src/components/expand-restrictions-annotation.js.map +1 -1
- package/dist/src/components/operation-element.js +3 -3
- package/dist/src/components/operation-element.js.map +1 -1
- package/dist/src/components/schema-element.d.ts.map +1 -1
- package/dist/src/components/schema-element.js +6 -3
- package/dist/src/components/schema-element.js.map +1 -1
- package/dist/src/components/search-restrictions-annotation.d.ts.map +1 -1
- package/dist/src/components/search-restrictions-annotation.js +3 -8
- package/dist/src/components/search-restrictions-annotation.js.map +1 -1
- package/dist/src/components/skip-supported-annotation.d.ts.map +1 -1
- package/dist/src/components/skip-supported-annotation.js +1 -6
- package/dist/src/components/skip-supported-annotation.js.map +1 -1
- package/dist/src/components/sort-restrictions-annotation.d.ts.map +1 -1
- package/dist/src/components/sort-restrictions-annotation.js +7 -13
- package/dist/src/components/sort-restrictions-annotation.js.map +1 -1
- package/dist/src/components/structured-type-element.d.ts +4 -7
- package/dist/src/components/structured-type-element.d.ts.map +1 -1
- package/dist/src/components/structured-type-element.js +21 -23
- package/dist/src/components/structured-type-element.js.map +1 -1
- package/dist/src/components/top-supported-annotation.d.ts.map +1 -1
- package/dist/src/components/top-supported-annotation.js +1 -4
- package/dist/src/components/top-supported-annotation.js.map +1 -1
- package/dist/src/components/update-restrictions-annotation.d.ts +5 -0
- package/dist/src/components/update-restrictions-annotation.d.ts.map +1 -0
- package/dist/src/components/update-restrictions-annotation.js +8 -0
- package/dist/src/components/update-restrictions-annotation.js.map +1 -0
- package/dist/src/decorators/{handlers/custom/additional-query-parameters.d.ts → additional-query-parameters.d.ts} +4 -3
- package/dist/src/decorators/additional-query-parameters.d.ts.map +1 -0
- package/dist/src/decorators/additional-query-parameters.js +21 -0
- package/dist/src/decorators/additional-query-parameters.js.map +1 -0
- package/dist/src/decorators/ags-attribute.d.ts +13 -0
- package/dist/src/decorators/ags-attribute.d.ts.map +1 -0
- package/dist/src/decorators/ags-attribute.js +68 -0
- package/dist/src/decorators/ags-attribute.js.map +1 -0
- package/dist/src/decorators/delta-collection.d.ts +8 -0
- package/dist/src/decorators/delta-collection.d.ts.map +1 -0
- package/dist/src/decorators/delta-collection.js +12 -0
- package/dist/src/decorators/delta-collection.js.map +1 -0
- package/dist/src/decorators/deprecated-definition.d.ts +3 -4
- package/dist/src/decorators/deprecated-definition.d.ts.map +1 -1
- package/dist/src/decorators/deprecated-definition.js +1 -7
- package/dist/src/decorators/deprecated-definition.js.map +1 -1
- package/dist/src/decorators/expand.d.ts +1 -2
- package/dist/src/decorators/expand.d.ts.map +1 -1
- package/dist/src/decorators/expand.js +1 -1
- package/dist/src/decorators/expand.js.map +1 -1
- package/dist/src/decorators/flags.d.ts +9 -0
- package/dist/src/decorators/flags.d.ts.map +1 -0
- package/dist/src/decorators/flags.js +13 -0
- package/dist/src/decorators/flags.js.map +1 -0
- package/dist/src/decorators/function.d.ts +1 -2
- package/dist/src/decorators/function.d.ts.map +1 -1
- package/dist/src/decorators/function.js +1 -1
- package/dist/src/decorators/function.js.map +1 -1
- package/dist/src/decorators/graph-route.d.ts +9 -0
- package/dist/src/decorators/graph-route.d.ts.map +1 -0
- package/dist/src/decorators/graph-route.js +84 -0
- package/dist/src/decorators/graph-route.js.map +1 -0
- package/dist/src/decorators/has-stream.d.ts +1 -2
- package/dist/src/decorators/has-stream.d.ts.map +1 -1
- package/dist/src/decorators/has-stream.js +1 -1
- package/dist/src/decorators/has-stream.js.map +1 -1
- package/dist/src/decorators/index.d.ts +10 -2
- package/dist/src/decorators/index.d.ts.map +1 -1
- package/dist/src/decorators/index.js +10 -2
- package/dist/src/decorators/index.js.map +1 -1
- package/dist/src/decorators/is-owner.d.ts +9 -0
- package/dist/src/decorators/is-owner.d.ts.map +1 -0
- package/dist/src/decorators/is-owner.js +14 -0
- package/dist/src/decorators/is-owner.js.map +1 -0
- package/dist/src/decorators/order-by.d.ts +1 -2
- package/dist/src/decorators/order-by.d.ts.map +1 -1
- package/dist/src/decorators/order-by.js +1 -1
- package/dist/src/decorators/order-by.js.map +1 -1
- package/dist/src/decorators/paged-collection.d.ts +8 -0
- package/dist/src/decorators/paged-collection.d.ts.map +1 -0
- package/dist/src/decorators/paged-collection.js +12 -0
- package/dist/src/decorators/paged-collection.js.map +1 -0
- package/dist/src/decorators/private-preview-definition.d.ts +3 -4
- package/dist/src/decorators/private-preview-definition.d.ts.map +1 -1
- package/dist/src/decorators/private-preview-definition.js +1 -6
- package/dist/src/decorators/private-preview-definition.js.map +1 -1
- package/dist/src/decorators/private-preview.d.ts +1 -2
- package/dist/src/decorators/private-preview.d.ts.map +1 -1
- package/dist/src/decorators/private-preview.js +1 -1
- package/dist/src/decorators/private-preview.js.map +1 -1
- package/dist/src/decorators/privileged.d.ts +9 -0
- package/dist/src/decorators/privileged.d.ts.map +1 -0
- package/dist/src/decorators/privileged.js +13 -0
- package/dist/src/decorators/privileged.js.map +1 -0
- package/dist/src/decorators/workload-name-msa.d.ts +9 -0
- package/dist/src/decorators/workload-name-msa.d.ts.map +1 -0
- package/dist/src/decorators/workload-name-msa.js +13 -0
- package/dist/src/decorators/workload-name-msa.js.map +1 -0
- package/dist/src/decorators/workload-name.d.ts +9 -0
- package/dist/src/decorators/workload-name.d.ts.map +1 -0
- package/dist/src/decorators/workload-name.js +13 -0
- package/dist/src/decorators/workload-name.js.map +1 -0
- package/dist/src/entities/annotations.d.ts +31 -0
- package/dist/src/entities/annotations.d.ts.map +1 -0
- package/dist/src/entities/annotations.js +99 -0
- package/dist/src/entities/annotations.js.map +1 -0
- package/dist/src/entities/entity-container.d.ts +4 -24
- package/dist/src/entities/entity-container.d.ts.map +1 -1
- package/dist/src/entities/entity-container.js +30 -120
- package/dist/src/entities/entity-container.js.map +1 -1
- package/dist/src/entities/enum.d.ts +1 -0
- package/dist/src/entities/enum.d.ts.map +1 -1
- package/dist/src/entities/enum.js +5 -3
- package/dist/src/entities/enum.js.map +1 -1
- package/dist/src/entities/model.d.ts +12 -22
- package/dist/src/entities/model.d.ts.map +1 -1
- package/dist/src/entities/model.js +64 -101
- package/dist/src/entities/model.js.map +1 -1
- package/dist/src/entities/namespace.d.ts +8 -3
- package/dist/src/entities/namespace.d.ts.map +1 -1
- package/dist/src/entities/namespace.js +31 -13
- package/dist/src/entities/namespace.js.map +1 -1
- package/dist/src/entities/operation.d.ts +2 -2
- package/dist/src/entities/operation.d.ts.map +1 -1
- package/dist/src/entities/operation.js +30 -14
- package/dist/src/entities/operation.js.map +1 -1
- package/dist/src/linter.d.ts.map +1 -1
- package/dist/src/linter.js +25 -25
- package/dist/src/linter.js.map +1 -1
- package/dist/src/rules/count.d.ts.map +1 -1
- package/dist/src/rules/count.js +3 -1
- package/dist/src/rules/count.js.map +1 -1
- package/dist/src/rules/entity.d.ts.map +1 -1
- package/dist/src/rules/entity.js +4 -1
- package/dist/src/rules/entity.js.map +1 -1
- package/dist/src/rules/expand.d.ts.map +1 -1
- package/dist/src/rules/expand.js +5 -7
- package/dist/src/rules/expand.js.map +1 -1
- package/dist/src/rules/index.d.ts.map +1 -1
- package/dist/src/rules/index.js +1 -0
- package/dist/src/rules/index.js.map +1 -1
- package/dist/src/rules/order-by.d.ts +1 -1
- package/dist/src/rules/order-by.d.ts.map +1 -1
- package/dist/src/rules/order-by.js +11 -10
- package/dist/src/rules/order-by.js.map +1 -1
- package/dist/src/rules/search.d.ts.map +1 -1
- package/dist/src/rules/search.js +3 -1
- package/dist/src/rules/search.js.map +1 -1
- package/dist/src/rules/skip.d.ts.map +1 -1
- package/dist/src/rules/skip.js +3 -1
- package/dist/src/rules/skip.js.map +1 -1
- package/dist/src/rules/top.d.ts.map +1 -1
- package/dist/src/rules/top.js +3 -1
- package/dist/src/rules/top.js.map +1 -1
- package/dist/src/utils.d.ts +16 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +87 -1
- package/dist/src/utils.js.map +1 -1
- package/lib/decorators.tsp +97 -14
- package/lib/deployment.tsp +18 -0
- package/lib/lib.tsp +9 -14
- package/lib/msgraph.tsp +4 -0
- package/lib/porcelain.tsp +135 -0
- package/lib/responses.tsp +82 -0
- package/lib/shared-models.tsp +74 -0
- package/package.json +1 -2
- package/dist/src/decorators/attribute-builder.d.ts +0 -2
- package/dist/src/decorators/attribute-builder.d.ts.map +0 -1
- package/dist/src/decorators/attribute-builder.js +0 -166
- package/dist/src/decorators/attribute-builder.js.map +0 -1
- package/dist/src/decorators/attributes.d.ts +0 -57
- package/dist/src/decorators/attributes.d.ts.map +0 -1
- package/dist/src/decorators/attributes.js +0 -50
- package/dist/src/decorators/attributes.js.map +0 -1
- package/dist/src/decorators/decorator-parameter.d.ts +0 -4
- package/dist/src/decorators/decorator-parameter.d.ts.map +0 -1
- package/dist/src/decorators/decorator-parameter.js +0 -2
- package/dist/src/decorators/decorator-parameter.js.map +0 -1
- package/dist/src/decorators/handlers/custom/additional-query-parameters.d.ts.map +0 -1
- package/dist/src/decorators/handlers/custom/additional-query-parameters.js +0 -38
- package/dist/src/decorators/handlers/custom/additional-query-parameters.js.map +0 -1
- package/dist/src/decorators/handlers/custom/ags-attribute.d.ts +0 -8
- package/dist/src/decorators/handlers/custom/ags-attribute.d.ts.map +0 -1
- package/dist/src/decorators/handlers/custom/ags-attribute.js +0 -36
- package/dist/src/decorators/handlers/custom/ags-attribute.js.map +0 -1
- package/dist/src/decorators/handlers/custom/index.d.ts +0 -3
- package/dist/src/decorators/handlers/custom/index.d.ts.map +0 -1
- package/dist/src/decorators/handlers/custom/index.js +0 -3
- package/dist/src/decorators/handlers/custom/index.js.map +0 -1
- package/dist/src/decorators/handlers/index.d.ts +0 -31
- package/dist/src/decorators/handlers/index.d.ts.map +0 -1
- package/dist/src/decorators/handlers/index.js +0 -121
- package/dist/src/decorators/handlers/index.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"additional-query-parameters.d.ts","sourceRoot":"","sources":["../../../../../src/decorators/handlers/custom/additional-query-parameters.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,gBAAgB,EAChB,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AASD;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,EACjB,SAAS,EAAE,kBAAkB,GAAG,SAAS,EACzC,UAAU,EAAE,kBAAkB,GAAG,SAAS,QAqB3C;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,cAAc,EAAE,CAElB;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,IAAI,GACX;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAM3B"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { createDecoratorDefinition, } from "@typespec/compiler";
|
|
2
|
-
const additionalQueryParametersKey = Symbol("additionalQueryParameters");
|
|
3
|
-
const additionalQueryParametersDecorator = createDecoratorDefinition({
|
|
4
|
-
name: "@additionalQueryParameters",
|
|
5
|
-
target: "Namespace",
|
|
6
|
-
args: [{ kind: "String" }, { kind: "String" }],
|
|
7
|
-
});
|
|
8
|
-
/**
|
|
9
|
-
* \`@additionalQueryParameters\` - Appends a key=value pair to the query string of the mapped internal URL for all models defined within the namespace..
|
|
10
|
-
*/
|
|
11
|
-
export function $additionalQueryParameters(context, target, nameParam, valueParam) {
|
|
12
|
-
const name = nameParam === undefined ? "" : nameParam.value;
|
|
13
|
-
const value = valueParam === undefined ? "" : valueParam.value;
|
|
14
|
-
if (!additionalQueryParametersDecorator.validate(context, target, [name, value])) {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
let queryParameters = context.program
|
|
18
|
-
.stateMap(additionalQueryParametersKey)
|
|
19
|
-
.get(target);
|
|
20
|
-
if (queryParameters === undefined) {
|
|
21
|
-
queryParameters = [];
|
|
22
|
-
context.program.stateMap(additionalQueryParametersKey).set(target, queryParameters);
|
|
23
|
-
}
|
|
24
|
-
queryParameters.push({
|
|
25
|
-
name,
|
|
26
|
-
value,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
export function getAdditionalQueryParameters(program, target) {
|
|
30
|
-
return program.stateMap(additionalQueryParametersKey).get(target) || [];
|
|
31
|
-
}
|
|
32
|
-
export function unpackAdditionalQueryParameters(program, target) {
|
|
33
|
-
const additionalQueryParameters = getAdditionalQueryParameters(program, target);
|
|
34
|
-
const queryParameters = additionalQueryParameters &&
|
|
35
|
-
additionalQueryParameters.map((p) => `${p.name}=${p.value}`).join("&");
|
|
36
|
-
return { "ags:AdditionalQueryParameters": queryParameters };
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=additional-query-parameters.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"additional-query-parameters.js","sourceRoot":"","sources":["../../../../../src/decorators/handlers/custom/additional-query-parameters.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,GAK1B,MAAM,oBAAoB,CAAC;AAO5B,MAAM,4BAA4B,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC;AAEzE,MAAM,kCAAkC,GAAG,yBAAyB,CAAC;IACnE,IAAI,EAAE,4BAA4B;IAClC,MAAM,EAAE,WAAW;IACnB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;CACtC,CAAC,CAAC;AAEZ;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACxC,OAAyB,EACzB,MAAiB,EACjB,SAAyC,EACzC,UAA0C;IAE1C,MAAM,IAAI,GAAG,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAA;IAC3D,MAAM,KAAK,GAAG,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAA;IAE9D,IAAI,CAAC,kCAAkC,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE;QAChF,OAAO;KACR;IAED,IAAI,eAAe,GAAqB,OAAO,CAAC,OAAO;SACpD,QAAQ,CAAC,4BAA4B,CAAC;SACtC,GAAG,CAAC,MAAM,CAAC,CAAC;IACf,IAAI,eAAe,KAAK,SAAS,EAAE;QACjC,eAAe,GAAG,EAAE,CAAC;QACrB,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;KACrF;IAED,eAAe,CAAC,IAAI,CAAC;QACnB,IAAI;QACJ,KAAK;KACN,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,4BAA4B,CAC1C,OAAgB,EAChB,MAAiB;IAEjB,OAAO,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;AAC1E,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC7C,OAAgB,EAChB,MAAY;IAEZ,MAAM,yBAAyB,GAAG,4BAA4B,CAAC,OAAO,EAAE,MAAmB,CAAC,CAAC;IAC7F,MAAM,eAAe,GACnB,yBAAyB;QACzB,yBAAyB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACzE,OAAO,EAAE,+BAA+B,EAAE,eAAe,EAAE,CAAC;AAC9D,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DecoratorContext, Enum, EnumMember, Interface, Model, ModelProperty, Operation, Program, Type } from "@typespec/compiler";
|
|
2
|
-
import { DecoratorParameter } from "../../decorator-parameter.js";
|
|
3
|
-
export declare function $agsAttribute(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember | Operation | Interface, name: DecoratorParameter, value: DecoratorParameter): void;
|
|
4
|
-
export declare function getAgsAttributes(program: Program, target: Model | ModelProperty | Enum | EnumMember | Operation | Interface): Map<string, string> | undefined;
|
|
5
|
-
export declare function unpackAgsAttributes(program: Program, target: Type): {
|
|
6
|
-
[key: string]: string;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=ags-attribute.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ags-attribute.d.ts","sourceRoot":"","sources":["../../../../../src/decorators/handlers/custom/ags-attribute.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,gBAAgB,EAChB,IAAI,EACJ,UAAU,EACV,SAAS,EACT,KAAK,EACL,aAAa,EACb,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAelE,wBAAgB,aAAa,CAC3B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,EACzE,IAAI,EAAE,kBAAkB,EACxB,KAAK,EAAE,kBAAkB,QAiB1B;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GACxE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAEjC;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAK7F"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { createDecoratorDefinition, } from "@typespec/compiler";
|
|
2
|
-
/**
|
|
3
|
-
* `@agsAttribute` - Allows all AGS CSDL extensions that are not yet modelled explicitly in TypeSpec to be maintained
|
|
4
|
-
* `@agsAttribute` - Applies to models.
|
|
5
|
-
*/
|
|
6
|
-
const agsAttributeKey = Symbol("agsAttribute");
|
|
7
|
-
const agsAttributeDecorator = createDecoratorDefinition({
|
|
8
|
-
name: "@agsAttribute",
|
|
9
|
-
target: ["Enum", "EnumMember", "Model", "ModelProperty", "Operation", "Interface"],
|
|
10
|
-
args: [{ kind: "String" }, { kind: "String" }],
|
|
11
|
-
});
|
|
12
|
-
export function $agsAttribute(context, target, name, value) {
|
|
13
|
-
if (!agsAttributeDecorator.validate(context, target, [name.value, value.value])) {
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
let attributeParameters = context.program
|
|
17
|
-
.stateMap(agsAttributeKey)
|
|
18
|
-
.get(target);
|
|
19
|
-
if (attributeParameters) {
|
|
20
|
-
attributeParameters.set(name.value, value.value);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
attributeParameters = new Map([[name.value, value.value]]);
|
|
24
|
-
}
|
|
25
|
-
context.program.stateMap(agsAttributeKey).set(target, attributeParameters);
|
|
26
|
-
}
|
|
27
|
-
export function getAgsAttributes(program, target) {
|
|
28
|
-
return program.stateMap(agsAttributeKey).get(target);
|
|
29
|
-
}
|
|
30
|
-
export function unpackAgsAttributes(program, target) {
|
|
31
|
-
const attributes = getAgsAttributes(program, target);
|
|
32
|
-
let params = {};
|
|
33
|
-
attributes === null || attributes === void 0 ? void 0 : attributes.forEach((value, name) => (params = { ...params, ...{ [`ags:${name}`]: value } }));
|
|
34
|
-
return params || {};
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=ags-attribute.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ags-attribute.js","sourceRoot":"","sources":["../../../../../src/decorators/handlers/custom/ags-attribute.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,GAU1B,MAAM,oBAAoB,CAAC;AAG5B;;;GAGG;AAEH,MAAM,eAAe,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAE/C,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;IACtD,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,E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AC,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,GAAG,EAAE,GAAG,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC;IAC9F,OAAO,MAAM,IAAI,EAAE,CAAC;AACtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/decorators/handlers/custom/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/decorators/handlers/custom/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTICE: This is an autogenerated file and should not be edited directly.
|
|
3
|
-
*/
|
|
4
|
-
import { DecoratorContext, EnumMember, Enum, Interface, Model, ModelProperty, Namespace, Operation, Program, Type } from "@typespec/compiler";
|
|
5
|
-
import { DecoratorParameter } from "../decorator-parameter.js";
|
|
6
|
-
/**
|
|
7
|
-
* `@isOwner` - specify the name of the workload associated with the model
|
|
8
|
-
* `@isOwner` can be applied to Model, ModelProperty, Enum, EnumMember.
|
|
9
|
-
*/
|
|
10
|
-
export declare function $isOwner(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember): void;
|
|
11
|
-
export declare function isIsOwner(program: Program, target: Type): boolean;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* `@privileged` can be applied to Model, ModelProperty, Enum, EnumMember, Operation, Namespace.
|
|
15
|
-
*/
|
|
16
|
-
export declare function $privileged(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember | Operation | Namespace): void;
|
|
17
|
-
export declare function isPrivileged(program: Program, target: Type): boolean;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* `@workloadName` can be applied to Model, ModelProperty, Enum, EnumMember.
|
|
21
|
-
*/
|
|
22
|
-
export declare function $workloadName(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember, workloadName: DecoratorParameter): void;
|
|
23
|
-
export declare function getWorkloadName(program: Program, target: Type): string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* `@workloadNameMsa` can be applied to Model, ModelProperty, Enum, EnumMember.
|
|
27
|
-
*/
|
|
28
|
-
export declare function $workloadNameMsa(context: DecoratorContext, target: Model | ModelProperty | Enum | EnumMember, workloadNameMsa: DecoratorParameter): void;
|
|
29
|
-
export declare function getWorkloadNameMsa(program: Program, target: Type): string | undefined;
|
|
30
|
-
export declare function buildAttributes(program: Program, type: Model | ModelProperty | Namespace | Interface | Operation | Enum | EnumMember): Record<string, string>;
|
|
31
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/decorators/handlers/index.ts"],"names":[],"mappings":"AACE;;GAEG;AAEL,OAAO,EAEL,gBAAgB,EAChB,UAAU,EACV,IAAI,EACJ,SAAS,EACT,KAAK,EACL,aAAa,EACb,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EACL,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAW/D;;;EAGE;AACF,wBAAgB,QAAQ,CACtB,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,QAQlD;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,OAAO,CAEjE;AAYD;;;EAGE;AACF,wBAAgB,WAAW,CACzB,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,QAQ1E;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,OAAO,CAEpE;AAYD;;;EAGE;AACF,wBAAgB,aAAa,CAC3B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,EACjD,YAAY,EAAE,kBAAkB,QAOjC;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAElF;AAYD;;;EAGE;AACF,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,IAAI,GAAG,UAAU,EACjD,eAAe,EAAE,kBAAkB,QAOpC;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAErF;AAmBD,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,KAAK,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,GAAG,UAAU,GAClF,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAmBxB"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTICE: This is an autogenerated file and should not be edited directly.
|
|
3
|
-
*/
|
|
4
|
-
import { createDecoratorDefinition, } from "@typespec/compiler";
|
|
5
|
-
import * as customAttribs from "./custom/index.js";
|
|
6
|
-
// -- @isOwner decorator
|
|
7
|
-
const isOwnerKey = Symbol("isOwner");
|
|
8
|
-
const isOwnerDecorator = createDecoratorDefinition({
|
|
9
|
-
name: "@isOwner",
|
|
10
|
-
target: ["Model", "ModelProperty", "Enum", "EnumMember"],
|
|
11
|
-
args: []
|
|
12
|
-
});
|
|
13
|
-
/**
|
|
14
|
-
* `@isOwner` - specify the name of the workload associated with the model
|
|
15
|
-
* `@isOwner` can be applied to Model, ModelProperty, Enum, EnumMember.
|
|
16
|
-
*/
|
|
17
|
-
export function $isOwner(context, target) {
|
|
18
|
-
if (!isOwnerDecorator.validate(context, target, [])) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
context.program.stateSet(isOwnerKey).add(target);
|
|
22
|
-
}
|
|
23
|
-
export function isIsOwner(program, target) {
|
|
24
|
-
return program.stateSet(isOwnerKey).has(target);
|
|
25
|
-
}
|
|
26
|
-
// -- @privileged decorator
|
|
27
|
-
const privilegedKey = Symbol("privileged");
|
|
28
|
-
const privilegedDecorator = createDecoratorDefinition({
|
|
29
|
-
name: "@privileged",
|
|
30
|
-
target: ["Model", "ModelProperty", "Enum", "EnumMember", "Operation", "Namespace"],
|
|
31
|
-
args: []
|
|
32
|
-
});
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* `@privileged` can be applied to Model, ModelProperty, Enum, EnumMember, Operation, Namespace.
|
|
36
|
-
*/
|
|
37
|
-
export function $privileged(context, target) {
|
|
38
|
-
if (!privilegedDecorator.validate(context, target, [])) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
context.program.stateSet(privilegedKey).add(target);
|
|
42
|
-
}
|
|
43
|
-
export function isPrivileged(program, target) {
|
|
44
|
-
return program.stateSet(privilegedKey).has(target);
|
|
45
|
-
}
|
|
46
|
-
// -- @workloadName decorator
|
|
47
|
-
const workloadNameKey = Symbol("workloadName");
|
|
48
|
-
const workloadNameDecorator = createDecoratorDefinition({
|
|
49
|
-
name: "@workloadName",
|
|
50
|
-
target: ["Model", "ModelProperty", "Enum", "EnumMember"],
|
|
51
|
-
args: [{ kind: "String" }]
|
|
52
|
-
});
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* `@workloadName` can be applied to Model, ModelProperty, Enum, EnumMember.
|
|
56
|
-
*/
|
|
57
|
-
export function $workloadName(context, target, workloadName) {
|
|
58
|
-
if (!workloadNameDecorator.validate(context, target, [workloadName.value])) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
context.program.stateMap(workloadNameKey).set(target, workloadName.value);
|
|
62
|
-
}
|
|
63
|
-
export function getWorkloadName(program, target) {
|
|
64
|
-
return program.stateMap(workloadNameKey).get(target);
|
|
65
|
-
}
|
|
66
|
-
// -- @workloadNameMsa decorator
|
|
67
|
-
const workloadNameMsaKey = Symbol("workloadNameMsa");
|
|
68
|
-
const workloadNameMsaDecorator = createDecoratorDefinition({
|
|
69
|
-
name: "@workloadNameMsa",
|
|
70
|
-
target: ["Model", "ModelProperty", "Enum", "EnumMember"],
|
|
71
|
-
args: [{ kind: "String" }]
|
|
72
|
-
});
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* `@workloadNameMsa` can be applied to Model, ModelProperty, Enum, EnumMember.
|
|
76
|
-
*/
|
|
77
|
-
export function $workloadNameMsa(context, target, workloadNameMsa) {
|
|
78
|
-
if (!workloadNameMsaDecorator.validate(context, target, [workloadNameMsa.value])) {
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
context.program.stateMap(workloadNameMsaKey).set(target, workloadNameMsa.value);
|
|
82
|
-
}
|
|
83
|
-
export function getWorkloadNameMsa(program, target) {
|
|
84
|
-
return program.stateMap(workloadNameMsaKey).get(target);
|
|
85
|
-
}
|
|
86
|
-
const decoratorToMethodMapper = {
|
|
87
|
-
isOwner: isIsOwner,
|
|
88
|
-
privileged: isPrivileged,
|
|
89
|
-
workloadName: getWorkloadName,
|
|
90
|
-
workloadNameMsa: getWorkloadNameMsa,
|
|
91
|
-
additionalQueryParameters: customAttribs.unpackAdditionalQueryParameters,
|
|
92
|
-
agsAttribute: customAttribs.unpackAgsAttributes
|
|
93
|
-
};
|
|
94
|
-
const decoratorToAgsAttributeMapper = {
|
|
95
|
-
"isOwner": "ags:IsOwner",
|
|
96
|
-
"privileged": "ags:IsHidden",
|
|
97
|
-
"workloadName": "ags:WorkloadName",
|
|
98
|
-
"workloadNameMsa": "ags:WorkloadNameMsa"
|
|
99
|
-
};
|
|
100
|
-
export function buildAttributes(program, type) {
|
|
101
|
-
const declaredDecorators = ["isOwner", "privileged", "workloadName", "workloadNameMsa", "additionalQueryParameters", "agsAttribute"];
|
|
102
|
-
let attrs = {};
|
|
103
|
-
type.decorators
|
|
104
|
-
// only handle declared decorators
|
|
105
|
-
.filter((d) => declaredDecorators.some((s) => s === d.decorator.name.substring(1)))
|
|
106
|
-
.forEach((d) => {
|
|
107
|
-
const attrName = d.decorator.name.substring(1); // name prefixed with $
|
|
108
|
-
let key = attrName;
|
|
109
|
-
const agsAttrParams = decoratorToMethodMapper[key](program, type);
|
|
110
|
-
if (typeof agsAttrParams === "object") {
|
|
111
|
-
attrs = { ...attrs, ...agsAttrParams };
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
key = attrName;
|
|
115
|
-
const agsAttr = decoratorToAgsAttributeMapper[key];
|
|
116
|
-
attrs = { ...attrs, ...{ [agsAttr]: agsAttrParams } };
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
return attrs;
|
|
120
|
-
}
|
|
121
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -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,UAAU;IAChB,MAAM,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,YAAY,CAAC;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