@typespec/http-client-js 0.16.1-dev.1 → 0.16.1-dev.2
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/.turbo/turbo-build.log +1 -1
- package/dist/src/components/client-context/client-context-declaration.d.ts +1 -1
- package/dist/src/components/client-context/client-context-declaration.d.ts.map +1 -1
- package/dist/src/components/client-context/client-context-factory.d.ts +2 -2
- package/dist/src/components/client-context/client-context-factory.d.ts.map +1 -1
- package/dist/src/components/client-context/client-context-factory.js.map +1 -1
- package/dist/src/components/client-context/client-context-options.d.ts +2 -2
- package/dist/src/components/client-context/client-context-options.d.ts.map +1 -1
- package/dist/src/components/client-context/client-context-options.js.map +1 -1
- package/dist/src/components/client-context/client-context.d.ts +1 -1
- package/dist/src/components/client-context/client-context.d.ts.map +1 -1
- package/dist/src/components/client-context/parametrized-endpoint.d.ts +2 -2
- package/dist/src/components/client-context/parametrized-endpoint.d.ts.map +1 -1
- package/dist/src/components/client-context/parametrized-endpoint.js.map +1 -1
- package/dist/src/components/client-directory.d.ts +2 -2
- package/dist/src/components/client-directory.d.ts.map +1 -1
- package/dist/src/components/client-directory.js.map +1 -1
- package/dist/src/components/client-operation.d.ts +2 -2
- package/dist/src/components/client-operation.d.ts.map +1 -1
- package/dist/src/components/client-operation.js.map +1 -1
- package/dist/src/components/client.d.ts +2 -2
- package/dist/src/components/client.d.ts.map +1 -1
- package/dist/src/components/client.js.map +1 -1
- package/dist/src/components/encoding-provider.d.ts +1 -1
- package/dist/src/components/encoding-provider.d.ts.map +1 -1
- package/dist/src/components/http-request-options.d.ts +2 -2
- package/dist/src/components/http-request-options.d.ts.map +1 -1
- package/dist/src/components/http-request-options.js.map +1 -1
- package/dist/src/components/http-request-parameters-expression.d.ts +2 -2
- package/dist/src/components/http-request-parameters-expression.d.ts.map +1 -1
- package/dist/src/components/http-request-parameters-expression.js.map +1 -1
- package/dist/src/components/http-request.d.ts +2 -2
- package/dist/src/components/http-request.d.ts.map +1 -1
- package/dist/src/components/http-request.js.map +1 -1
- package/dist/src/components/http-response.d.ts +2 -2
- package/dist/src/components/http-response.d.ts.map +1 -1
- package/dist/src/components/http-response.js.map +1 -1
- package/dist/src/components/operation-handlers/index.d.ts +1 -1
- package/dist/src/components/operation-handlers/index.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/index.js +0 -1
- package/dist/src/components/operation-handlers/index.js.map +1 -1
- package/dist/src/components/operation-handlers/operation-pipeline.d.ts +2 -2
- package/dist/src/components/operation-handlers/operation-pipeline.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/paging/page-item.d.ts +1 -1
- package/dist/src/components/operation-handlers/paging/page-item.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/paging/page-response.d.ts +2 -2
- package/dist/src/components/operation-handlers/paging/page-response.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/paging/page-settings.d.ts +2 -2
- package/dist/src/components/operation-handlers/paging/page-settings.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/paging/paginated-operation-handler.d.ts +1 -1
- package/dist/src/components/operation-handlers/paging/paginated-operation-handler.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/paging/paginated-operation-handler.js.map +1 -1
- package/dist/src/components/operation-handlers/paging/request-send.d.ts +2 -2
- package/dist/src/components/operation-handlers/paging/request-send.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/paging/request-send.js.map +1 -1
- package/dist/src/components/operation-handlers/paging/response-deserialize.d.ts +3 -3
- package/dist/src/components/operation-handlers/paging/response-deserialize.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/paging/response-deserialize.js.map +1 -1
- package/dist/src/components/operation-handlers/paging/util.d.ts +2 -2
- package/dist/src/components/operation-handlers/paging/util.d.ts.map +1 -1
- package/dist/src/components/operation-handlers/types.d.ts +1 -1
- package/dist/src/components/operation-handlers/types.d.ts.map +1 -1
- package/dist/src/components/operation-options.d.ts +2 -2
- package/dist/src/components/operation-options.d.ts.map +1 -1
- package/dist/src/components/operation-parameters.d.ts +3 -3
- package/dist/src/components/operation-parameters.d.ts.map +1 -1
- package/dist/src/components/operation-parameters.js.map +1 -1
- package/dist/src/components/output.d.ts +2 -2
- package/dist/src/components/output.d.ts.map +1 -1
- package/dist/src/components/static-helpers/bytes-encoding.d.ts +2 -2
- package/dist/src/components/static-helpers/bytes-encoding.d.ts.map +1 -1
- package/dist/src/components/static-helpers/bytes-encoding.js.map +1 -1
- package/dist/src/components/testing/client-options.d.ts +1 -1
- package/dist/src/components/testing/client-options.d.ts.map +1 -1
- package/dist/src/components/testing/client-options.js.map +1 -1
- package/dist/src/components/transforms/data-transform.d.ts +2 -2
- package/dist/src/components/transforms/data-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/json/json-model-additional-properties-transform.d.ts +1 -1
- package/dist/src/components/transforms/json/json-model-additional-properties-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/json/json-model-additional-properties-transform.js.map +1 -1
- package/dist/src/components/transforms/json/json-model-property-transform.d.ts +2 -2
- package/dist/src/components/transforms/json/json-model-property-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/json/json-model-property-transform.js.map +1 -1
- package/dist/src/components/transforms/json/json-transform-discriminator.d.ts +1 -1
- package/dist/src/components/transforms/json/json-transform-discriminator.d.ts.map +1 -1
- package/dist/src/components/transforms/json/json-transform.d.ts +2 -2
- package/dist/src/components/transforms/json/json-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/json/json-transform.js.map +1 -1
- package/dist/src/components/transforms/json/union-transform.d.ts +1 -1
- package/dist/src/components/transforms/json/union-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/json/union-transform.js.map +1 -1
- package/dist/src/components/transforms/multipart/array-part-transform.d.ts +2 -2
- package/dist/src/components/transforms/multipart/array-part-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/multipart/file-part-transform.d.ts +2 -2
- package/dist/src/components/transforms/multipart/file-part-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/multipart/file-part-transform.js.map +1 -1
- package/dist/src/components/transforms/multipart/multipart-transform.d.ts +1 -1
- package/dist/src/components/transforms/multipart/multipart-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/multipart/part-transform.d.ts +1 -1
- package/dist/src/components/transforms/multipart/part-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/multipart/simple-part-transform.d.ts +2 -2
- package/dist/src/components/transforms/multipart/simple-part-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/multipart/simple-part-transform.js.map +1 -1
- package/dist/src/components/transforms/operation-transform-declaration.d.ts +3 -3
- package/dist/src/components/transforms/operation-transform-declaration.d.ts.map +1 -1
- package/dist/src/components/transforms/operation-transform-declaration.js.map +1 -1
- package/dist/src/components/transforms/operation-transform-expression.d.ts +1 -1
- package/dist/src/components/transforms/operation-transform-expression.d.ts.map +1 -1
- package/dist/src/components/transforms/operation-transform-expression.js.map +1 -1
- package/dist/src/components/transforms/scalar-transform.d.ts +2 -2
- package/dist/src/components/transforms/scalar-transform.d.ts.map +1 -1
- package/dist/src/components/transforms/scalar-transform.js.map +1 -1
- package/dist/src/components/utils/unpack-model-property.d.ts +1 -1
- package/dist/src/components/utils/unpack-model-property.d.ts.map +1 -1
- package/dist/src/components/utils/unpack-model-property.js.map +1 -1
- package/dist/src/components/utils/url-template.d.ts +1 -1
- package/dist/src/components/utils/url-template.d.ts.map +1 -1
- package/dist/src/context/encoding/encoding-context.d.ts +2 -2
- package/dist/src/context/encoding/encoding-context.d.ts.map +1 -1
- package/dist/src/context/encoding/encoding-context.js.map +1 -1
- package/dist/src/emitter.d.ts +3 -3
- package/dist/src/emitter.d.ts.map +1 -1
- package/dist/src/emitter.js.map +1 -1
- package/dist/src/lib.d.ts.map +1 -1
- package/dist/src/lib.js.map +1 -1
- package/dist/src/testing/index.d.ts +1 -1
- package/dist/src/testing/index.d.ts.map +1 -1
- package/dist/src/testing/index.js.map +1 -1
- package/dist/src/utils/client-discovery.d.ts +1 -1
- package/dist/src/utils/client-discovery.d.ts.map +1 -1
- package/dist/src/utils/operations.d.ts +2 -2
- package/dist/src/utils/operations.d.ts.map +1 -1
- package/dist/src/utils/operations.js.map +1 -1
- package/dist/src/utils/parameters.d.ts +5 -5
- package/dist/src/utils/parameters.d.ts.map +1 -1
- package/dist/src/utils/parameters.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/components/client-context/client-context-declaration.tsx +1 -1
- package/src/components/client-context/client-context-factory.tsx +5 -3
- package/src/components/client-context/client-context-options.tsx +3 -2
- package/src/components/client-context/client-context.tsx +1 -1
- package/src/components/client-context/parametrized-endpoint.tsx +3 -2
- package/src/components/client-directory.tsx +3 -2
- package/src/components/client-operation.tsx +3 -2
- package/src/components/client.tsx +3 -2
- package/src/components/encoding-provider.tsx +1 -1
- package/src/components/http-request-options.tsx +3 -2
- package/src/components/http-request-parameters-expression.tsx +3 -2
- package/src/components/http-request.tsx +3 -2
- package/src/components/http-response.tsx +3 -2
- package/src/components/operation-handlers/index.tsx +1 -1
- package/src/components/operation-handlers/operation-pipeline.tsx +2 -2
- package/src/components/operation-handlers/paging/page-item.tsx +1 -1
- package/src/components/operation-handlers/paging/page-response.tsx +2 -2
- package/src/components/operation-handlers/paging/page-settings.tsx +2 -2
- package/src/components/operation-handlers/paging/paginated-operation-handler.tsx +6 -4
- package/src/components/operation-handlers/paging/request-send.tsx +3 -2
- package/src/components/operation-handlers/paging/response-deserialize.tsx +5 -3
- package/src/components/operation-handlers/paging/util.ts +2 -2
- package/src/components/operation-handlers/types.tsx +1 -1
- package/src/components/operation-options.tsx +2 -2
- package/src/components/operation-parameters.tsx +4 -3
- package/src/components/output.tsx +2 -2
- package/src/components/static-helpers/bytes-encoding.tsx +3 -2
- package/src/components/testing/client-options.tsx +2 -1
- package/src/components/transforms/content-type-encoding-provider.tsx +1 -1
- package/src/components/transforms/data-transform.tsx +2 -2
- package/src/components/transforms/json/json-model-additional-properties-transform.tsx +2 -1
- package/src/components/transforms/json/json-model-property-transform.tsx +3 -2
- package/src/components/transforms/json/json-transform-discriminator.tsx +1 -1
- package/src/components/transforms/json/json-transform.tsx +3 -2
- package/src/components/transforms/json/union-transform.tsx +2 -1
- package/src/components/transforms/multipart/array-part-transform.tsx +2 -2
- package/src/components/transforms/multipart/file-part-transform.tsx +3 -2
- package/src/components/transforms/multipart/multipart-transform.tsx +1 -1
- package/src/components/transforms/multipart/part-transform.tsx +1 -1
- package/src/components/transforms/multipart/simple-part-transform.tsx +3 -2
- package/src/components/transforms/operation-transform-declaration.tsx +4 -3
- package/src/components/transforms/operation-transform-expression.tsx +3 -2
- package/src/components/transforms/scalar-transform.tsx +4 -2
- package/src/components/utils/unpack-model-property.ts +2 -1
- package/src/components/utils/url-template.tsx +1 -1
- package/src/context/encoding/encoding-context.tsx +3 -2
- package/src/emitter.tsx +4 -3
- package/src/lib.ts +2 -1
- package/src/testing/index.ts +2 -1
- package/src/utils/client-discovery.ts +1 -1
- package/src/utils/operations.ts +5 -3
- package/src/utils/parameters.tsx +6 -5
- package/test/e2e/http/payload/pageable/main.test.ts +2 -4
- package/test/e2e/http/type/model/inheritance/single-discriminator/main.test.ts +2 -4
- package/test/e2e/http/type/property/additional-properties/main.test.ts +1 -1
- package/test/e2e/http/type/property/additional-properties/spreads.test.ts +5 -3
- package/test/e2e/http/versioning/added/main.test.ts +1 -2
- package/test/e2e/http/versioning/removed/main.test.ts +1 -1
- package/test/test-host.ts +2 -1
- package/tsconfig.json +1 -0
- package/tsconfig.test.json +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-send.d.ts","sourceRoot":"","sources":["../../../../../src/components/operation-handlers/paging/request-send.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"request-send.d.ts","sourceRoot":"","sources":["../../../../../src/components/operation-handlers/paging/request-send.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAG3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAOpD,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,aAAa,UAEpE;AAMD,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,aAAa,4BAsBpE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,qCAmC1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["List","StatementList","code","refkey","ts","Reference","FunctionDeclaration","cl","getClientcontextDeclarationRef","HttpRequestOptions","HttpRequest","getOperationParameters","getHttpRequestSendRefkey","httpOperation","getPagingOperationOptionsParameterRefkey","getHttpRequestSendParams","optionsRefkey","clientLibrary","useClientLibrary","client","getClientForOperation","clientContextInterfaceRef","signatureParams","name","type","parameters","length","optional","HttpRequestSend","props","operationUrlRefkey","requestOptionsVarRefkey","verb","namePolicy","useTSNamePolicy","functionName","getName","operation","_$createComponent","async","parametersMode","children","Url","pathVarRefkey","requestOptionsParamRefkey","_$memo"],"sources":["../../../../../src/components/operation-handlers/paging/request-send.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["List","StatementList","code","refkey","ts","Reference","FunctionDeclaration","cl","getClientcontextDeclarationRef","HttpRequestOptions","HttpRequest","getOperationParameters","getHttpRequestSendRefkey","httpOperation","getPagingOperationOptionsParameterRefkey","getHttpRequestSendParams","optionsRefkey","clientLibrary","useClientLibrary","client","getClientForOperation","clientContextInterfaceRef","signatureParams","name","type","parameters","length","optional","HttpRequestSend","props","operationUrlRefkey","requestOptionsVarRefkey","verb","namePolicy","useTSNamePolicy","functionName","getName","operation","_$createComponent","async","parametersMode","children","Url","pathVarRefkey","requestOptionsParamRefkey","_$memo"],"sources":["../../../../../src/components/operation-handlers/paging/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AChDa,yBAAyB,EAAE5B;cAAa,IAAA6B,MAAA,OAEzC3C,IAAI,qCAAAoC,iBAAA,CAAuCjC,SAAS;gBAACF,MAAM,EAAE2B;cAAkB,OAAUE,IAAI,IAAAM,iBAAA,CAAMjC,SAAS;gBAACF,MAAM,EAAE4B;cAAuB,MAAS;YAAA;UAAA;QAAA;MAAA;IAAA;EAAA;AAKhK","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Children, Refkey } from "@alloy-js/core";
|
|
2
|
-
import { HttpOperation } from "@typespec/http";
|
|
3
|
-
import { HttpResponseProps } from "../../http-response.jsx";
|
|
1
|
+
import type { Children, Refkey } from "@alloy-js/core";
|
|
2
|
+
import type { HttpOperation } from "@typespec/http";
|
|
3
|
+
import type { HttpResponseProps } from "../../http-response.jsx";
|
|
4
4
|
export declare function getHttpRequestDeserializeRefkey(httpOperation: HttpOperation): Refkey;
|
|
5
5
|
export interface HttpResponseDeserializeProps {
|
|
6
6
|
httpOperation: HttpOperation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-deserialize.d.ts","sourceRoot":"","sources":["../../../../../src/components/operation-handlers/paging/response-deserialize.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"response-deserialize.d.ts","sourceRoot":"","sources":["../../../../../src/components/operation-handlers/paging/response-deserialize.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAIvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAKjE,wBAAgB,+BAA+B,CAAC,aAAa,EAAE,aAAa,UAE3E;AAED,MAAM,WAAW,4BAA4B;IAC3C,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,wBAAgB,uCAAuC,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAE5F;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,iBAAiB,YAkC/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","List","refkey","ts","FunctionDeclaration","httpRuntimeTemplateLib","HttpResponses","getOperationOptionsTypeRefkey","getCreateRestErrorRefkey","getHttpRequestDeserializeRefkey","httpOperation","getPagingDeserializationOptionsParamRef","HttpResponseDeserialize","props","httpRequestOptionsRefkey","namePolicy","useTSNamePolicy","functionName","getName","operation","name","params","type","PathUncheckedResponse","optional","_$createComponent","parametersMode","parameters","children","hardline","_$memo"],"sources":["../../../../../src/components/operation-handlers/paging/response-deserialize.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","List","refkey","ts","FunctionDeclaration","httpRuntimeTemplateLib","HttpResponses","getOperationOptionsTypeRefkey","getCreateRestErrorRefkey","getHttpRequestDeserializeRefkey","httpOperation","getPagingDeserializationOptionsParamRef","HttpResponseDeserialize","props","httpRequestOptionsRefkey","namePolicy","useTSNamePolicy","functionName","getName","operation","name","params","type","PathUncheckedResponse","optional","_$createComponent","parametersMode","parameters","children","hardline","_$memo"],"sources":["../../../../../src/components/operation-handlers/paging/response-deserialize.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,EAAEC,IAAI,EAAEC,MAAM,QAAQ,gBAAgB;AACnD,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAC1C,SAASC,mBAAmB,QAAQ,wCAAwC;AAE5E,SAASC,sBAAsB,QAAQ,4CAA4C;AAEnF,SAASC,aAAa;AACtB,SAASC,6BAA6B;AACtC,SAASC,wBAAwB;AAEjC,OAAO,SAASC,+BAA+BA,CAACC,aAA4B,EAAE;EAC5E,OAAOR,MAAM,CAACQ,aAAa,EAAE,0BAA0B,CAAC;AAC1D;AAQA,OAAO,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|
2
|
-
import { HttpOperation } from "@typespec/http";
|
|
1
|
+
import type { PagingOperation } from "@typespec/compiler";
|
|
2
|
+
import type { HttpOperation } from "@typespec/http";
|
|
3
3
|
export interface PagingDetail {
|
|
4
4
|
pattern: "nextLink" | "continuationToken";
|
|
5
5
|
input?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/operation-handlers/paging/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/operation-handlers/paging/util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,WAAW,YAAY;IAE3B,OAAO,EAAE,UAAU,GAAG,mBAAmB,CAAC;IAC1C,KAAK,CAAC,EAAE;QACN,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE;YACV,IAAI,EAAE,MAAM,CAAC;YACb,QAAQ,EAAE,SAAS,GAAG,MAAM,CAAC;SAC9B,CAAC;KACH,CAAC;CACH;AAED,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,GAC/B,YAAY,CA4Bd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/operation-handlers/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/operation-handlers/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,SAAS,CAAC,SAAS,EAAE,aAAa,GAAG,OAAO,CAAC;IAE7C;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,aAAa,GAAG,QAAQ,CAAC;CAC5C;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,gBAAgB,EAAE,CAAC;CAC9B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModelProperty } from "@typespec/compiler";
|
|
2
|
-
import { HttpOperation } from "@typespec/http";
|
|
1
|
+
import type { ModelProperty } from "@typespec/compiler";
|
|
2
|
+
import type { HttpOperation } from "@typespec/http";
|
|
3
3
|
export interface OperationOptionsProps {
|
|
4
4
|
operation: HttpOperation;
|
|
5
5
|
excludes?: ModelProperty[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-options.d.ts","sourceRoot":"","sources":["../../../src/components/operation-options.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"operation-options.d.ts","sourceRoot":"","sources":["../../../src/components/operation-options.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;CAC5B;AAED,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,aAAa,mCAErE;AACD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,qBAAqB,qCA0BvE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Refkey } from "@alloy-js/core";
|
|
2
|
-
import * as ts from "@alloy-js/typescript";
|
|
3
|
-
import { HttpOperation } from "@typespec/http";
|
|
1
|
+
import type { Refkey } from "@alloy-js/core";
|
|
2
|
+
import type * as ts from "@alloy-js/typescript";
|
|
3
|
+
import type { HttpOperation } from "@typespec/http";
|
|
4
4
|
export interface OperationParametersProps {
|
|
5
5
|
operation: HttpOperation;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-parameters.d.ts","sourceRoot":"","sources":["../../../src/components/operation-parameters.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"operation-parameters.d.ts","sourceRoot":"","sources":["../../../src/components/operation-parameters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpD,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,aAAa,EACxB,aAAa,EAAE,MAAM,GACpB,EAAE,CAAC,mBAAmB,EAAE,CA2B1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["refkey","useTransformNamePolicy","ef","hasDefaultValue","getOperationOptionsTypeRefkey","getOperationParameters","operation","optionsRefkey","transformNamer","requiredParameters","parameters","properties","filter","p","property","optional","path","length","parameter","name","getApplicationName","parameterDescriptor","type","_$createComponent","TypeExpression","push"],"sources":["../../../src/components/operation-parameters.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["refkey","useTransformNamePolicy","ef","hasDefaultValue","getOperationOptionsTypeRefkey","getOperationParameters","operation","optionsRefkey","transformNamer","requiredParameters","parameters","properties","filter","p","property","optional","path","length","parameter","name","getApplicationName","parameterDescriptor","type","_$createComponent","TypeExpression","push"],"sources":["../../../src/components/operation-parameters.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,MAAM,QAAQ,gBAAgB;AAEvC,SAASC,sBAAsB,QAAQ,6BAA6B;AACpE,OAAO,KAAKC,EAAE,MAAM,wCAAwC;AAE5D,SAASC,eAAe;AACxB,SAASC,6BAA6B;AAMtC,OAAO,SAASC,sBAAsBA,CACpCC,SAAwB,EACxBC,aAAqB,EACK;EAC1B,MAAMC,cAAc,GAAGP,sBAAsB,CAAC,CAAC;EAC/C,MAAMQ,kBAAkB,GAAGH,SAAS,CAACI,UAAU,CAACC,UAAU,CACvDC,MAAM,CAAEC,CAAC,IAAK,CAACA,CAAC,CAACC,QAAQ,CAACC,QAAQ,IAAI,CAACZ,eAAe,CAACU,CAAC,CAAC,CAAC,CAC1DD,MAAM,CAAEC,CAAC,IAAKA,CAAC,CAACG,IAAI,CAACC,MAAM,KAAK,CAAC,CAAC;EAErC,MAAMP,UAAoC,GAAG,EAAE;EAE/C,KAAK,MAAMQ,SAAS,IAAIT,kBAAkB,EAAE;IAC1C,MAAMU,IAAI,GAAGX,cAAc,CAACY,kBAAkB,CAACF,SAAS,CAACJ,QAAQ,CAAC;IAClE,MAAMO,mBAA2C,GAAG;MAClDF,IAAI;MACJnB,MAAM,EAAEA,MAAM,CAAC,CAAC;MAChBsB,IAAI,EAAAC,iBAAA,CAAGrB,EAAE,CAACsB,cAAc;QAAA,IAACF,IAAIA,CAAA;UAAA,OAAEJ,SAAS,CAACJ,QAAQ,CAACQ,IAAI;QAAA;MAAA;IACxD,CAAC;IAEDZ,UAAU,CAACe,IAAI,CAACJ,mBAAmB,CAAC;EACtC;EAEAX,UAAU,CAACe,IAAI,CAAC;IACdN,IAAI,EAAE,SAAS;IACfnB,MAAM,EAAEO,aAAa;IACrBe,IAAI,EAAElB,6BAA6B,CAACE,SAAS,CAAC;IAC9CS,QAAQ,EAAE;EACZ,CAAC,CAAC;EAEF,OAAOL,UAAU;AACnB","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
2
|
-
import { Program } from "@typespec/compiler";
|
|
1
|
+
import type { Children } from "@alloy-js/core/jsx-runtime";
|
|
2
|
+
import type { Program } from "@typespec/compiler";
|
|
3
3
|
export interface OutputProps {
|
|
4
4
|
children?: Children;
|
|
5
5
|
program: Program;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../../src/components/output.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../../src/components/output.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAQlD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,YAgBxC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Refkey } from "@alloy-js/core";
|
|
2
|
-
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
1
|
+
import type { Refkey } from "@alloy-js/core";
|
|
2
|
+
import type { Children } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
export declare function getEncodeUint8ArrayRef(): Refkey;
|
|
4
4
|
export declare function EncodeUint8Array(): Children;
|
|
5
5
|
export declare function getDecodeUint8ArrayRef(): Refkey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bytes-encoding.d.ts","sourceRoot":"","sources":["../../../../src/components/static-helpers/bytes-encoding.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"bytes-encoding.d.ts","sourceRoot":"","sources":["../../../../src/components/static-helpers/bytes-encoding.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAG3D,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C;AAED,wBAAgB,gBAAgB,IAAI,QAAQ,CAuB3C;AAED,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C;AACD,wBAAgB,YAAY,IAAI,QAAQ,CAuBvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","refkey","ts","getEncodeUint8ArrayRef","EncodeUint8Array","valueRef","encodingRef","key","_$createComponent","FunctionDeclaration","name","parameters","type","returnType","children","getDecodeUint8ArrayRef","DecodeBase64"],"sources":["../../../../src/components/static-helpers/bytes-encoding.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","refkey","ts","getEncodeUint8ArrayRef","EncodeUint8Array","valueRef","encodingRef","key","_$createComponent","FunctionDeclaration","name","parameters","type","returnType","children","getDecodeUint8ArrayRef","DecodeBase64"],"sources":["../../../../src/components/static-helpers/bytes-encoding.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,EAAEC,MAAM,QAAQ,gBAAgB;AAE7C,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAE1C,OAAO,SAASC,sBAAsBA,CAAA,EAAW;EAC/C,OAAOF,MAAM,CAAC,kBAAkB,CAAC;AACnC;AAEA,OAAO,SAASG,gBAAgBA,CAAA,EAAa;EAC3C,MAAMC,QAAQ,GAAGJ,MAAM,CAAC,CAAC;EACzB,MAAMK,WAAW,GAAGL,MAAM,CAAC,CAAC;EAC5B,MAAMM,GAAG,GAAGJ,sBAAsB,CAAC,CAAC;EACpC,OAAAK,iBAAA,CACGN,EAAE,CAACO,mBAAmB;IAAA;IAErBR,MAAM,EAAEM,GAAG;IACXG,IAAI;IACJC,UAAU,EAAE,CACV;MAAED,IAAI,EAAE,OAAO;MAAEE,IAAI,EAAE,+BAA+B;MAAEX,MAAM,EAAEI;IAAS,CAAC,EAC1E;MAAEK,IAAI,EAAE,UAAU;MAAEE,IAAI,EAAE,gBAAgB;MAAEX,MAAM,EAAEK;IAAY,CAAC,CAClE;IACDO,UAAU;IAAAC,QAAA,EAETd,IAAI;AACX,aAAaK,QAAQ;AACrB,iBAAiBA,QAAQ;AACzB;AACA,2BAA2BA,QAAQ,cAAcC,WAAW;AAC5D;EAAI;AAGJ;AAEA,OAAO,SAASS,sBAAsBA,CAAA,EAAW;EAC/C,OAAOd,MAAM,CAAC,kBAAkB,CAAC;AACnC;AACA,OAAO,SAASe,YAAYA,CAAA,EAAa;EACvC,MAAMT,GAAG,GAAGQ,sBAAsB,CAAC,CAAC;EACpC,MAAMV,QAAQ,GAAGJ,MAAM,CAAC,CAAC;EACzB,OAAAO,iBAAA,CACGN,EAAE,CAACO,mBAAmB;IAAA;IAErBC,IAAI;IACJC,UAAU,EAAE,CAAC;MAAED,IAAI,EAAE,OAAO;MAAEE,IAAI,EAAE,QAAQ;MAAEX,MAAM,EAAEI;IAAS,CAAC,CAAC;IACjEQ,UAAU;IACVZ,MAAM,EAAEM,GAAG;IAAAO,QAAA,EAEVd,IAAI;AACX,YAAYK,QAAQ;AACpB,iBAAiBA,QAAQ;AACzB;AACA;AACA,uBAAuBA,QAAQ;AAC/B,oBAAoBA,QAAQ,mBAAmBA,QAAQ;AACvD;AACA;AACA;EAAK;AAGL","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-options.d.ts","sourceRoot":"","sources":["../../../../src/components/testing/client-options.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"client-options.d.ts","sourceRoot":"","sources":["../../../../src/components/testing/client-options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG/C,MAAM,WAAW,iBAAiB;CAAG;AAErC,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,YAU1D;AAED,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,QAAQ,EAAE,EACnB,QAAQ,GAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAA0B,QAUlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","ClientTestOptions","_props","process","env","TYPESPEC_JS_EMITTER_TESTING","addClientTestOptions","options","settings","location","testOptions","_$createComponent","unshift","push"],"sources":["../../../../src/components/testing/client-options.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","ClientTestOptions","_props","process","env","TYPESPEC_JS_EMITTER_TESTING","addClientTestOptions","options","settings","location","testOptions","_$createComponent","unshift","push"],"sources":["../../../../src/components/testing/client-options.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,QAAQ,gBAAgB;AAIrC,OAAO,SAASC,iBAAiBA,CAACC,MAAyB,EAAE;EAC3D,IAAIC,OAAO,CAACC,GAAG,CAACC,2BAA2B,KAAK,MAAM,EAAE;IACtD,OAAO,IAAI;EACb;EAEA,OAAOL,IAAI;AACb;AACA;AACA;AACA,MAAM;AACN;AAEA,OAAO,SAASM,oBAAoBA,CAClCC,OAAmB,EACnBC,QAAyC,GAAG;EAAEC,QAAQ,EAAE;AAAQ,CAAC,EACjE;EACA,IAAIN,OAAO,CAACC,GAAG,CAACC,2BAA2B,KAAK,MAAM,EAAE;IACtD,MAAMK,WAAW,GAAAC,iBAAA,CAAIV,iBAAiB,KAAG;IACzC,IAAIO,QAAQ,CAACC,QAAQ,KAAK,OAAO,EAAE;MACjCF,OAAO,CAACK,OAAO,CAACF,WAAW,CAAC;IAC9B,CAAC,MAAM;MACLH,OAAO,CAACM,IAAI,CAACH,WAAW,CAAC;IAC3B;EACF;AACF","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Children, Refkey } from "@alloy-js/core";
|
|
2
|
-
import { ModelProperty, Scalar } from "@typespec/compiler";
|
|
1
|
+
import type { Children, Refkey } from "@alloy-js/core";
|
|
2
|
+
import type { ModelProperty, Scalar } from "@typespec/compiler";
|
|
3
3
|
export interface ScalarDataTransformProps {
|
|
4
4
|
itemRef: Refkey | Children;
|
|
5
5
|
type: Scalar | ModelProperty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-transform.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/data-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"data-transform.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/data-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAc,aAAa,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAM5E,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC3B,IAAI,EAAE,MAAM,GAAG,aAAa,CAAC;IAC7B,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;CACrC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,YA0BlE"}
|
package/dist/src/components/transforms/json/json-model-additional-properties-transform.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-model-additional-properties-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-model-additional-properties-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"json-model-additional-properties-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-model-additional-properties-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG/C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAIhD,MAAM,WAAW,sCAAsC;IACrD,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;IACZ,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;CACrC;AAED,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,sCAAsC,YAwC9F"}
|
package/dist/src/components/transforms/json/json-model-additional-properties-transform.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","mapJoin","ts","useTsp","getJsonRecordTransformRefkey","JsonAdditionalPropertiesTransform","props","$","additionalProperties","model","getAdditionalPropertiesRecord","type","target","properties","getProperties","includeExtended","destructuredProperties","name","joiner","ender","inlineDestructure","itemRef","_$createComponent","ObjectProperty","children","_$memo"],"sources":["../../../../../src/components/transforms/json/json-model-additional-properties-transform.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","mapJoin","ts","useTsp","getJsonRecordTransformRefkey","JsonAdditionalPropertiesTransform","props","$","additionalProperties","model","getAdditionalPropertiesRecord","type","target","properties","getProperties","includeExtended","destructuredProperties","name","joiner","ender","inlineDestructure","itemRef","_$createComponent","ObjectProperty","children","_$memo"],"sources":["../../../../../src/components/transforms/json/json-model-additional-properties-transform.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,EAAEC,OAAO,QAAQ,gBAAgB;AAC9C,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAE1C,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SAASC,4BAA4B;AAQrC,OAAO,SAASC,iCAAiCA,CAACC,KAA6C,EAAE;EAC/F,MAAM;IAAEC;EAAE,CAAC,GAAGJ,MAAM,CAAC,CAAC;EACtB,MAAMK,oBAAoB,GAAGD,CAAC,CAACE,KAAK,CAACC,6BAA6B,CAACJ,KAAK,CAACK,IAAI,CAAC;EAE9E,IAAI,CAACH,oBAAoB,EAAE;IACzB,OAAO,IAAI;EACb;EAEA,IAAIF,KAAK,CAACM,MAAM,KAAK,aAAa,EAAE;IAClC,MAAMC,UAAU,GAAGN,CAAC,CAACE,KAAK,CAACK,aAAa,CAACR,KAAK,CAACK,IAAI,EAAE;MAAEI,eAAe,EAAE;IAAK,CAAC,CAAC;IAC/E,MAAMC,sBAAsB,GAAGf,OAAO,CACpC,MAAMY,UAAU,EACfI,IAAI,IAAKA,IAAI,EACd;MACEC,MAAM,EAAE,GAAG;MACXC,KAAK,EAAE;IACT,CACF,CAAC;;IAED;IACA,MAAMC,iBAAiB,GAAGpB,IAAI;AAClC,MAAMI,4BAA4B,CAACI,oBAAoB,EAAEF,KAAK,CAACM,MAAM,CAAC;AACtE,YAAYI,sBAAsB,wBAAwBV,KAAK,CAACe,OAAO;AACvE;AACA,KAAK;IAED,QAAAC,iBAAA,CAEKpB,EAAE,CAACqB,cAAc;MAACN,IAAI;MAAAO,QAAA,EAAyBJ;IAAiB;EAGvE;EAEA,MAAMC,OAAO,GAAGrB,IAAI,GAAGM,KAAK,CAACe,OAAO,uBAAuB;EAE3D,gBAAAI,MAAA,OAESrB,4BAA4B,CAACI,oBAAoB,EAAEF,KAAK,CAACM,MAAM,CAAC,QAAGS,OAAO;AAGrF","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Children, Refkey } from "@alloy-js/core";
|
|
2
|
-
import { ModelProperty } from "@typespec/compiler";
|
|
1
|
+
import type { Children, Refkey } from "@alloy-js/core";
|
|
2
|
+
import type { ModelProperty } from "@typespec/compiler";
|
|
3
3
|
export interface JsonModelPropertyTransformProps {
|
|
4
4
|
itemRef: Refkey | Children;
|
|
5
5
|
type: ModelProperty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-model-property-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-model-property-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"json-model-property-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-model-property-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAOxD,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC3B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;CACrC;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,+BAA+B,YAoChF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","NamePolicyContext","ts","useTsp","unpackProperty","ScalarDataTransform","useTransformNamePolicy","JsonTransform","JsonModelPropertyTransform","props","$","transformNamer","propertyValueType","type","transportName","getTransportName","applicationName","getApplicationName","targetName","target","sourceName","propertyValueRef","itemRef","propertyValue","scalar","is","_$createComponent","Provider","value","getName","n","for","children","ObjectProperty","name"],"sources":["../../../../../src/components/transforms/json/json-model-property-transform.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","NamePolicyContext","ts","useTsp","unpackProperty","ScalarDataTransform","useTransformNamePolicy","JsonTransform","JsonModelPropertyTransform","props","$","transformNamer","propertyValueType","type","transportName","getTransportName","applicationName","getApplicationName","targetName","target","sourceName","propertyValueRef","itemRef","propertyValue","scalar","is","_$createComponent","Provider","value","getName","n","for","children","ObjectProperty","name"],"sources":["../../../../../src/components/transforms/json/json-model-property-transform.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,EAAEC,iBAAiB,QAAQ,gBAAgB;AACxD,OAAO,K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,CAAA;QAAA,OAAEV,KAAK,CAACU,MAAM;MAAA;MAAEG,OAAO,EAAED;IAAgB,EACxF;EACH;EAEA,IAAIZ,KAAK,CAACU,MAAM,KAAK,WAAW,EAAE;IAChC,OAAAO,iBAAA,CACGzB,iBAAiB,CAAC0B,QAAQ;MAACC,KAAK,EAAE;QAAEC,OAAO,EAAGC,CAAC,IAAKA,CAAC;QAAEC,GAAG,EAAEA,CAAA,KAAOD,CAAC,IAAKA;MAAE,CAAC;MAAA,IAAAE,SAAA;QAAA,OAAAN,iBAAA,CAC1ExB,EAAE,CAAC+B,cAAc;UAACC,IAAI,EAAEhB,UAAU;UAAEU,KAAK,EAAEL;QAAa;MAAA;IAAA;EAG/D;EAEA,QAAAG,iBAAA,CAEKxB,EAAE,CAAC+B,cAAc;IAACC,IAAI,EAAEhB,UAAU;IAAEU,KAAK,EAAEL;EAAa;AAG/D","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Children, type Refkey } from "@alloy-js/core";
|
|
2
|
-
import { Discriminator, Model, Union } from "@typespec/compiler";
|
|
2
|
+
import type { Discriminator, Model, Union } from "@typespec/compiler";
|
|
3
3
|
export interface JsonTransformDiscriminatorProps {
|
|
4
4
|
itemRef: Refkey | Children;
|
|
5
5
|
discriminator: Discriminator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-transform-discriminator.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-transform-discriminator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAElG,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"json-transform-discriminator.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-transform-discriminator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAElG,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAItE,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,KAAK,GAAG,KAAK,CAAC;IACpB,MAAM,EAAE,aAAa,GAAG,WAAW,CAAC;CACrC;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,+BAA+B,YAmChF;AAED,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,KAAK,GAAG,KAAK,EACnB,MAAM,EAAE,aAAa,GAAG,WAAW,UAGpC;AAED,MAAM,WAAW,0CAA0C;IACzD,IAAI,EAAE,KAAK,GAAG,KAAK,CAAC;IACpB,MAAM,EAAE,aAAa,GAAG,WAAW,CAAC;CACrC;AAED,wBAAgB,qCAAqC,CACnD,KAAK,EAAE,0CAA0C,YA+ClD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Refkey } from "@alloy-js/core";
|
|
2
|
-
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
1
|
+
import type { Refkey } from "@alloy-js/core";
|
|
2
|
+
import type { Children } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import type { Type } from "@typespec/compiler";
|
|
4
4
|
export interface JsonTransformProps {
|
|
5
5
|
itemRef: Refkey | Children;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"json-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/json-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAyB/C,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC3B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;CACrC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,YAkCtD;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;CACrC;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,YAqB5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","useTsp","ScalarDataTransform","getJsonArrayTransformRefkey","JsonArrayTransform","JsonArrayTransformDeclaration","JsonModelPropertyTransform","getJsonModelTransformRefkey","JsonModelTransform","JsonModelTransformDeclaration","getJsonRecordTransformRefkey","JsonRecordTransform","JsonRecordTransformDeclaration","getJsonUnionTransformRefkey","JsonUnionTransform","JsonUnionTransformDeclaration","JsonTransform","props","$","type","httpPart","unpack","declaredTransform","getTransformReference","target","itemRef","kind","array","is","_$createComponent","record","JsonTransformDeclaration","model","union","Boolean","name","undefined"],"sources":["../../../../../src/components/transforms/json/json-transform.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","useTsp","ScalarDataTransform","getJsonArrayTransformRefkey","JsonArrayTransform","JsonArrayTransformDeclaration","JsonModelPropertyTransform","getJsonModelTransformRefkey","JsonModelTransform","JsonModelTransformDeclaration","getJsonRecordTransformRefkey","JsonRecordTransform","JsonRecordTransformDeclaration","getJsonUnionTransformRefkey","JsonUnionTransform","JsonUnionTransformDeclaration","JsonTransform","props","$","type","httpPart","unpack","declaredTransform","getTransformReference","target","itemRef","kind","array","is","_$createComponent","record","JsonTransformDeclaration","model","union","Boolean","name","undefined"],"sources":["../../../../../src/components/transforms/json/json-transform.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,QAAQ,gBAAgB;AAGrC,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SAASC,mBAAmB;AAC5B,SACEC,2BAA2B,EAC3BC,kBAAkB,EAClBC,6BAA6B;AAE/B,SAASC,0BAA0B;AACnC,SACEC,2BAA2B,EAC3BC,kBAAkB,EAClBC,6BAA6B;AAE/B,SACEC,4BAA4B,EAC5BC,mBAAmB,EACnBC,8BAA8B;AAEhC,SACEC,2BAA2B,EAC3BC,kBAAkB,EAClBC,6BAA6B;AAS/B,OAAO,SAASC,aAAaA,CAACC,KAAyB,EAAE;EACvD,MAAM;IAAEC;EAAE,CAAC,GAAGjB,MAAM,CAAC,CAAC;EACtB,MAAMkB,IAAI,GAAGD,CAAC,CAACE,QAAQ,CAACC,MAAM,CAACJ,KAAK,CAACE,IAAI,CAAC,IAAIF,KAAK,CAACE,IAAI;EACxD,MAAMG,iBAAiB,GAAGC,qBAAqB,CAACJ,IAAI,EAAEF,KAAK,CAACO,MAAM,CAAC;EAEnE,IAAIF,iBAAiB,EAAE;IACrB,OAAOtB,IAAI,GAAGsB,iBAAiB,IAAIL,KAAK,CAACQ,OAAO,GAAG;EACrD;EAEA,QAAQN,IAAI,CAACO,IAAI;IACf,KAAK,OAAO;MAAE;QACZ,IAAIR,CAAC,CAACS,KAAK,CAACC,EAAE,CAACT,IAAI,CAAC,EAAE;UACpB,OAAAU,iBAAA,CAAQzB,kBAAkB;YAACe,IAAI,EAAEA,IAAI;YAAA,IAAEM,OAAOA,CAAA;cAAA,OAAER,KAAK,CAACQ,OAAO;YAAA;YAAA,IAAED,MAAMA,CAAA;cAAA,OAAEP,KAAK,CAACO,MAAM;YAAA;UAAA;QACrF;QAEA,IAAIN,CAAC,CAACY,MAAM,CAACF,EAAE,CAACT,IAAI,CAAC,EAAE;UACrB,OAAAU,iBAAA,CAAQlB,mBAAmB;YAACQ,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,CAAC,GAAGjB,MAAM,CAAC,CAAC;EACtB,IAAIkB,IAAI,CAACO,IAAI,KAAK,OAAO,IAAIQ,OAAO,CAACf,IAAI,CAACgB,IAAI,CAAC,EAAE;IAC/C,IAAIjB,CAAC,CAACS,KAAK,CAACC,EAAE,CAACT,IAAI,CAAC,EAAE;MACpB,OAAOhB,2BAA2B,CAACgB,IAAI,EAAEK,MAAM,CAAC;IAClD;IAEA,IAAIN,CAAC,CAACY,MAAM,CAACF,EAAE,CAACT,IAAI,CAAC,EAAE;MACrB,OAAOT,4BAA4B,CAACS,IAAI,EAAEK,MAAM,CAAC;IACnD;IACA,OAAOjB,2BAA2B,CAACY,IAAI,EAAEK,MAAM,CAAC;EAClD;EAEA,IAAIL,IAAI,CAACO,IAAI,KAAK,OAAO,IAAIQ,OAAO,CAACf,IAAI,CAACgB,IAAI,CAAC,EAAE;IAC/C,OAAOtB,2BAA2B,CAACM,IAAI,EAAEK,MAAM,CAAC;EAClD;EAEA,OAAOY,SAAS;AAClB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"union-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/union-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"union-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/json/union-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAQhD,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC3B,IAAI,EAAE,KAAK,CAAC;IACZ,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;CACrC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,YAoBhE;AAED,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,KAAK,EACX,MAAM,EAAE,WAAW,GAAG,aAAa,GAClC,MAAM,CAER;AACD,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,KAAK,CAAC;IACZ,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;CACrC;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,kCAAkC,YAoCtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","refkey","ts","useTsp","getJsonTransformDiscriminatorRefkey","JsonTransformDiscriminatorDeclaration","JsonTransform","JsonUnionTransform","props","$","discriminator","union","getDiscriminatedUnion","type","options","discriminatorPropertyName","_$memo","target","itemRef","variantType","variants","values","next","value","isExtensible","_$createComponent","_$mergeProps","getJsonUnionTransformRefkey","JsonUnionTransformDeclaration","namePolicy","useTSNamePolicy","transformName","getName","name","typeRef","returnType","inputType","inputRef","parameters","optional","declarationRefkey","FunctionDeclaration","children"],"sources":["../../../../../src/components/transforms/json/union-transform.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","refkey","ts","useTsp","getJsonTransformDiscriminatorRefkey","JsonTransformDiscriminatorDeclaration","JsonTransform","JsonUnionTransform","props","$","discriminator","union","getDiscriminatedUnion","type","options","discriminatorPropertyName","_$memo","target","itemRef","variantType","variants","values","next","value","isExtensible","_$createComponent","_$mergeProps","getJsonUnionTransformRefkey","JsonUnionTransformDeclaration","namePolicy","useTSNamePolicy","transformName","getName","name","typeRef","returnType","inputType","inputRef","parameters","optional","declarationRefkey","FunctionDeclaration","children"],"sources":["../../../../../src/components/transforms/json/union-transform.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,EAAEC,MAAM,QAAQ,gBAAgB;AAC7C,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAE1C,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SACEC,mCAAmC,EACnCC,qCAAqC;AAEvC,SAASC,aAAa;AAQtB,OAAO,SAASC,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AW,GAAG,KAAK,GAAGiB,OAAO;EACjE,MAAME,SAAS,GAAG5B,KAAK,CAACS,MAAM,KAAK,WAAW,IAAMiB,OAAO,eAAc,KAAK;EAC9E,MAAMG,QAAQ,GAAGpC,MAAM,CAAC,CAAC;EAEzB,MAAMqC,UAAoC,GAAG,CAC3C;IAAEL,IAAI,EAAE,QAAQ;IAAEpB,IAAI,EAAEuB,SAAS;IAAEnC,MAAM,EAAEoC,QAAQ;IAAEE,QAAQ,EAAE;EAAK,CAAC,CACtE;EAED,MAAMC,iBAAiB,GAAGb,2BAA2B,CAACnB,KAAK,CAACK,IAAI,EAAEL,KAAK,CAACS,MAAM,CAAC;EAC/E,QAAAQ,iBAAA,CAEKpB,qCAAqC;IAAA,IAACY,MAAMA,CAAA;MAAA,OAAET,KAAK,CAACS,MAAM;IAAA;IAAA,IAAEJ,IAAIA,CAAA;MAAA,OAAEL,KAAK,CAACK,IAAI;IAAA;EAAA,IAAAY,iBAAA,CAC5EvB,EAAE,CAACuC,mBAAmB;IACrBR,IAAI,EAAEF,aAAa;IAAA;IAEnBI,UAAU,EAAEA,UAAU;IACtBG,UAAU,EAAEA,UAAU;IACtBrC,MAAM,EAAEuC,iBAAiB;IAAA,IAAAE,SAAA;MAAA,QAExB1C,IAAI;AACb,UAAUqC,QAAQ;AAClB,eAAeA,QAAQ;AACvB;AACA,KAAK,aAAAZ,iBAAA,CACWlB,kBAAkB,EAAAmB,YAAA,CAAKlB,KAAK;QAAEU,OAAO,EAAEmB;MAAQ;IAAA;EAAA;AAI/D","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
2
|
-
import { HttpOperationPart } from "@typespec/http";
|
|
1
|
+
import type { Children } from "@alloy-js/core/jsx-runtime";
|
|
2
|
+
import type { HttpOperationPart } from "@typespec/http";
|
|
3
3
|
export interface ArrayPartTransformProps {
|
|
4
4
|
part: HttpOperationPart;
|
|
5
5
|
itemRef: Children;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/array-part-transform.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"array-part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/array-part-transform.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;CACnB;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,YAwBhE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Children } from "@alloy-js/core";
|
|
2
|
-
import { HttpOperationPart } from "@typespec/http";
|
|
1
|
+
import type { Children } from "@alloy-js/core";
|
|
2
|
+
import type { HttpOperationPart } from "@typespec/http";
|
|
3
3
|
export interface FilePartTransformProps {
|
|
4
4
|
part: HttpOperationPart;
|
|
5
5
|
itemRef: Children;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/file-part-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"file-part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/file-part-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;CACnB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,YAU9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","ts","getCreateFilePartDescriptorReference","FilePartTransform","props","namePolicy","useTSNamePolicy","defaultContentType","getContentType","part","applicationName","getName","name","itemRef","getPartRef","args","JSON","stringify","push","ValueExpression","jsValue","_$createComponent","FunctionCallExpression","target","contentTypes","body","length","undefined","contentType","partName"],"sources":["../../../../../src/components/transforms/multipart/file-part-transform.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","ts","getCreateFilePartDescriptorReference","FilePartTransform","props","namePolicy","useTSNamePolicy","defaultContentType","getContentType","part","applicationName","getName","name","itemRef","getPartRef","args","JSON","stringify","push","ValueExpression","jsValue","_$createComponent","FunctionCallExpression","target","contentTypes","body","length","undefined","contentType","partName"],"sources":["../../../../../src/components/transforms/multipart/file-part-transform.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,QAAQ,gBAAgB;AACrC,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAE1C,SAASC,oCAAoC;AAO7C,OAAO,SAASC,iBAAiBA,CAACC,KAA6B,EAAE;EAC/D,MAAMC,UAAU,GAAGJ,EAAE,CAACK,eAAe,CAAC,CAAC;EACvC,MAAMC,kBAAkB,GAAGC,cAAc,CAACJ,KAAK,CAACK,IAAI,CAAC;EACrD,MAAMC,eAAe,GAAGL,UAAU,CAACM,OAAO,CAACP,KAAK,CAACK,IAAI,CAACG,IAAI,EAAG,UAAU,CAAC;EACxE,MAAMC,OAAO,GAAGC,UAAU,CAACV,KAAK,CAACS,OAAO,EAAEH,eAAe,CAAC;EAC1D,MAAMK,IAAc,GAAG,CAACC,IAAI,CAACC,SAAS,CAACb,KAAK,CAACK,IAAI,CAACG,IAAI,CAAC,EAAEC,OAAO,CAAC;EACjE,IAAIN,kBAAkB,EAAE;IACtBQ,IAAI,CAACG,IAAI,CAACjB,EAAE,CAACkB,eAAe,CAAC;MAAEC,OAAO,EAAEb;IAAmB,CAAC,CAAC,CAAC;EAChE;EACA,OAAAc,iBAAA,CAAQpB,EAAE,CAACqB,sBAAsB;IAAA,IAACC,MAAMA,CAAA;MAAA,OAAErB,oCAAoC,CAAC,CAAC;IAAA;IAAEa,IAAI,EAAEA;EAAI;AAC9F;AAEA,SAASP,cAAcA,CAACC,IAAuB,EAAE;EAC/C,MAAMe,YAAY,GAAGf,IAAI,CAACgB,IAAI,CAACD,YAAY;EAC3C,IAAIA,YAAY,CAACE,MAAM,KAAK,CAAC,EAAE;IAC7B,OAAOC,SAAS;EAClB;EAEA,MAAMC,WAAW,GAAGJ,YAAY,CAAC,CAAC,CAAC;EAEnC,IAAI,CAACI,WAAW,IAAIA,WAAW,KAAK,KAAK,EAAE;IACzC,OAAOD,SAAS;EAClB;EAEA,OAAOC,WAAW;AACpB;AAEA,SAASd,UAAUA,CAACD,OAAiB,EAAEgB,QAAgB,EAAE;EACvD,IAAIhB,OAAO,KAAK,IAAI,EAAE;IACpB,OAAOgB,QAAQ;EACjB;EAEA,OAAO7B,IAAI,GAAGa,OAAO,IAAIgB,QAAQ,EAAE;AACrC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multipart-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/multipart-transform.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"multipart-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/multipart-transform.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAIjE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,0BAA0B,CAAC;CAClC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qCAmBhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/part-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/part-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;CACnB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,YAU9D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Children } from "@alloy-js/core";
|
|
2
|
-
import { HttpOperationPart } from "@typespec/http";
|
|
1
|
+
import type { Children } from "@alloy-js/core";
|
|
2
|
+
import type { HttpOperationPart } from "@typespec/http";
|
|
3
3
|
export interface SimplePartTransformProps {
|
|
4
4
|
part: HttpOperationPart;
|
|
5
5
|
itemRef: Children;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/simple-part-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"simple-part-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/transforms/multipart/simple-part-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;CACnB;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,YAsBlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["code","List","ts","JsonTransform","SimplePartTransform","props","namePolicy","useTSNamePolicy","applicationName","getName","part","name","partName","ValueExpression","jsValue","partRef","getPartRef","itemRef","bodyRef","body","property","_$createComponent","ObjectExpression","children","comma","line","ObjectProperty","value","target","type"],"sources":["../../../../../src/components/transforms/multipart/simple-part-transform.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["code","List","ts","JsonTransform","SimplePartTransform","props","namePolicy","useTSNamePolicy","applicationName","getName","part","name","partName","ValueExpression","jsValue","partRef","getPartRef","itemRef","bodyRef","body","property","_$createComponent","ObjectExpression","children","comma","line","ObjectProperty","value","target","type"],"sources":["../../../../../src/components/transforms/multipart/simple-part-transform.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,IAAI,EAAEC,IAAI,QAAQ,gBAAgB;AAC3C,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAE1C,SAASC,aAAa;AAOtB,OAAO,SAASC,mBAAmBA,CAACC,KAA+B,EAAE;EACnE,MAAMC,UAAU,GAAGJ,EAAE,CAACK,eAAe,CAAC,CAAC;EACvC,MAAMC,eAAe,GAAGF,UAAU,CAACG,OAAO,CAACJ,KAAK,CAACK,IAAI,CAACC,IAAI,EAAG,UAAU,CAAC;EACxE,MAAMC,QAAQ,GAAGV,EAAE,CAACW,eAAe,CAAC;IAAEC,OAAO,EAAET,KAAK,CAACK,IAAI,CAACC;EAAK,CAAC,CAAC;EACjE,MAAMI,OAAO,GAAGC,UAAU,CAACX,KAAK,CAACY,OAAO,EAAET,eAAe,CAAC;EAC1D,IAAIU,OAAO,GAAGlB,IAAI,GAAGe,OAAO,EAAE;EAE9B,IAAIV,KAAK,CAACK,IAAI,CAACS,IAAI,CAACC,QAAQ,EAAE;IAC5BF,OAAO,GAAGlB,IAAI,GAAGe,OAAO,IAAIV,KAAK,CAACK,IAAI,CAACS,IAAI,CAACC,QAAQ,CAACT,IAAI,EAAE;EAC7D;EAEA,OAAAU,iBAAA,CACGnB,EAAE,CAACoB,gBAAgB;IAAA,IAAAC,SAAA;MAAA,OAAAF,iBAAA,CACjBpB,IAAI;QAACuB,KAAK;QAACC,IAAI;QAAA,IAAAF,SAAA;UAAA,QAAAF,iBAAA,CACbnB,EAAE,CAACwB,cAAc;YAACf,IAAI;YAAQG,OAAO,EAAEF;UAAQ,IAAAS,iBAAA,CAC/CnB,EAAE,CAACwB,cAAc;YAChBf,IAAI;YAAA,IACJgB,KAAKA,CAAA;cAAA,OAAAN,iBAAA,CAAGlB,aAAa;gBAACc,OAAO,EAAEC,OAAO;gBAAEU,MAAM;gBAAA,IAAaC,IAAIA,CAAA;kBAAA,OAAExB,KAAK,CAACK,IAAI,CAACS,IAAI,CAACU,IAAI;gBAAA;cAAA;YAAA;UAAA;QAAA;MAAA;IAAA;EAAA;AAK/F;AAEA,SAASb,UAAUA,CAACC,OAAiB,EAAEL,QAAgB,EAAE;EACvD,IAAIK,OAAO,KAAK,IAAI,EAAE;IACpB,OAAOL,QAAQ;EACjB;EAEA,OAAOZ,IAAI,GAAGiB,OAAO,IAAIL,QAAQ,EAAE;AACrC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Refkey } from "@alloy-js/core";
|
|
2
|
-
import { HttpOperationBody } from "@typespec/http";
|
|
3
|
-
import { ClientOperation } from "@typespec/http-client";
|
|
1
|
+
import type { Refkey } from "@alloy-js/core";
|
|
2
|
+
import type { HttpOperationBody } from "@typespec/http";
|
|
3
|
+
import type { ClientOperation } from "@typespec/http-client";
|
|
4
4
|
export interface TransformDeclarationProps {
|
|
5
5
|
operation: ClientOperation;
|
|
6
6
|
refkey?: Refkey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-transform-declaration.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/operation-transform-declaration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"operation-transform-declaration.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/operation-transform-declaration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAI7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,eAAe,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,eAAe,UAEpE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,qCAOpE;AAED,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,eAAe,CAAC;IAC3B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,mCAAmC,qCAmBxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["refkey","ts","ef","JsonTransform","getTransformDeclarationRef","operation","TransformDeclaration","props","_$createComponent","TransformToTransportDeclaration","SingleBodyTransformDeclaration","inputRef","payload","payloadParameter","name","type","TypeExpression","FunctionDeclaration","parameters","children","itemRef","target","requestPayload","httpOperation","body","property","bodyKind","namePolicy","useTSNamePolicy","getName"],"sources":["../../../../src/components/transforms/operation-transform-declaration.tsx"],"sourcesContent":[null],"mappings":";
|
|
1
|
+
{"version":3,"names":["refkey","ts","ef","JsonTransform","getTransformDeclarationRef","operation","TransformDeclaration","props","_$createComponent","TransformToTransportDeclaration","SingleBodyTransformDeclaration","inputRef","payload","payloadParameter","name","type","TypeExpression","FunctionDeclaration","parameters","children","itemRef","target","requestPayload","httpOperation","body","property","bodyKind","namePolicy","useTSNamePolicy","getName"],"sources":["../../../../src/components/transforms/operation-transform-declaration.tsx"],"sourcesContent":[null],"mappings":";AACA,SAASA,MAAM,QAAQ,gBAAgB;AACvC,OAAO,KAAKC,EAAE,MAAM,sBAAsB;AAC1C,OAAO,KAAKC,EAAE,MAAM,wCAAwC;AAG5D,SAASC,aAAa;AAOtB,OAAO,SAASC,0BAA0BA,CAACC,SAA0B,EAAE;EACrE,OAAOL,MAAM,CAACK,SAAS,EAAE,WAAW,CAAC;AACvC;AAEA,OAAO,SAASC,oBAAoBA,CAACC,KAAgC,EAAE;EACrE,MAAMP,MAAM,GAAGO,KAAK,CAACP,MAAM,IAAII,0BAA0B,CAACG,KAAK,CAACF,SAAS,CAAC;EAC1E,QAAAG,iBAAA,CAEKC,+BAA+B;IAAA,IAACJ,SAASA,CAAA;MAAA,OAAEE,KAAK,CAACF,SAAS;IAAA;IAAEL,MAAM,EAAEA;EAAM;AAGjF;AASA,OAAO,SAASU,8BAA8BA,CAACH,KAA0C,EAAE;EACzF,MAAMI,QAAQ,GAAGX,MAAM,CAACO,KAAK,CAACK,OAAO,EAAE,UAAU,CAAC;EAClD,MAAMC,gBAAwC,GAAG;IAC/CC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAAP,iBAAA,CAAGN,EAAE,CAACc,cAAc;MAAA,IAACD,IAAIA,CAAA;QAAA,OAAER,KAAK,CAACK,OAAO,CAACG,IAAI;MAAA;IAAA,EAAI;IACrDf,MAAM,EAAEW;EACV,CAAC;EAED,OAAAH,iBAAA,CACGP,EAAE,CAACgB,mBAAmB;IAAA;IAAA,IAErBH,IAAIA,CAAA;MAAA,OAAEP,KAAK,CAACO,IAAI;IAAA;IAChBI,UAAU,EAAE,CAACL,gBAAgB,CAAC;IAAA,IAC9Bb,MAAMA,CAAA;MAAA,OAAEO,KAAK,CAACP,MAAM;IAAA;IAAA,IAAAmB,SAAA;MAAA,mBAAAX,iBAAA,CAEZL,aAAa;QAACiB,OAAO,EAAET,QAAQ;QAAEU,MAAM;QAAA,IAAaN,IAAIA,CAAA;UAAA,OAAER,KAAK,CAACK,OAAO,CAACG,IAAI;QAAA;MAAA;IAAA;EAAA;AAI1F;AAOA,SAASN,+BAA+BA,CAACF,KAA2C,EAAE;EACpF,MAAMe,cAAc,GAAGf,KAAK,CAACF,SAAS,CAACkB,aAAa,CAACL,UAAU,CAACM,IAAI;EACpE,IAAI,CAACF,cAAc,IAAI,CAACA,cAAc,CAACG,QAAQ,EAAE;IAC/C;EACF;EAEA,IAAIH,cAAc,CAACI,QAAQ,KAAK,MAAM,EAAE;EAExC,MAAMC,UAAU,GAAG1B,EAAE,CAAC2B,eAAe,CAAC,CAAC;EACvC,MAAMd,IAAI,GAAGa,UAAU,CAACE,OAAO,CAAC,GAAGtB,KAAK,CAACF,SAAS,CAACS,IAAI,uBAAuB,EAAE,UAAU,CAAC;EAE3F,IAAIQ,cAAc,CAACI,QAAQ,KAAK,WAAW,EAAE;IAC3C,OAAO,IAAI;EACb;EAEA,OAAAlB,iBAAA,CACGE,8BAA8B;IAAA,IAC7BL,SAASA,CAAA;MAAA,OAAEE,KAAK,CAACF,SAAS;IAAA;IAC1BO,OAAO,EAAEU,cAAc;IAAA,IACvBtB,MAAMA,CAAA;MAAA,OAAEO,KAAK,CAACP,MAAM;IAAA;IACpBc,IAAI,EAAEA;EAAI;AAGhB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-transform-expression.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/operation-transform-expression.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operation-transform-expression.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/operation-transform-expression.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAOpD,MAAM,WAAW,uCAAuC;IACtD,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,uCAAuC,qCA6B1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ts","TransformNamePolicyContext","useTsp","reportDiagnostic","ContentTypeEncodingProvider","JsonTransform","MultipartTransform","defaultTransportNameGetter","OperationTransformExpression","props","body","httpOperation","parameters","itemRef","property","payloadApplicationNameGetter","bodyKind","_$createComponent","contentType","contentTypes","payloadType","type","children","Provider","value","getTransportName","getApplicationName","target","$","name","program","code","namePolicy","useTSNamePolicy","getName","modelProperty","is","optional"],"sources":["../../../../src/components/transforms/operation-transform-expression.tsx"],"sourcesContent":[null],"mappings":";AAAA,OAAO,KAAKA,EAAE,MAAM,sBAAsB;
|
|
1
|
+
{"version":3,"names":["ts","TransformNamePolicyContext","useTsp","reportDiagnostic","ContentTypeEncodingProvider","JsonTransform","MultipartTransform","defaultTransportNameGetter","OperationTransformExpression","props","body","httpOperation","parameters","itemRef","property","payloadApplicationNameGetter","bodyKind","_$createComponent","contentType","contentTypes","payloadType","type","children","Provider","value","getTransportName","getApplicationName","target","$","name","program","code","namePolicy","useTSNamePolicy","getName","modelProperty","is","optional"],"sources":["../../../../src/components/transforms/operation-transform-expression.tsx"],"sourcesContent":[null],"mappings":";AAAA,OAAO,KAAKA,EAAE,MAAM,sBAAsB;AAG1C,SAASC,0BAA0B,EAAEC,MAAM,QAAQ,6BAA6B;AAEhF,SAASC,gBAAgB,QAAQ,cAAc;AAC/C,SAASC,2BAA2B;AACpC,SAASC,aAAa;AACtB,SAASC,kBAAkB;AAC3B,SAASC,0BAA0B,QAAQ,4BAA4B;AAMvE,OAAO,SAASC,4BAA4BA,CAACC,KAA8C,EAAE;EAC3F,MAAMC,IAAI,GAAGD,KAAK,CAACE,aAAa,CAACC,UAAU,CAACF,IAAI;EAEhD,IAA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,CAACf,IAAI,CAAC,IAAIA,IAAI,CAACgB,QAAQ,EAAE;IAC7CR,IAAI,GAAG,YAAYA,IAAI,EAAE;EAC3B;EAEA,OAAOA,IAAI;AACb","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Children, Refkey } from "@alloy-js/core";
|
|
2
|
-
import { EncodeData, Scalar } from "@typespec/compiler";
|
|
1
|
+
import type { Children, Refkey } from "@alloy-js/core";
|
|
2
|
+
import type { EncodeData, Scalar } from "@typespec/compiler";
|
|
3
3
|
export type TransformerFn = (itemRef: Refkey | Children, encoding?: EncodeData) => Children;
|
|
4
4
|
export interface TransformerPair {
|
|
5
5
|
toTransport: TransformerFn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalar-transform.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/scalar-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"scalar-transform.d.ts","sourceRoot":"","sources":["../../../../src/components/transforms/scalar-transform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,KAAK,EAAsB,UAAU,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAYjF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ,EAAE,QAAQ,CAAC,EAAE,UAAU,KAAK,QAAQ,CAAC;AAG5F,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,aAAa,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAElE"}
|