From daa8d64b17dfcab25cd2f12853d646be2f7862f6 Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Tue, 5 Dec 2023 20:57:24 -0800 Subject: [PATCH 1/2] Removed generated versions from formatting checks --- .prettierignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.prettierignore b/.prettierignore index 824a4a40e4..ada5f3a92a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -39,5 +39,8 @@ packages/website/versioned_docs/**/reference/ packages/website/versioned_docs/**/standard-library/built-in-decorators.md packages/website/versioned_docs/**/standard-library/built-in-data-types.md +# Auto generated version list +packages/website/playground-versions.json + #.tsp init template eng/feeds/ From 76fa6211413aa22e7345517e5d2681b46b497362 Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Tue, 5 Dec 2023 21:23:50 -0800 Subject: [PATCH 2/2] Prepare typespec publish --- .../docs-doc-comment_2023-11-27-23-52.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - ...ramework-ref-context_2023-11-30-18-46.json | 10 - ...eature-absolute-path_2023-11-29-18-24.json | 10 - ...ture-linter-ref-docs_2023-11-14-17-34.json | 10 - ...ture-string-template_2023-11-14-00-00.json | 10 - ...-keep-parens-valueof_2023-11-21-18-00.json | 10 - ...i3-emitter-framework_2023-11-16-19-35.json | 10 - ...ion-variant-to-union_2023-11-21-18-53.json | 10 - ...i3-emitter-framework_2023-11-06-20-02.json | 10 - ...upgrade-prettier-3.1_2023-11-13-21-05.json | 10 - ...rsioning-OpParamsFix_2023-11-21-16-31.json | 10 - ...-html-program-viewer_2023-11-09-20-22.json | 10 - ...upgrade-prettier-3.1_2023-11-13-21-05.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - ...ture-linter-ref-docs_2023-11-14-17-34.json | 10 - .../http-FixNoRoutes_2023-11-16-16-49.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - ...-json-schema-default_2023-11-09-18-20.json | 10 - ...ture-string-template_2023-11-14-00-00.json | 10 - .../fix-enum-0-string_2023-11-09-18-36.json | 10 - ...e-scalar-constraints_2023-11-09-17-51.json | 10 - ...schema-exclusive-max_2023-11-09-17-10.json | 10 - ...json-schema-no-throw_2023-11-21-16-21.json | 10 - ...hema-template-scalar_2023-11-09-19-00.json | 10 - ...upgrade-prettier-3.1_2023-11-13-21-05.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - ...xResourceCreateModel_2023-11-13-21-58.json | 10 - ...art-support-openapi3_2023-11-27-23-05.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - ...ture-string-template_2023-11-16-22-33.json | 10 - ...x-bytes-in-json-part_2023-12-04-20-28.json | 10 - ...i3-emitter-framework_2023-11-16-19-35.json | 10 - ...ion-variant-to-union_2023-11-21-18-53.json | 10 - .../http-FixNoRoutes_2023-11-16-16-49.json | 10 - ...i3-emitter-framework_2023-11-06-20-02.json | 10 - ...erencedVisibilityFix_2023-11-01-16-22.json | 10 - ...upgrade-prettier-3.1_2023-11-13-21-05.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - ...xResourceCreateModel_2023-11-13-16-38.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - .../docs-reorganize_2023-11-15-23-00.json | 10 - ...ertOpParamValidation_2023-11-22-23-40.json | 10 - ...rsioning-OpParamsFix_2023-11-21-16-31.json | 10 - .../versioning-OpParams_2023-11-10-16-19.json | 10 - .../versioning-OpParams_2023-11-22-18-08.json | 10 - ...-TemplatedReturnType_2023-11-15-21-21.json | 10 - common/config/rush/pnpm-lock.yaml | 220 +++++++++--------- common/config/rush/version-policies.json | 4 +- packages/best-practices/package.json | 8 +- packages/bundle-uploader/package.json | 4 +- packages/bundler/package.json | 6 +- packages/compiler/CHANGELOG.json | 41 ++++ packages/compiler/CHANGELOG.md | 17 +- packages/compiler/package.json | 8 +- .../eslint-config-typespec/CHANGELOG.json | 6 + packages/eslint-config-typespec/CHANGELOG.md | 7 +- packages/eslint-config-typespec/package.json | 2 +- .../eslint-plugin-typespec/CHANGELOG.json | 6 + packages/eslint-plugin-typespec/CHANGELOG.md | 7 +- packages/eslint-plugin-typespec/package.json | 4 +- packages/html-program-viewer/CHANGELOG.json | 15 ++ packages/html-program-viewer/CHANGELOG.md | 10 +- packages/html-program-viewer/package.json | 8 +- packages/http/CHANGELOG.json | 12 + packages/http/CHANGELOG.md | 9 +- packages/http/package.json | 12 +- packages/internal-build-utils/CHANGELOG.json | 6 + packages/internal-build-utils/CHANGELOG.md | 7 +- packages/internal-build-utils/package.json | 4 +- packages/json-schema/CHANGELOG.json | 30 +++ packages/json-schema/CHANGELOG.md | 15 +- packages/json-schema/package.json | 14 +- packages/library-linter/CHANGELOG.json | 6 + packages/library-linter/CHANGELOG.md | 7 +- packages/library-linter/package.json | 8 +- packages/lint/package.json | 8 +- packages/migrate/CHANGELOG.json | 12 + packages/migrate/CHANGELOG.md | 9 +- packages/migrate/package.json | 10 +- packages/openapi/CHANGELOG.json | 6 + packages/openapi/CHANGELOG.md | 7 +- packages/openapi/package.json | 18 +- packages/openapi3/CHANGELOG.json | 24 ++ packages/openapi3/CHANGELOG.md | 13 +- packages/openapi3/package.json | 26 +-- packages/playground-website/package.json | 22 +- packages/playground/package.json | 24 +- .../prettier-plugin-typespec/CHANGELOG.json | 12 + .../prettier-plugin-typespec/CHANGELOG.md | 9 +- .../prettier-plugin-typespec/package.json | 6 +- packages/protobuf/CHANGELOG.json | 6 + packages/protobuf/CHANGELOG.md | 7 +- packages/protobuf/package.json | 10 +- packages/rest/CHANGELOG.json | 12 + packages/rest/CHANGELOG.md | 9 +- packages/rest/package.json | 16 +- packages/samples/package.json | 20 +- packages/spec/package.json | 2 +- packages/tmlanguage-generator/CHANGELOG.json | 12 + packages/tmlanguage-generator/CHANGELOG.md | 7 +- packages/tmlanguage-generator/package.json | 4 +- packages/tspd/package.json | 8 +- packages/typespec-vs/CHANGELOG.json | 6 + packages/typespec-vs/CHANGELOG.md | 7 +- packages/typespec-vs/package.json | 6 +- packages/typespec-vscode/CHANGELOG.json | 6 + packages/typespec-vscode/CHANGELOG.md | 7 +- packages/typespec-vscode/package.json | 8 +- packages/versioning/CHANGELOG.json | 12 + packages/versioning/CHANGELOG.md | 9 +- packages/versioning/package.json | 12 +- packages/website/package.json | 20 +- packages/website/playground-versions.json | 6 +- .../extending-typespec/basics.md | 2 +- .../extending-typespec/create-decorators.md | 33 +++ .../emitter-metadata-handling.md | 16 +- .../extending-typespec/emitters-basics.md | 20 +- .../getting-started/getting-started-http.md | 6 +- .../typespec-for-openapi-dev.md | 2 +- .../introduction/installation.md | 2 +- .../introduction/reproducibility.md | 4 +- .../language-basics/documentation.md | 37 ++- .../language-basics/type-literals.md | 16 ++ .../http/authentication.md | 0 .../http/cheat-sheet.md | 0 .../http/content-types.md | 4 + .../http/encoding.md | 0 .../libraries/http/multipart.md | 67 ++++++ .../http/operations.md | 0 .../http/reference/data-types.md | 0 .../http/reference/decorators.md | 2 +- .../http/reference/index.mdx | 0 .../http/reference/js-api/_category_.json | 0 .../js-api/enumerations/Visibility.md | 0 .../http/reference/js-api/functions/$body.md | 0 .../reference/js-api/functions/$delete.md | 0 .../http/reference/js-api/functions/$get.md | 0 .../http/reference/js-api/functions/$head.md | 0 .../reference/js-api/functions/$header.md | 0 .../$includeInapplicableMetadataInPayload.md | 0 .../reference/js-api/functions/$onValidate.md | 0 .../http/reference/js-api/functions/$patch.md | 0 .../http/reference/js-api/functions/$path.md | 0 .../reference/js-api/functions/$plainData.md | 0 .../http/reference/js-api/functions/$post.md | 0 .../http/reference/js-api/functions/$put.md | 0 .../http/reference/js-api/functions/$query.md | 0 .../http/reference/js-api/functions/$route.md | 0 .../reference/js-api/functions/$server.md | 0 .../js-api/functions/$sharedRoute.md | 0 .../reference/js-api/functions/$statusCode.md | 0 .../reference/js-api/functions/$useAuth.md | 0 .../js-api/functions/DefaultRouteProducer.md | 0 .../js-api/functions/createMetadataInfo.md | 0 .../js-api/functions/gatherMetadata.md | 0 .../js-api/functions/getAllHttpServices.md | 0 .../js-api/functions/getAllRoutes.md | 0 .../js-api/functions/getAuthentication.md | 0 .../js-api/functions/getContentTypes.md | 0 .../js-api/functions/getHeaderFieldName.md | 0 .../js-api/functions/getHeaderFieldOptions.md | 0 .../js-api/functions/getHttpOperation.md | 0 .../js-api/functions/getHttpService.md | 0 .../functions/getOperationParameters.md | 0 .../js-api/functions/getOperationVerb.md | 0 .../js-api/functions/getPathParamName.md | 0 .../js-api/functions/getPathParamOptions.md | 0 .../js-api/functions/getQueryParamName.md | 0 .../js-api/functions/getQueryParamOptions.md | 0 .../js-api/functions/getRequestVisibility.md | 0 .../functions/getResponsesForOperation.md | 0 .../functions/getRouteOptionsForNamespace.md | 0 .../js-api/functions/getRoutePath.md | 0 .../js-api/functions/getRouteProducer.md | 0 .../reference/js-api/functions/getServers.md | 0 .../functions/getStatusCodeDescription.md | 0 .../js-api/functions/getStatusCodes.md | 0 .../getStatusCodesWithDiagnostics.md | 0 .../js-api/functions/getVisibilitySuffix.md | 0 .../includeInapplicableMetadataInPayload.md | 0 .../includeInterfaceRoutesInNamespace.md | 0 .../js-api/functions/isApplicableMetadata.md | 0 .../functions/isApplicableMetadataOrBody.md | 0 .../http/reference/js-api/functions/isBody.md | 0 .../js-api/functions/isContentTypeHeader.md | 0 .../reference/js-api/functions/isHeader.md | 0 .../reference/js-api/functions/isMetadata.md | 0 .../functions/isOverloadSameEndpoint.md | 0 .../reference/js-api/functions/isPathParam.md | 0 .../js-api/functions/isQueryParam.md | 0 .../js-api/functions/isSharedRoute.md | 0 .../js-api/functions/isStatusCode.md | 0 .../reference/js-api/functions/isVisible.md | 0 .../js-api/functions/listHttpOperationsIn.md | 0 .../js-api/functions/reportIfNoRoutes.md | 0 .../functions/resolvePathAndParameters.md | 0 .../functions/resolveRequestVisibility.md | 0 .../js-api/functions/setAuthentication.md | 0 .../reference/js-api/functions/setRoute.md | 0 .../functions/setRouteOptionsForNamespace.md | 0 .../js-api/functions/setRouteProducer.md | 0 .../js-api/functions/setSharedRoute.md | 0 .../js-api/functions/setStatusCode.md | 0 .../js-api/functions/validateRouteUnique.md | 0 .../http/reference/js-api/index.md | 0 .../reference/js-api/interfaces/ApiKeyAuth.md | 0 .../js-api/interfaces/AuthenticationOption.md | 0 .../interfaces/AuthorizationCodeFlow.md | 0 .../reference/js-api/interfaces/BasicAuth.md | 0 .../reference/js-api/interfaces/BearerAuth.md | 0 .../interfaces/ClientCredentialsFlow.md | 0 .../js-api/interfaces/HeaderFieldOptions.md | 0 .../js-api/interfaces/HttpAuthBase.md | 0 .../js-api/interfaces/HttpOperation.md | 0 .../js-api/interfaces/HttpOperationBody.md | 0 .../interfaces/HttpOperationParameters.md | 0 .../interfaces/HttpOperationRequestBody.md | 0 .../interfaces/HttpOperationResponse.md | 0 .../HttpOperationResponseContent.md | 0 .../reference/js-api/interfaces/HttpServer.md | 0 .../js-api/interfaces/HttpService.md | 0 .../js-api/interfaces/HttpStatusCodeRange.md | 0 .../js-api/interfaces/ImplicitFlow.md | 0 .../js-api/interfaces/MetadataInfo.md | 0 .../js-api/interfaces/MetadataInfoOptions.md | 0 .../js-api/interfaces/OAuth2Scope.md | 0 .../reference/js-api/interfaces/Oauth2Auth.md | 0 .../interfaces/OperationParameterOptions.md | 0 .../js-api/interfaces/PasswordFlow.md | 0 .../js-api/interfaces/PathParameterOptions.md | 0 .../interfaces/QueryParameterOptions.md | 0 .../js-api/interfaces/RouteOptions.md | 0 .../reference/js-api/interfaces/RoutePath.md | 0 .../js-api/interfaces/RouteProducerResult.md | 0 .../interfaces/RouteResolutionOptions.md | 0 .../interfaces/ServiceAuthentication.md | 0 .../reference/js-api/type-aliases/HttpAuth.md | 0 .../type-aliases/HttpOperationParameter.md | 0 .../js-api/type-aliases/HttpStatusCodes.md | 0 .../type-aliases/HttpStatusCodesEntry.md | 0 .../reference/js-api/type-aliases/HttpVerb.md | 0 .../js-api/type-aliases/OAuth2Flow.md | 0 .../js-api/type-aliases/OAuth2FlowType.md | 0 .../js-api/type-aliases/OperationContainer.md | 0 .../js-api/type-aliases/OperationDetails.md | 0 .../type-aliases/OperationVerbSelector.md | 0 .../js-api/type-aliases/RouteProducer.md | 0 .../js-api/type-aliases/StatusCode.md | 0 .../http/reference/js-api/variables/$lib.md | 0 .../reference/js-api/variables/namespace.md | 0 .../libraries/http/reference/linter.md | 29 +++ .../rules/op-reference-container-route.md | 48 ++++ .../json-schema/reference/data-types.md | 0 .../json-schema/reference/decorators.md | 0 .../json-schema/reference/emitter.md | 0 .../json-schema/reference/index.mdx | 0 .../reference/js-api/_category_.json | 0 .../js-api/classes/JsonSchemaEmitter.md | 190 +++++++++++++-- .../reference/js-api/functions/$baseUri.md | 0 .../reference/js-api/functions/$contains.md | 0 .../js-api/functions/$contentEncoding.md | 0 .../js-api/functions/$contentMediaType.md | 0 .../js-api/functions/$contentSchema.md | 0 .../reference/js-api/functions/$extension.md | 0 .../reference/js-api/functions/$id.md | 0 .../reference/js-api/functions/$jsonSchema.md | 0 .../js-api/functions/$maxContains.md | 0 .../js-api/functions/$maxProperties.md | 0 .../js-api/functions/$minContains.md | 0 .../js-api/functions/$minProperties.md | 0 .../reference/js-api/functions/$multipleOf.md | 0 .../reference/js-api/functions/$onEmit.md | 0 .../js-api/functions/$prefixItems.md | 0 .../js-api/functions/$uniqueItems.md | 0 .../js-api/functions/$validatesRawJson.md | 0 .../reference/js-api/functions/findBaseUri.md | 0 .../reference/js-api/functions/getBaseUri.md | 0 .../reference/js-api/functions/getContains.md | 0 .../js-api/functions/getContentEncoding.md | 0 .../js-api/functions/getContentMediaType.md | 0 .../js-api/functions/getContentSchema.md | 0 .../js-api/functions/getExtensions.md | 0 .../reference/js-api/functions/getId.md | 0 .../js-api/functions/getJsonSchema.md | 0 .../js-api/functions/getJsonSchemaTypes.md | 0 .../js-api/functions/getMaxContains.md | 0 .../js-api/functions/getMaxProperties.md | 0 .../js-api/functions/getMinContains.md | 0 .../js-api/functions/getMinProperties.md | 0 .../js-api/functions/getMultipleOf.md | 0 .../js-api/functions/getPrefixItems.md | 0 .../js-api/functions/getUniqueItems.md | 0 .../functions/isJsonSchemaDeclaration.md | 0 .../json-schema/reference/js-api/index.md | 0 .../js-api/interfaces/ExtensionRecord.md | 0 .../interfaces/JSONSchemaEmitterOptions.md | 0 .../namespaces/$validatesRawJson/index.md | 0 .../$validatesRawJson/variables/namespace.md | 0 .../type-aliases/JsonSchemaDeclaration.md | 0 .../reference/js-api/variables/$lib.md | 8 + .../js-api/variables/EmitterOptionsSchema.md | 0 .../reference/js-api/variables/namespace.md | 0 .../openapi/reference/data-types.md | 0 .../openapi/reference/decorators.md | 0 .../openapi/reference/index.mdx | 0 .../openapi/reference/js-api/_category_.json | 0 .../js-api/functions/$defaultResponse.md | 0 .../reference/js-api/functions/$extension.md | 0 .../js-api/functions/$externalDocs.md | 0 .../reference/js-api/functions/$info.md | 0 .../js-api/functions/$operationId.md | 0 .../functions/checkDuplicateTypeName.md | 0 .../js-api/functions/getExtensions.md | 0 .../js-api/functions/getExternalDocs.md | 0 .../reference/js-api/functions/getInfo.md | 0 .../js-api/functions/getOpenAPITypeName.md | 0 .../js-api/functions/getOperationId.md | 0 .../js-api/functions/getParameterKey.md | 0 .../js-api/functions/isDefaultResponse.md | 0 .../js-api/functions/isReadonlyProperty.md | 0 .../js-api/functions/resolveOperationId.md | 0 .../js-api/functions/setExtension.md | 0 .../js-api/functions/shouldInline.md | 0 .../openapi/reference/js-api/index.md | 0 .../js-api/interfaces/AdditionalInfo.md | 0 .../reference/js-api/interfaces/Contact.md | 0 .../js-api/interfaces/ExternalDocs.md | 0 .../reference/js-api/interfaces/License.md | 0 .../js-api/type-aliases/ExtensionKey.md | 0 .../reference/js-api/variables/namespace.md | 0 .../openapi3/diagnostics.md | 0 .../openapi3/openapi.md | 14 +- .../openapi3/reference/decorators.md | 0 .../openapi3/reference/emitter.md | 0 .../openapi3/reference/index.mdx | 0 .../openapi3/reference/js-api/_category_.json | 0 .../reference/js-api/functions/$onEmit.md | 0 .../reference/js-api/functions/$oneOf.md | 0 .../reference/js-api/functions/$useRef.md | 0 .../reference/js-api/functions/getOneOf.md | 0 .../reference/js-api/functions/getRef.md | 0 .../js-api/functions/resolveOptions.md | 0 .../openapi3/reference/js-api/index.md | 0 .../ResolvedOpenAPI3EmitterOptions.md | 0 .../reference/js-api/variables/$lib.md | 0 .../reference/js-api/variables/namespace.md | 0 .../protobuf/guide.md | 2 +- .../protobuf/reference/data-types.md | 0 .../protobuf/reference/decorators.md | 0 .../protobuf/reference/emitter.md | 0 .../protobuf/reference/index.mdx | 0 .../protobuf/reference/js-api/_category_.json | 0 .../reference/js-api/functions/$externRef.md | 0 .../reference/js-api/functions/$field.md | 0 .../reference/js-api/functions/$message.md | 0 .../reference/js-api/functions/$onEmit.md | 0 .../reference/js-api/functions/$onValidate.md | 0 .../reference/js-api/functions/$package.md | 0 .../reference/js-api/functions/$reserve.md | 0 .../reference/js-api/functions/$service.md | 0 .../reference/js-api/functions/$stream.md | 0 .../reference/js-api/functions/isMap.md | 0 .../protobuf/reference/js-api/index.md | 0 .../js-api/interfaces/PackageDetails.md | 0 .../js-api/type-aliases/Reservation.md | 0 .../reference/js-api/variables/$lib.md | 0 .../js-api/variables/PROTO_FULL_IDENT.md | 0 .../reference/js-api/variables/namespace.md | 0 .../rest/cheat-sheet.md | 0 .../rest/reference/data-types.md | 0 .../rest/reference/decorators.md | 0 .../rest/reference/index.mdx | 0 .../rest/reference/interfaces.md | 0 .../rest/reference/js-api/_category_.json | 0 .../reference/js-api/functions/$action.md | 0 .../js-api/functions/$actionSegment.md | 0 .../js-api/functions/$actionSeparator.md | 0 .../reference/js-api/functions/$autoRoute.md | 0 .../js-api/functions/$collectionAction.md | 0 .../functions/$copyResourceKeyParameters.md | 0 .../functions/$createsOrReplacesResource.md | 0 .../functions/$createsOrUpdatesResource.md | 0 .../js-api/functions/$createsResource.md | 0 .../js-api/functions/$deletesResource.md | 0 .../js-api/functions/$listsResource.md | 0 .../reference/js-api/functions/$onValidate.md | 0 .../js-api/functions/$parentResource.md | 0 .../js-api/functions/$readsResource.md | 0 .../reference/js-api/functions/$resource.md | 0 .../js-api/functions/$resourceLocation.md | 0 .../functions/$resourceTypeForKeyParam.md | 0 .../reference/js-api/functions/$segment.md | 0 .../reference/js-api/functions/$segmentOf.md | 0 .../js-api/functions/$updatesResource.md | 0 .../reference/js-api/functions/getAction.md | 0 .../js-api/functions/getActionDetails.md | 0 .../js-api/functions/getActionSegment.md | 0 .../js-api/functions/getActionSeparator.md | 0 .../js-api/functions/getCollectionAction.md | 0 .../functions/getCollectionActionDetails.md | 0 .../js-api/functions/getParentResource.md | 0 .../functions/getResourceLocationType.md | 0 .../js-api/functions/getResourceOperation.md | 0 .../functions/getResourceTypeForKeyParam.md | 0 .../js-api/functions/getResourceTypeKey.md | 0 .../reference/js-api/functions/getSegment.md | 0 .../reference/js-api/functions/isAutoRoute.md | 0 .../js-api/functions/isListOperation.md | 0 .../js-api/functions/setResourceOperation.md | 0 .../js-api/functions/setResourceTypeKey.md | 0 .../rest/reference/js-api/index.md | 0 .../js-api/interfaces/ActionDetails.md | 0 .../js-api/interfaces/AutoRouteOptions.md | 0 .../js-api/interfaces/FilteredRouteParam.md | 0 .../js-api/interfaces/ResourceKey.md | 0 .../js-api/interfaces/ResourceOperation.md | 0 .../js-api/type-aliases/ResourceOperations.md | 0 .../reference/js-api/variables/namespace.md | 0 .../rest/resource-routing.md | 0 .../versioning/guide.md | 0 .../versioning/reference/decorators.md | 0 .../versioning/reference/index.mdx | 0 .../reference/js-api/_category_.json | 0 .../reference/js-api/classes/VersionMap.md | 0 .../js-api/enumerations/Availability.md | 0 .../reference/js-api/functions/$added.md | 0 .../js-api/functions/$madeOptional.md | 0 .../reference/js-api/functions/$onValidate.md | 0 .../reference/js-api/functions/$removed.md | 0 .../js-api/functions/$renamedFrom.md | 0 .../functions/$returnTypeChangedFrom.md | 0 .../js-api/functions/$typeChangedFrom.md | 0 .../js-api/functions/$useDependency.md | 0 .../reference/js-api/functions/$versioned.md | 0 .../functions/buildVersionProjections.md | 0 .../js-api/functions/existsAtVersion.md | 0 .../functions/findVersionedNamespace.md | 0 .../js-api/functions/getAddedOnVersions.md | 0 .../js-api/functions/getAvailabilityMap.md | 0 .../functions/getAvailabilityMapInTimeline.md | 0 .../js-api/functions/getMadeOptionalOn.md | 0 .../js-api/functions/getNameAtVersion.md | 0 .../js-api/functions/getRemovedOnVersions.md | 0 .../js-api/functions/getRenamedFrom.md | 0 .../functions/getRenamedFromVersions.md | 0 .../functions/getReturnTypeBeforeVersion.md | 0 .../functions/getReturnTypeChangedFrom.md | 0 .../js-api/functions/getTypeBeforeVersion.md | 0 .../js-api/functions/getTypeChangedFrom.md | 0 .../js-api/functions/getUseDependencies.md | 0 .../reference/js-api/functions/getVersion.md | 0 .../functions/getVersionDependencies.md | 0 .../functions/getVersionForEnumMember.md | 0 .../reference/js-api/functions/getVersions.md | 0 .../js-api/functions/getVersionsForEnum.md | 0 .../functions/hasDifferentNameAtVersion.md | 0 .../hasDifferentReturnTypeAtVersion.md | 0 .../functions/hasDifferentTypeAtVersion.md | 0 .../js-api/functions/madeOptionalAfter.md | 0 .../js-api/functions/resolveVersions.md | 0 .../versioning/reference/js-api/index.md | 0 .../reference/js-api/interfaces/Version.md | 0 .../js-api/interfaces/VersionResolution.md | 0 .../reference/js-api/variables/namespace.md | 0 .../release-notes/release-2022-07-08.md | 2 +- .../release-notes/release-2022-08-10.md | 2 +- .../release-notes/release-2023-12-05.md | 88 +++++++ .../standard-library/built-in-decorators.md | 4 +- .../reference/js-api/variables/$lib.md | 8 - .../js-api/enumerations/SyntaxKind.md | 105 +++++---- .../reference/js-api/enumerations/Token.md | 135 +++++------ .../reference/js-api/functions/assertType.md | 2 + .../functions/navigateTypesInNamespace.md | 2 +- .../functions/scopeNavigationToNamespace.md | 2 +- .../functions/stringTemplateToString.md | 22 ++ .../functions/validateDecoratorParamType.md | 2 + .../reference/js-api/index.md | 13 +- .../reference/js-api/interfaces/BaseType.md | 3 + .../js-api/interfaces/CompilerOptions.md | 2 +- .../js-api/interfaces/JSONSchemaValidator.md | 27 --- .../reference/js-api/interfaces/LinterRule.md | 11 +- .../js-api/interfaces/LinterRuleDefinition.md | 11 +- .../reference/js-api/interfaces/Scanner.md | 72 ++++++ .../js-api/interfaces/StringTemplate.md | 55 +++++ .../StringTemplateExpressionNode.md | 23 ++ .../interfaces/StringTemplateHeadNode.md | 22 ++ .../StringTemplateLiteralLikeNode.md | 22 ++ .../interfaces/StringTemplateMiddleNode.md | 22 ++ .../interfaces/StringTemplateSpanLiteral.md | 56 +++++ .../interfaces/StringTemplateSpanNode.md | 23 ++ .../interfaces/StringTemplateSpanValue.md | 56 +++++ .../interfaces/StringTemplateTailNode.md | 22 ++ .../js-api/interfaces/TypeSpecLibrary.md | 1 - .../js-api/type-aliases/Expression.md | 1 + .../js-api/type-aliases/LiteralNode.md | 8 +- .../reference/js-api/type-aliases/Node.md | 4 + .../js-api/type-aliases/StringTemplateSpan.md | 8 + .../type-aliases/StringTemplateToken.md | 8 + .../reference/js-api/type-aliases/Type.md | 2 + .../version-latest-sidebars.json | 79 ++++--- 501 files changed, 1808 insertions(+), 1010 deletions(-) delete mode 100644 common/changes/@typespec/compiler/docs-doc-comment_2023-11-27-23-52.json delete mode 100644 common/changes/@typespec/compiler/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/compiler/emitter-framework-ref-context_2023-11-30-18-46.json delete mode 100644 common/changes/@typespec/compiler/feature-absolute-path_2023-11-29-18-24.json delete mode 100644 common/changes/@typespec/compiler/feature-linter-ref-docs_2023-11-14-17-34.json delete mode 100644 common/changes/@typespec/compiler/feature-string-template_2023-11-14-00-00.json delete mode 100644 common/changes/@typespec/compiler/fix-formatter-keep-parens-valueof_2023-11-21-18-00.json delete mode 100644 common/changes/@typespec/compiler/fix-openapi3-emitter-framework_2023-11-16-19-35.json delete mode 100644 common/changes/@typespec/compiler/fix-union-variant-to-union_2023-11-21-18-53.json delete mode 100644 common/changes/@typespec/compiler/openapi3-emitter-framework_2023-11-06-20-02.json delete mode 100644 common/changes/@typespec/compiler/upgrade-prettier-3.1_2023-11-13-21-05.json delete mode 100644 common/changes/@typespec/compiler/versioning-OpParamsFix_2023-11-21-16-31.json delete mode 100644 common/changes/@typespec/html-program-viewer/feature-themable-html-program-viewer_2023-11-09-20-22.json delete mode 100644 common/changes/@typespec/html-program-viewer/upgrade-prettier-3.1_2023-11-13-21-05.json delete mode 100644 common/changes/@typespec/http/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/http/feature-linter-ref-docs_2023-11-14-17-34.json delete mode 100644 common/changes/@typespec/http/http-FixNoRoutes_2023-11-16-16-49.json delete mode 100644 common/changes/@typespec/json-schema/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/json-schema/feature-json-schema-default_2023-11-09-18-20.json delete mode 100644 common/changes/@typespec/json-schema/feature-string-template_2023-11-14-00-00.json delete mode 100644 common/changes/@typespec/json-schema/fix-enum-0-string_2023-11-09-18-36.json delete mode 100644 common/changes/@typespec/json-schema/fix-json-schema-base-scalar-constraints_2023-11-09-17-51.json delete mode 100644 common/changes/@typespec/json-schema/fix-json-schema-exclusive-max_2023-11-09-17-10.json delete mode 100644 common/changes/@typespec/json-schema/json-schema-no-throw_2023-11-21-16-21.json delete mode 100644 common/changes/@typespec/json-schema/json-schema-template-scalar_2023-11-09-19-00.json delete mode 100644 common/changes/@typespec/migrate/upgrade-prettier-3.1_2023-11-13-21-05.json delete mode 100644 common/changes/@typespec/openapi/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/openapi3/arm-FixResourceCreateModel_2023-11-13-21-58.json delete mode 100644 common/changes/@typespec/openapi3/basic-multipart-support-openapi3_2023-11-27-23-05.json delete mode 100644 common/changes/@typespec/openapi3/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/openapi3/feature-string-template_2023-11-16-22-33.json delete mode 100644 common/changes/@typespec/openapi3/fix-bytes-in-json-part_2023-12-04-20-28.json delete mode 100644 common/changes/@typespec/openapi3/fix-openapi3-emitter-framework_2023-11-16-19-35.json delete mode 100644 common/changes/@typespec/openapi3/fix-union-variant-to-union_2023-11-21-18-53.json delete mode 100644 common/changes/@typespec/openapi3/http-FixNoRoutes_2023-11-16-16-49.json delete mode 100644 common/changes/@typespec/openapi3/openapi3-emitter-framework_2023-11-06-20-02.json delete mode 100644 common/changes/@typespec/openapi3/unreferencedVisibilityFix_2023-11-01-16-22.json delete mode 100644 common/changes/@typespec/prettier-plugin-typespec/upgrade-prettier-3.1_2023-11-13-21-05.json delete mode 100644 common/changes/@typespec/protobuf/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/rest/arm-FixResourceCreateModel_2023-11-13-16-38.json delete mode 100644 common/changes/@typespec/rest/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/versioning/docs-reorganize_2023-11-15-23-00.json delete mode 100644 common/changes/@typespec/versioning/revertOpParamValidation_2023-11-22-23-40.json delete mode 100644 common/changes/@typespec/versioning/versioning-OpParamsFix_2023-11-21-16-31.json delete mode 100644 common/changes/@typespec/versioning/versioning-OpParams_2023-11-10-16-19.json delete mode 100644 common/changes/@typespec/versioning/versioning-OpParams_2023-11-22-18-08.json delete mode 100644 common/changes/@typespec/versioning/versioning-TemplatedReturnType_2023-11-15-21-21.json rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/authentication.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/cheat-sheet.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/content-types.md (97%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/encoding.md (100%) create mode 100644 packages/website/versioned_docs/version-latest/libraries/http/multipart.md rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/operations.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/data-types.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/decorators.md (98%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/index.mdx (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/_category_.json (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/enumerations/Visibility.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$body.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$delete.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$get.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$head.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$header.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$includeInapplicableMetadataInPayload.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$onValidate.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$patch.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$path.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$plainData.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$post.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$put.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$query.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$route.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$server.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$sharedRoute.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$statusCode.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/$useAuth.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/DefaultRouteProducer.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/createMetadataInfo.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/gatherMetadata.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getAllHttpServices.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getAllRoutes.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getAuthentication.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getContentTypes.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getHeaderFieldName.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getHeaderFieldOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getHttpOperation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getHttpService.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getOperationParameters.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getOperationVerb.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getPathParamName.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getPathParamOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getQueryParamName.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getQueryParamOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getRequestVisibility.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getResponsesForOperation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getRouteOptionsForNamespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getRoutePath.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getRouteProducer.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getServers.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getStatusCodeDescription.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getStatusCodes.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getStatusCodesWithDiagnostics.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/getVisibilitySuffix.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/includeInapplicableMetadataInPayload.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/includeInterfaceRoutesInNamespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isApplicableMetadata.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isApplicableMetadataOrBody.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isBody.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isContentTypeHeader.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isHeader.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isMetadata.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isOverloadSameEndpoint.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isPathParam.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isQueryParam.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isSharedRoute.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isStatusCode.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/isVisible.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/listHttpOperationsIn.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/reportIfNoRoutes.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/resolvePathAndParameters.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/resolveRequestVisibility.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/setAuthentication.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/setRoute.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/setRouteOptionsForNamespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/setRouteProducer.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/setSharedRoute.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/setStatusCode.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/functions/validateRouteUnique.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/ApiKeyAuth.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/AuthenticationOption.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/AuthorizationCodeFlow.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/BasicAuth.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/BearerAuth.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/ClientCredentialsFlow.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HeaderFieldOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpAuthBase.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpOperation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpOperationBody.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpOperationParameters.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpOperationRequestBody.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpOperationResponse.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpOperationResponseContent.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpServer.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpService.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/HttpStatusCodeRange.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/ImplicitFlow.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/MetadataInfo.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/MetadataInfoOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/OAuth2Scope.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/Oauth2Auth.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/OperationParameterOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/PasswordFlow.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/PathParameterOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/QueryParameterOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/RouteOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/RoutePath.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/RouteProducerResult.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/RouteResolutionOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/interfaces/ServiceAuthentication.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/HttpAuth.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/HttpOperationParameter.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/HttpStatusCodes.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/HttpStatusCodesEntry.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/HttpVerb.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/OAuth2Flow.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/OAuth2FlowType.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/OperationContainer.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/OperationDetails.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/OperationVerbSelector.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/RouteProducer.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/type-aliases/StatusCode.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/variables/$lib.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/http/reference/js-api/variables/namespace.md (100%) create mode 100644 packages/website/versioned_docs/version-latest/libraries/http/reference/linter.md create mode 100644 packages/website/versioned_docs/version-latest/libraries/http/rules/op-reference-container-route.md rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/data-types.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/decorators.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/emitter.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/index.mdx (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/_category_.json (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/classes/JsonSchemaEmitter.md (93%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$baseUri.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$contains.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$contentEncoding.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$contentMediaType.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$contentSchema.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$extension.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$id.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$jsonSchema.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$maxContains.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$maxProperties.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$minContains.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$minProperties.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$multipleOf.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$onEmit.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$prefixItems.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$uniqueItems.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/$validatesRawJson.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/findBaseUri.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getBaseUri.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getContains.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getContentEncoding.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getContentMediaType.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getContentSchema.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getExtensions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getId.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getJsonSchema.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getJsonSchemaTypes.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getMaxContains.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getMaxProperties.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getMinContains.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getMinProperties.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getMultipleOf.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getPrefixItems.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/getUniqueItems.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/functions/isJsonSchemaDeclaration.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/interfaces/ExtensionRecord.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/interfaces/JSONSchemaEmitterOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/namespaces/$validatesRawJson/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/namespaces/$validatesRawJson/variables/namespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/type-aliases/JsonSchemaDeclaration.md (100%) create mode 100644 packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/$lib.md rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/variables/EmitterOptionsSchema.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/json-schema/reference/js-api/variables/namespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/data-types.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/decorators.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/index.mdx (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/_category_.json (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/$defaultResponse.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/$extension.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/$externalDocs.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/$info.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/$operationId.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/checkDuplicateTypeName.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/getExtensions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/getExternalDocs.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/getInfo.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/getOpenAPITypeName.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/getOperationId.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/getParameterKey.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/isDefaultResponse.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/isReadonlyProperty.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/resolveOperationId.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/setExtension.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/functions/shouldInline.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/interfaces/AdditionalInfo.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/interfaces/Contact.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/interfaces/ExternalDocs.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/interfaces/License.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/type-aliases/ExtensionKey.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi/reference/js-api/variables/namespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/diagnostics.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/openapi.md (96%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/decorators.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/emitter.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/index.mdx (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/_category_.json (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/functions/$onEmit.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/functions/$oneOf.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/functions/$useRef.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/functions/getOneOf.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/functions/getRef.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/functions/resolveOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/interfaces/ResolvedOpenAPI3EmitterOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/variables/$lib.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/openapi3/reference/js-api/variables/namespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/guide.md (98%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/data-types.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/decorators.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/emitter.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/index.mdx (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/_category_.json (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$externRef.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$field.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$message.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$onEmit.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$onValidate.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$package.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$reserve.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$service.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/$stream.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/functions/isMap.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/interfaces/PackageDetails.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/type-aliases/Reservation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/variables/$lib.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/variables/PROTO_FULL_IDENT.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/protobuf/reference/js-api/variables/namespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/cheat-sheet.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/data-types.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/decorators.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/index.mdx (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/interfaces.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/_category_.json (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$action.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$actionSegment.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$actionSeparator.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$autoRoute.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$collectionAction.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$copyResourceKeyParameters.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$createsOrReplacesResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$createsOrUpdatesResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$createsResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$deletesResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$listsResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$onValidate.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$parentResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$readsResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$resource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$resourceLocation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$resourceTypeForKeyParam.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$segment.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$segmentOf.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/$updatesResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getAction.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getActionDetails.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getActionSegment.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getActionSeparator.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getCollectionAction.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getCollectionActionDetails.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getParentResource.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getResourceLocationType.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getResourceOperation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getResourceTypeForKeyParam.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getResourceTypeKey.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/getSegment.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/isAutoRoute.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/isListOperation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/setResourceOperation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/functions/setResourceTypeKey.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/interfaces/ActionDetails.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/interfaces/AutoRouteOptions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/interfaces/FilteredRouteParam.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/interfaces/ResourceKey.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/interfaces/ResourceOperation.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/type-aliases/ResourceOperations.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/reference/js-api/variables/namespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/rest/resource-routing.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/guide.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/decorators.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/index.mdx (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/_category_.json (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/classes/VersionMap.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/enumerations/Availability.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$added.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$madeOptional.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$onValidate.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$removed.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$renamedFrom.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$returnTypeChangedFrom.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$typeChangedFrom.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$useDependency.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/$versioned.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/buildVersionProjections.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/existsAtVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/findVersionedNamespace.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getAddedOnVersions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getAvailabilityMap.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getAvailabilityMapInTimeline.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getMadeOptionalOn.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getNameAtVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getRemovedOnVersions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getRenamedFrom.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getRenamedFromVersions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getReturnTypeBeforeVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getReturnTypeChangedFrom.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getTypeBeforeVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getTypeChangedFrom.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getUseDependencies.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getVersionDependencies.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getVersionForEnumMember.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getVersions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/getVersionsForEnum.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/hasDifferentNameAtVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/hasDifferentReturnTypeAtVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/hasDifferentTypeAtVersion.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/madeOptionalAfter.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/functions/resolveVersions.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/index.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/interfaces/Version.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/interfaces/VersionResolution.md (100%) rename packages/website/versioned_docs/version-latest/{standard-library => libraries}/versioning/reference/js-api/variables/namespace.md (100%) create mode 100644 packages/website/versioned_docs/version-latest/release-notes/release-2023-12-05.md delete mode 100644 packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/$lib.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/stringTemplateToString.md delete mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/JSONSchemaValidator.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplate.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateExpressionNode.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateHeadNode.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateLiteralLikeNode.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateMiddleNode.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanLiteral.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanNode.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanValue.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateTailNode.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateSpan.md create mode 100644 packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateToken.md diff --git a/common/changes/@typespec/compiler/docs-doc-comment_2023-11-27-23-52.json b/common/changes/@typespec/compiler/docs-doc-comment_2023-11-27-23-52.json deleted file mode 100644 index 5945164bd2..0000000000 --- a/common/changes/@typespec/compiler/docs-doc-comment_2023-11-27-23-52.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/compiler/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index 5945164bd2..0000000000 --- a/common/changes/@typespec/compiler/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/emitter-framework-ref-context_2023-11-30-18-46.json b/common/changes/@typespec/compiler/emitter-framework-ref-context_2023-11-30-18-46.json deleted file mode 100644 index 89c03a5fea..0000000000 --- a/common/changes/@typespec/compiler/emitter-framework-ref-context_2023-11-30-18-46.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "[API] Emitter framework: `emitTypeReference` function takes an optional reference context that can be used to patch the context for the target.", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} diff --git a/common/changes/@typespec/compiler/feature-absolute-path_2023-11-29-18-24.json b/common/changes/@typespec/compiler/feature-absolute-path_2023-11-29-18-24.json deleted file mode 100644 index bc12592689..0000000000 --- a/common/changes/@typespec/compiler/feature-absolute-path_2023-11-29-18-24.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "Emitter API: Added `absolute-path` as a known format for emitter options which will validate the value passed by the user resolve to an absolute path.", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/feature-linter-ref-docs_2023-11-14-17-34.json b/common/changes/@typespec/compiler/feature-linter-ref-docs_2023-11-14-17-34.json deleted file mode 100644 index 9a100223c6..0000000000 --- a/common/changes/@typespec/compiler/feature-linter-ref-docs_2023-11-14-17-34.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "Linter rules can provide a url to the full documentation", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/feature-string-template_2023-11-14-00-00.json b/common/changes/@typespec/compiler/feature-string-template_2023-11-14-00-00.json deleted file mode 100644 index b1f017e2fc..0000000000 --- a/common/changes/@typespec/compiler/feature-string-template_2023-11-14-00-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "**New language feature** **BREAKING** Added string template literal in typespec. Single and multi-line strings can be interpolated with `${` and `}`. Example `\\`Doc for url ${url} is here: ${location}\\``", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/fix-formatter-keep-parens-valueof_2023-11-21-18-00.json b/common/changes/@typespec/compiler/fix-formatter-keep-parens-valueof_2023-11-21-18-00.json deleted file mode 100644 index 04a64da9b6..0000000000 --- a/common/changes/@typespec/compiler/fix-formatter-keep-parens-valueof_2023-11-21-18-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "Formatter: Fix: `valueof` expression with parentheses around will preserve them when they are meaningful(For example inside a union or array expression)", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} diff --git a/common/changes/@typespec/compiler/fix-openapi3-emitter-framework_2023-11-16-19-35.json b/common/changes/@typespec/compiler/fix-openapi3-emitter-framework_2023-11-16-19-35.json deleted file mode 100644 index 8f73e3dcc8..0000000000 --- a/common/changes/@typespec/compiler/fix-openapi3-emitter-framework_2023-11-16-19-35.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "Emitter framework: allows scalar and enum declaration to provide a reference context.", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} diff --git a/common/changes/@typespec/compiler/fix-union-variant-to-union_2023-11-21-18-53.json b/common/changes/@typespec/compiler/fix-union-variant-to-union_2023-11-21-18-53.json deleted file mode 100644 index a4fea0caca..0000000000 --- a/common/changes/@typespec/compiler/fix-union-variant-to-union_2023-11-21-18-53.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "Fix: Union variant are now assignable to the parent union", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/openapi3-emitter-framework_2023-11-06-20-02.json b/common/changes/@typespec/compiler/openapi3-emitter-framework_2023-11-06-20-02.json deleted file mode 100644 index 9dc5278e70..0000000000 --- a/common/changes/@typespec/compiler/openapi3-emitter-framework_2023-11-06-20-02.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "Emitter framework: Allow passing a custom context when calling `emitType` ", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/upgrade-prettier-3.1_2023-11-13-21-05.json b/common/changes/@typespec/compiler/upgrade-prettier-3.1_2023-11-13-21-05.json deleted file mode 100644 index 524e144edf..0000000000 --- a/common/changes/@typespec/compiler/upgrade-prettier-3.1_2023-11-13-21-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "Upgrade formatter to prettier 3.1", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/compiler/versioning-OpParamsFix_2023-11-21-16-31.json b/common/changes/@typespec/compiler/versioning-OpParamsFix_2023-11-21-16-31.json deleted file mode 100644 index 5945164bd2..0000000000 --- a/common/changes/@typespec/compiler/versioning-OpParamsFix_2023-11-21-16-31.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/compiler", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/compiler" -} \ No newline at end of file diff --git a/common/changes/@typespec/html-program-viewer/feature-themable-html-program-viewer_2023-11-09-20-22.json b/common/changes/@typespec/html-program-viewer/feature-themable-html-program-viewer_2023-11-09-20-22.json deleted file mode 100644 index 076b3e344f..0000000000 --- a/common/changes/@typespec/html-program-viewer/feature-themable-html-program-viewer_2023-11-09-20-22.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/html-program-viewer", - "comment": "Add ability to change colors of the program viewer using css variables. A `ColorProvider` component is also provided for convenience.", - "type": "none" - } - ], - "packageName": "@typespec/html-program-viewer" -} diff --git a/common/changes/@typespec/html-program-viewer/upgrade-prettier-3.1_2023-11-13-21-05.json b/common/changes/@typespec/html-program-viewer/upgrade-prettier-3.1_2023-11-13-21-05.json deleted file mode 100644 index 71ba520be7..0000000000 --- a/common/changes/@typespec/html-program-viewer/upgrade-prettier-3.1_2023-11-13-21-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/html-program-viewer", - "comment": "Upgrade formatter to prettier 3.1", - "type": "none" - } - ], - "packageName": "@typespec/html-program-viewer" -} \ No newline at end of file diff --git a/common/changes/@typespec/http/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/http/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index e59b9bb12e..0000000000 --- a/common/changes/@typespec/http/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/http", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/http" -} \ No newline at end of file diff --git a/common/changes/@typespec/http/feature-linter-ref-docs_2023-11-14-17-34.json b/common/changes/@typespec/http/feature-linter-ref-docs_2023-11-14-17-34.json deleted file mode 100644 index e59b9bb12e..0000000000 --- a/common/changes/@typespec/http/feature-linter-ref-docs_2023-11-14-17-34.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/http", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/http" -} \ No newline at end of file diff --git a/common/changes/@typespec/http/http-FixNoRoutes_2023-11-16-16-49.json b/common/changes/@typespec/http/http-FixNoRoutes_2023-11-16-16-49.json deleted file mode 100644 index 63900aac90..0000000000 --- a/common/changes/@typespec/http/http-FixNoRoutes_2023-11-16-16-49.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/http", - "comment": "Add diagnostic when a namespace exists with routes, but no namespace is marked with `@service`.", - "type": "none" - } - ], - "packageName": "@typespec/http" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/json-schema/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index c15d89290f..0000000000 --- a/common/changes/@typespec/json-schema/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/feature-json-schema-default_2023-11-09-18-20.json b/common/changes/@typespec/json-schema/feature-json-schema-default_2023-11-09-18-20.json deleted file mode 100644 index 9fd19b19fa..0000000000 --- a/common/changes/@typespec/json-schema/feature-json-schema-default_2023-11-09-18-20.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "Add support for simple literal default on model properties", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/feature-string-template_2023-11-14-00-00.json b/common/changes/@typespec/json-schema/feature-string-template_2023-11-14-00-00.json deleted file mode 100644 index 8943b687d9..0000000000 --- a/common/changes/@typespec/json-schema/feature-string-template_2023-11-14-00-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "Added support for string template literals", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/fix-enum-0-string_2023-11-09-18-36.json b/common/changes/@typespec/json-schema/fix-enum-0-string_2023-11-09-18-36.json deleted file mode 100644 index 42c4387c4c..0000000000 --- a/common/changes/@typespec/json-schema/fix-enum-0-string_2023-11-09-18-36.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "Fix: Enum with a value of `0` would have resulting in `type` of `string` and `number`", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/fix-json-schema-base-scalar-constraints_2023-11-09-17-51.json b/common/changes/@typespec/json-schema/fix-json-schema-base-scalar-constraints_2023-11-09-17-51.json deleted file mode 100644 index e444e8b024..0000000000 --- a/common/changes/@typespec/json-schema/fix-json-schema-base-scalar-constraints_2023-11-09-17-51.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "Fix: Scalar constraints combine with base scalar constraints", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/fix-json-schema-exclusive-max_2023-11-09-17-10.json b/common/changes/@typespec/json-schema/fix-json-schema-exclusive-max_2023-11-09-17-10.json deleted file mode 100644 index 8611abf521..0000000000 --- a/common/changes/@typespec/json-schema/fix-json-schema-exclusive-max_2023-11-09-17-10.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "JsonSchema: Fix `@maxValueExclusive` setting `minimumExclusive` instead of `maximumExclusive`", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/json-schema-no-throw_2023-11-21-16-21.json b/common/changes/@typespec/json-schema/json-schema-no-throw_2023-11-21-16-21.json deleted file mode 100644 index 8ffa5e2da2..0000000000 --- a/common/changes/@typespec/json-schema/json-schema-no-throw_2023-11-21-16-21.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "Report diagnostic instead of throwing errors in the case of duplicate ids or unknown scalar", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} \ No newline at end of file diff --git a/common/changes/@typespec/json-schema/json-schema-template-scalar_2023-11-09-19-00.json b/common/changes/@typespec/json-schema/json-schema-template-scalar_2023-11-09-19-00.json deleted file mode 100644 index f524ec8a08..0000000000 --- a/common/changes/@typespec/json-schema/json-schema-template-scalar_2023-11-09-19-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/json-schema", - "comment": "Add support for templated scalars.", - "type": "none" - } - ], - "packageName": "@typespec/json-schema" -} diff --git a/common/changes/@typespec/migrate/upgrade-prettier-3.1_2023-11-13-21-05.json b/common/changes/@typespec/migrate/upgrade-prettier-3.1_2023-11-13-21-05.json deleted file mode 100644 index ab9ce5ac94..0000000000 --- a/common/changes/@typespec/migrate/upgrade-prettier-3.1_2023-11-13-21-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/migrate", - "comment": "Upgrade formatter to prettier 3.1", - "type": "none" - } - ], - "packageName": "@typespec/migrate" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/openapi/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index 4697c1be8b..0000000000 --- a/common/changes/@typespec/openapi/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/openapi" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/arm-FixResourceCreateModel_2023-11-13-21-58.json b/common/changes/@typespec/openapi3/arm-FixResourceCreateModel_2023-11-13-21-58.json deleted file mode 100644 index d9a70151de..0000000000 --- a/common/changes/@typespec/openapi3/arm-FixResourceCreateModel_2023-11-13-21-58.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/basic-multipart-support-openapi3_2023-11-27-23-05.json b/common/changes/@typespec/openapi3/basic-multipart-support-openapi3_2023-11-27-23-05.json deleted file mode 100644 index 69335b235e..0000000000 --- a/common/changes/@typespec/openapi3/basic-multipart-support-openapi3_2023-11-27-23-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "Handle `bytes` as a multipart part type correctly and produce `type: string, format: binary`", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/openapi3/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index d9a70151de..0000000000 --- a/common/changes/@typespec/openapi3/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/feature-string-template_2023-11-16-22-33.json b/common/changes/@typespec/openapi3/feature-string-template_2023-11-16-22-33.json deleted file mode 100644 index efcf1e2d84..0000000000 --- a/common/changes/@typespec/openapi3/feature-string-template_2023-11-16-22-33.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "Added support for string template literals", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/fix-bytes-in-json-part_2023-12-04-20-28.json b/common/changes/@typespec/openapi3/fix-bytes-in-json-part_2023-12-04-20-28.json deleted file mode 100644 index d9a70151de..0000000000 --- a/common/changes/@typespec/openapi3/fix-bytes-in-json-part_2023-12-04-20-28.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/fix-openapi3-emitter-framework_2023-11-16-19-35.json b/common/changes/@typespec/openapi3/fix-openapi3-emitter-framework_2023-11-16-19-35.json deleted file mode 100644 index d9a70151de..0000000000 --- a/common/changes/@typespec/openapi3/fix-openapi3-emitter-framework_2023-11-16-19-35.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/fix-union-variant-to-union_2023-11-21-18-53.json b/common/changes/@typespec/openapi3/fix-union-variant-to-union_2023-11-21-18-53.json deleted file mode 100644 index 58b32fe1f4..0000000000 --- a/common/changes/@typespec/openapi3/fix-union-variant-to-union_2023-11-21-18-53.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "Handle: union variants as discriminator", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/http-FixNoRoutes_2023-11-16-16-49.json b/common/changes/@typespec/openapi3/http-FixNoRoutes_2023-11-16-16-49.json deleted file mode 100644 index d9a70151de..0000000000 --- a/common/changes/@typespec/openapi3/http-FixNoRoutes_2023-11-16-16-49.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/openapi3-emitter-framework_2023-11-06-20-02.json b/common/changes/@typespec/openapi3/openapi3-emitter-framework_2023-11-06-20-02.json deleted file mode 100644 index fd0503324b..0000000000 --- a/common/changes/@typespec/openapi3/openapi3-emitter-framework_2023-11-06-20-02.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "Migrate code to use the emitter framework", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/openapi3/unreferencedVisibilityFix_2023-11-01-16-22.json b/common/changes/@typespec/openapi3/unreferencedVisibilityFix_2023-11-01-16-22.json deleted file mode 100644 index 209fbbe494..0000000000 --- a/common/changes/@typespec/openapi3/unreferencedVisibilityFix_2023-11-01-16-22.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "Emitter will now emit all properties on unreferenced schemas.", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/changes/@typespec/prettier-plugin-typespec/upgrade-prettier-3.1_2023-11-13-21-05.json b/common/changes/@typespec/prettier-plugin-typespec/upgrade-prettier-3.1_2023-11-13-21-05.json deleted file mode 100644 index 525bf1e2d4..0000000000 --- a/common/changes/@typespec/prettier-plugin-typespec/upgrade-prettier-3.1_2023-11-13-21-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/prettier-plugin-typespec", - "comment": "Upgrade formatter to prettier 3.1", - "type": "none" - } - ], - "packageName": "@typespec/prettier-plugin-typespec" -} \ No newline at end of file diff --git a/common/changes/@typespec/protobuf/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/protobuf/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index 8f48e4e952..0000000000 --- a/common/changes/@typespec/protobuf/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/protobuf", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/protobuf" -} \ No newline at end of file diff --git a/common/changes/@typespec/rest/arm-FixResourceCreateModel_2023-11-13-16-38.json b/common/changes/@typespec/rest/arm-FixResourceCreateModel_2023-11-13-16-38.json deleted file mode 100644 index 7df13658d7..0000000000 --- a/common/changes/@typespec/rest/arm-FixResourceCreateModel_2023-11-13-16-38.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/rest", - "comment": "Fix issue with `ResourceCreateModel` template collecting \"update\" properties instead of \"create\" properties.", - "type": "none" - } - ], - "packageName": "@typespec/rest" -} \ No newline at end of file diff --git a/common/changes/@typespec/rest/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/rest/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index 64135d54e3..0000000000 --- a/common/changes/@typespec/rest/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/rest", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/rest" -} \ No newline at end of file diff --git a/common/changes/@typespec/versioning/docs-reorganize_2023-11-15-23-00.json b/common/changes/@typespec/versioning/docs-reorganize_2023-11-15-23-00.json deleted file mode 100644 index 3c8fd8571b..0000000000 --- a/common/changes/@typespec/versioning/docs-reorganize_2023-11-15-23-00.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/versioning", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/versioning" -} \ No newline at end of file diff --git a/common/changes/@typespec/versioning/revertOpParamValidation_2023-11-22-23-40.json b/common/changes/@typespec/versioning/revertOpParamValidation_2023-11-22-23-40.json deleted file mode 100644 index 3c8fd8571b..0000000000 --- a/common/changes/@typespec/versioning/revertOpParamValidation_2023-11-22-23-40.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/versioning", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/versioning" -} \ No newline at end of file diff --git a/common/changes/@typespec/versioning/versioning-OpParamsFix_2023-11-21-16-31.json b/common/changes/@typespec/versioning/versioning-OpParamsFix_2023-11-21-16-31.json deleted file mode 100644 index 3c8fd8571b..0000000000 --- a/common/changes/@typespec/versioning/versioning-OpParamsFix_2023-11-21-16-31.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/versioning", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/versioning" -} \ No newline at end of file diff --git a/common/changes/@typespec/versioning/versioning-OpParams_2023-11-10-16-19.json b/common/changes/@typespec/versioning/versioning-OpParams_2023-11-10-16-19.json deleted file mode 100644 index a493c94336..0000000000 --- a/common/changes/@typespec/versioning/versioning-OpParams_2023-11-10-16-19.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/versioning", - "comment": "Fix crash in versioning library.", - "type": "none" - } - ], - "packageName": "@typespec/versioning" -} diff --git a/common/changes/@typespec/versioning/versioning-OpParams_2023-11-22-18-08.json b/common/changes/@typespec/versioning/versioning-OpParams_2023-11-22-18-08.json deleted file mode 100644 index 3c8fd8571b..0000000000 --- a/common/changes/@typespec/versioning/versioning-OpParams_2023-11-22-18-08.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/versioning", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/versioning" -} \ No newline at end of file diff --git a/common/changes/@typespec/versioning/versioning-TemplatedReturnType_2023-11-15-21-21.json b/common/changes/@typespec/versioning/versioning-TemplatedReturnType_2023-11-15-21-21.json deleted file mode 100644 index 3c8fd8571b..0000000000 --- a/common/changes/@typespec/versioning/versioning-TemplatedReturnType_2023-11-15-21-21.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/versioning", - "comment": "", - "type": "none" - } - ], - "packageName": "@typespec/versioning" -} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index b1fb5df1ca..7a5cd65110 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -22,13 +22,13 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec c8: specifier: ~8.0.1 @@ -61,7 +61,7 @@ importers: specifier: ~12.16.0 version: 12.16.0 '@typespec/bundler': - specifier: workspace:~0.1.0-alpha.3 + specifier: workspace:~0.1.0-alpha.4 version: link:../bundler json5: specifier: ^2.2.3 @@ -83,7 +83,7 @@ importers: specifier: ^7.5.2 version: 7.5.4 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec c8: specifier: ~8.0.1 @@ -128,7 +128,7 @@ importers: specifier: ~3.0.1 version: 3.0.2(rollup@3.29.4) '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler picocolors: specifier: ~1.0.0 @@ -150,7 +150,7 @@ importers: specifier: ~17.0.24 version: 17.0.29 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec c8: specifier: ~8.0.1 @@ -244,10 +244,10 @@ importers: specifier: ~17.0.24 version: 17.0.29 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/internal-build-utils': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../internal-build-utils c8: specifier: ~8.0.1 @@ -280,7 +280,7 @@ importers: specifier: ~0.5.21 version: 0.5.21 tmlanguage-generator: - specifier: workspace:~0.5.0 + specifier: workspace:~0.5.1 version: link:../tmlanguage-generator typescript: specifier: ~5.2.2 @@ -341,7 +341,7 @@ importers: specifier: ^6.2.1 version: 6.9.1(eslint@8.52.0)(typescript@5.2.2) '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec c8: specifier: ~8.0.1 @@ -399,10 +399,10 @@ importers: specifier: ~18.2.7 version: 18.2.14 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec c8: specifier: ~8.0.1 @@ -435,16 +435,16 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec '@typespec/library-linter': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../library-linter '@typespec/tspd': specifier: workspace:~0.46.0 @@ -499,7 +499,7 @@ importers: specifier: ~17.0.24 version: 17.0.29 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec c8: specifier: ~8.0.1 @@ -539,19 +539,19 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec '@typespec/internal-build-utils': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../internal-build-utils '@typespec/library-linter': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../library-linter '@typespec/tspd': specifier: workspace:~0.46.0 @@ -593,10 +593,10 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec c8: specifier: ~8.0.1 @@ -629,13 +629,13 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec c8: specifier: ~8.0.1 @@ -662,7 +662,7 @@ importers: ../../packages/migrate: dependencies: '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/compiler-v0.37': specifier: npm:@cadl-lang/compiler@0.37.0 @@ -708,10 +708,10 @@ importers: specifier: ~17.0.24 version: 17.0.29 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec c8: specifier: ~8.0.1 @@ -744,22 +744,22 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec '@typespec/http': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../http '@typespec/library-linter': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../library-linter '@typespec/rest': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../rest '@typespec/tspd': specifier: workspace:~0.46.0 @@ -799,31 +799,31 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec '@typespec/http': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../http '@typespec/library-linter': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../library-linter '@typespec/openapi': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi '@typespec/rest': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../rest '@typespec/tspd': specifier: workspace:~0.46.0 version: link:../tspd '@typespec/versioning': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../versioning c8: specifier: ~8.0.1 @@ -856,31 +856,31 @@ importers: specifier: ~2.0.217 version: 2.0.221(react@18.2.0) '@typespec/bundler': - specifier: workspace:~0.1.0-alpha.3 + specifier: workspace:~0.1.0-alpha.4 version: link:../bundler '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/html-program-viewer': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../html-program-viewer '@typespec/http': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../http '@typespec/openapi': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi3 '@typespec/protobuf': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../protobuf '@typespec/rest': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../rest '@typespec/versioning': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../versioning clsx: specifier: ~2.0.0 @@ -950,7 +950,7 @@ importers: specifier: ^4.18.0 version: 4.18.2 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@vitejs/plugin-react': specifier: ~4.1.0 @@ -1001,34 +1001,34 @@ importers: ../../packages/playground-website: dependencies: '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/html-program-viewer': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../html-program-viewer '@typespec/http': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../http '@typespec/json-schema': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../json-schema '@typespec/openapi': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi3 '@typespec/playground': - specifier: workspace:~0.1.0-alpha.3 + specifier: workspace:~0.1.0-alpha.4 version: link:../playground '@typespec/protobuf': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../protobuf '@typespec/rest': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../rest '@typespec/versioning': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../versioning es-module-shims: specifier: ~1.8.0 @@ -1068,7 +1068,7 @@ importers: specifier: ^4.18.0 version: 4.18.2 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@vitejs/plugin-react': specifier: ~4.1.0 @@ -1123,10 +1123,10 @@ importers: specifier: ~5.0.2 version: 5.0.5(rollup@3.29.4) '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/internal-build-utils': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../internal-build-utils mocha: specifier: ~10.2.0 @@ -1156,13 +1156,13 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec '@typespec/tspd': specifier: workspace:~0.46.0 @@ -1195,19 +1195,19 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec '@typespec/http': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../http '@typespec/library-linter': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../library-linter '@typespec/tspd': specifier: workspace:~0.46.0 @@ -1240,28 +1240,28 @@ importers: specifier: workspace:~0.45.0 version: link:../best-practices '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/html-program-viewer': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../html-program-viewer '@typespec/http': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../http '@typespec/json-schema': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../json-schema '@typespec/openapi': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi3 '@typespec/rest': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../rest '@typespec/versioning': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../versioning devDependencies: '@types/mocha': @@ -1271,10 +1271,10 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/internal-build-utils': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../internal-build-utils autorest: specifier: ~3.3.2 @@ -1301,7 +1301,7 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/internal-build-utils': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../internal-build-utils ecmarkup: specifier: ~12.0.3 @@ -1323,7 +1323,7 @@ importers: specifier: ~3.0.2 version: 3.0.4 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec eslint: specifier: ^8.49.0 @@ -1338,7 +1338,7 @@ importers: ../../packages/tspd: dependencies: '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler picocolors: specifier: ~1.0.0 @@ -1363,10 +1363,10 @@ importers: specifier: ~17.0.24 version: 17.0.29 '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/prettier-plugin-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../prettier-plugin-typespec c8: specifier: ~8.0.1 @@ -1402,10 +1402,10 @@ importers: ../../packages/typespec-vs: devDependencies: '@typespec/internal-build-utils': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../internal-build-utils typespec-vscode: - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../typespec-vscode ../../packages/typespec-vscode: @@ -1426,13 +1426,13 @@ importers: specifier: ~1.82.0 version: 1.82.0 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/internal-build-utils': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../internal-build-utils '@vscode/vsce': specifier: ~2.21.0 @@ -1474,16 +1474,16 @@ importers: specifier: ~18.11.9 version: 18.11.19 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/eslint-plugin': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-plugin-typespec '@typespec/library-linter': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../library-linter '@typespec/tspd': specifier: workspace:~0.46.0 @@ -1534,7 +1534,7 @@ importers: specifier: ^3.0.0 version: 3.0.0(@types/react@18.2.34)(react@18.2.0) '@typespec/playground': - specifier: workspace:~0.1.0-alpha.3 + specifier: workspace:~0.1.0-alpha.4 version: link:../playground es-module-shims: specifier: ~1.8.0 @@ -1571,31 +1571,31 @@ importers: specifier: ~18.2.22 version: 18.2.34 '@typespec/compiler': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../compiler '@typespec/eslint-config-typespec': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../eslint-config-typespec '@typespec/http': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../http '@typespec/json-schema': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../json-schema '@typespec/openapi': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../openapi3 '@typespec/playground-website': specifier: workspace:* version: link:../playground-website '@typespec/protobuf': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../protobuf '@typespec/rest': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../rest '@typespec/spec': specifier: workspace:* @@ -1604,7 +1604,7 @@ importers: specifier: workspace:~0.46.0 version: link:../tspd '@typespec/versioning': - specifier: workspace:~0.50.0 + specifier: workspace:~0.51.0 version: link:../versioning dotenv: specifier: ~16.3.1 diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index c876bfc40e..8cc046512e 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -12,13 +12,13 @@ { "definitionName": "lockStepVersion", "policyName": "typespec", - "version": "0.50.0", + "version": "0.51.0", "nextBump": "minor" }, { "definitionName": "lockStepVersion", "policyName": "playground", - "version": "0.1.0-alpha.3", + "version": "0.1.0-alpha.4", "nextBump": "prerelease" } // { diff --git a/packages/best-practices/package.json b/packages/best-practices/package.json index 578bfb3fa9..5f0f273041 100644 --- a/packages/best-practices/package.json +++ b/packages/best-practices/package.json @@ -39,14 +39,14 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "eslint": "^8.49.0", "mocha": "~10.2.0", "mocha-junit-reporter": "~2.2.1", diff --git a/packages/bundle-uploader/package.json b/packages/bundle-uploader/package.json index bb7732a215..2f97f3cacc 100644 --- a/packages/bundle-uploader/package.json +++ b/packages/bundle-uploader/package.json @@ -39,7 +39,7 @@ "dependencies": { "@azure/identity": "~3.3.2", "@azure/storage-blob": "~12.16.0", - "@typespec/bundler": "workspace:~0.1.0-alpha.3", + "@typespec/bundler": "workspace:~0.1.0-alpha.4", "picocolors": "~1.0.0", "semver": "^7.5.4", "json5": "^2.2.3" @@ -47,7 +47,7 @@ "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "@types/semver": "^7.5.2", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/bundler/package.json b/packages/bundler/package.json index c16eda9218..69276a56be 100644 --- a/packages/bundler/package.json +++ b/packages/bundler/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/bundler", - "version": "0.1.0-alpha.3", + "version": "0.1.0-alpha.4", "author": "Microsoft Corporation", "description": "Package to bundle a typespec library.", "homepage": "https://microsoft.github.io/typespec", @@ -44,7 +44,7 @@ "!dist/test/**" ], "dependencies": { - "@typespec/compiler": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", "@rollup/plugin-virtual": "~3.0.1", "@rollup/plugin-commonjs": "~25.0.4", "@rollup/plugin-json": "~6.0.0", @@ -58,7 +58,7 @@ "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "eslint": "^8.49.0", "mocha": "~10.2.0", "mocha-junit-reporter": "~2.2.1", diff --git a/packages/compiler/CHANGELOG.json b/packages/compiler/CHANGELOG.json index 9d861909fa..03a19713a6 100644 --- a/packages/compiler/CHANGELOG.json +++ b/packages/compiler/CHANGELOG.json @@ -1,6 +1,47 @@ { "name": "@typespec/compiler", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/compiler_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "[API] Emitter framework: `emitTypeReference` function takes an optional reference context that can be used to patch the context for the target." + }, + { + "comment": "Emitter API: Added `absolute-path` as a known format for emitter options which will validate the value passed by the user resolve to an absolute path." + }, + { + "comment": "Linter rules can provide a url to the full documentation" + }, + { + "comment": "**New language feature** **BREAKING** Added string template literal in typespec. Single and multi-line strings can be interpolated with `${` and `}`. Example `\\`Doc for url ${url} is here: ${location}\\``" + }, + { + "comment": "Formatter: Fix: `valueof` expression with parentheses around will preserve them when they are meaningful(For example inside a union or array expression)" + }, + { + "comment": "Emitter framework: allows scalar and enum declaration to provide a reference context." + }, + { + "comment": "Fix: Union variant are now assignable to the parent union" + }, + { + "comment": "Emitter framework: Allow passing a custom context when calling `emitType` " + }, + { + "comment": "Upgrade formatter to prettier 3.1" + } + ], + "dependency": [ + { + "comment": "Updating dependency \"tmlanguage-generator\" from `~0.5.0` to `~0.5.1`" + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/compiler_v0.50.0", diff --git a/packages/compiler/CHANGELOG.md b/packages/compiler/CHANGELOG.md index 0af78deea5..a6a9f60cf0 100644 --- a/packages/compiler/CHANGELOG.md +++ b/packages/compiler/CHANGELOG.md @@ -1,6 +1,21 @@ # Change Log - @typespec/compiler -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- [API] Emitter framework: `emitTypeReference` function takes an optional reference context that can be used to patch the context for the target. +- Emitter API: Added `absolute-path` as a known format for emitter options which will validate the value passed by the user resolve to an absolute path. +- Linter rules can provide a url to the full documentation +- **New language feature** **BREAKING** Added string template literal in typespec. Single and multi-line strings can be interpolated with `${` and `}`. Example `\`Doc for url ${url} is here: ${location}\`` +- Formatter: Fix: `valueof` expression with parentheses around will preserve them when they are meaningful(For example inside a union or array expression) +- Emitter framework: allows scalar and enum declaration to provide a reference context. +- Fix: Union variant are now assignable to the parent union +- Emitter framework: Allow passing a custom context when calling `emitType` +- Upgrade formatter to prettier 3.1 ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/compiler/package.json b/packages/compiler/package.json index 2dbcfcbb4d..d61d0d68be 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/compiler", - "version": "0.50.0", + "version": "0.51.0", "description": "TypeSpec Compiler Preview", "author": "Microsoft Corporation", "license": "MIT", @@ -94,8 +94,8 @@ "@types/prompts": "~2.4.4", "@types/semver": "^7.5.2", "@types/yargs": "~17.0.24", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/internal-build-utils": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/internal-build-utils": "workspace:~0.51.0", "eslint": "^8.49.0", "grammarkdown": "~3.3.2", "mocha": "~10.2.0", @@ -105,7 +105,7 @@ "prettier-plugin-organize-imports": "~3.2.3", "source-map-support": "~0.5.21", "rimraf": "~5.0.1", - "tmlanguage-generator": "workspace:~0.5.0", + "tmlanguage-generator": "workspace:~0.5.1", "typescript": "~5.2.2", "vscode-oniguruma": "~2.0.1", "vscode-textmate": "~9.0.0", diff --git a/packages/eslint-config-typespec/CHANGELOG.json b/packages/eslint-config-typespec/CHANGELOG.json index 7d86262f2f..feb45e5e46 100644 --- a/packages/eslint-config-typespec/CHANGELOG.json +++ b/packages/eslint-config-typespec/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@typespec/eslint-config-typespec", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/eslint-config-typespec_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "@typespec/eslint-config-typespec_v0.50.0", diff --git a/packages/eslint-config-typespec/CHANGELOG.md b/packages/eslint-config-typespec/CHANGELOG.md index f674e85497..1ed65d3964 100644 --- a/packages/eslint-config-typespec/CHANGELOG.md +++ b/packages/eslint-config-typespec/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @typespec/eslint-config-typespec -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/eslint-config-typespec/package.json b/packages/eslint-config-typespec/package.json index 2bcb93dd7b..2b8f1ede8e 100644 --- a/packages/eslint-config-typespec/package.json +++ b/packages/eslint-config-typespec/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/eslint-config-typespec", - "version": "0.50.0", + "version": "0.51.0", "description": "ESLint config for typespec packages", "main": "index.js", "repository": { diff --git a/packages/eslint-plugin-typespec/CHANGELOG.json b/packages/eslint-plugin-typespec/CHANGELOG.json index 21b3e07821..c1bb5ac892 100644 --- a/packages/eslint-plugin-typespec/CHANGELOG.json +++ b/packages/eslint-plugin-typespec/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@typespec/eslint-plugin", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/eslint-plugin_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "@typespec/eslint-plugin_v0.50.0", diff --git a/packages/eslint-plugin-typespec/CHANGELOG.md b/packages/eslint-plugin-typespec/CHANGELOG.md index ea5667a609..4c8a8f1b7c 100644 --- a/packages/eslint-plugin-typespec/CHANGELOG.md +++ b/packages/eslint-plugin-typespec/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @typespec/eslint-plugin -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/eslint-plugin-typespec/package.json b/packages/eslint-plugin-typespec/package.json index ae1186bbd5..893a099247 100644 --- a/packages/eslint-plugin-typespec/package.json +++ b/packages/eslint-plugin-typespec/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/eslint-plugin", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "Eslint plugin providing set of rules to be used in the JS/TS code of TypeSpec libraries", "homepage": "https://microsoft.github.io/typespec", @@ -41,7 +41,7 @@ "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "@typescript-eslint/parser": "^6.2.1", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/html-program-viewer/CHANGELOG.json b/packages/html-program-viewer/CHANGELOG.json index bc6ed4aab9..9c72e32c42 100644 --- a/packages/html-program-viewer/CHANGELOG.json +++ b/packages/html-program-viewer/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@typespec/html-program-viewer", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/html-program-viewer_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Add ability to change colors of the program viewer using css variables. A `ColorProvider` component is also provided for convenience." + }, + { + "comment": "Upgrade formatter to prettier 3.1" + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/html-program-viewer_v0.50.0", diff --git a/packages/html-program-viewer/CHANGELOG.md b/packages/html-program-viewer/CHANGELOG.md index edf74bc1d6..6d05d2a804 100644 --- a/packages/html-program-viewer/CHANGELOG.md +++ b/packages/html-program-viewer/CHANGELOG.md @@ -1,6 +1,14 @@ # Change Log - @typespec/html-program-viewer -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Add ability to change colors of the program viewer using css variables. A `ColorProvider` component is also provided for convenience. +- Upgrade formatter to prettier 3.1 ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/html-program-viewer/package.json b/packages/html-program-viewer/package.json index 0d36280b42..5f2ff8df55 100644 --- a/packages/html-program-viewer/package.json +++ b/packages/html-program-viewer/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/html-program-viewer", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec library for emitting an html view of the program.", "homepage": "https://microsoft.github.io/typespec", @@ -47,7 +47,7 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "dependencies": { "prettier": "~3.1.0", @@ -61,8 +61,8 @@ "@types/node": "~18.11.9", "@types/react": "~18.2.22", "@types/react-dom": "~18.2.7", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "@babel/core": "^7.22.20", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/http/CHANGELOG.json b/packages/http/CHANGELOG.json index f2de861ae2..a97fb4f566 100644 --- a/packages/http/CHANGELOG.json +++ b/packages/http/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@typespec/http", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/http_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Add diagnostic when a namespace exists with routes, but no namespace is marked with `@service`." + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/http_v0.50.0", diff --git a/packages/http/CHANGELOG.md b/packages/http/CHANGELOG.md index 02b84f2aa5..c760ffff64 100644 --- a/packages/http/CHANGELOG.md +++ b/packages/http/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @typespec/http -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Add diagnostic when a namespace exists with routes, but no namespace is marked with `@service`. ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/http/package.json b/packages/http/package.json index 9f0803b8e9..c263164c5e 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/http", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec HTTP protocol binding", "homepage": "https://github.com/microsoft/typespec", @@ -50,15 +50,15 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/library-linter": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/library-linter": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "@typespec/tspd": "workspace:~0.46.0", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/internal-build-utils/CHANGELOG.json b/packages/internal-build-utils/CHANGELOG.json index 1602872224..427224b2e4 100644 --- a/packages/internal-build-utils/CHANGELOG.json +++ b/packages/internal-build-utils/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@typespec/internal-build-utils", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/internal-build-utils_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "@typespec/internal-build-utils_v0.50.0", diff --git a/packages/internal-build-utils/CHANGELOG.md b/packages/internal-build-utils/CHANGELOG.md index 2b57ca3490..e8f1d42c25 100644 --- a/packages/internal-build-utils/CHANGELOG.md +++ b/packages/internal-build-utils/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @typespec/internal-build-utils -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/internal-build-utils/package.json b/packages/internal-build-utils/package.json index b21ebf77eb..3928dbcc33 100644 --- a/packages/internal-build-utils/package.json +++ b/packages/internal-build-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/internal-build-utils", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "Internal library to TypeSpec providing helpers to build.", "homepage": "https://microsoft.github.io/typespec", @@ -48,7 +48,7 @@ "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", "@types/yargs": "~17.0.24", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "@types/semver": "^7.5.2", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/json-schema/CHANGELOG.json b/packages/json-schema/CHANGELOG.json index c16cda2dad..c4ee299a0d 100644 --- a/packages/json-schema/CHANGELOG.json +++ b/packages/json-schema/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@typespec/json-schema", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/json-schema_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Add support for simple literal default on model properties" + }, + { + "comment": "Added support for string template literals" + }, + { + "comment": "Fix: Enum with a value of `0` would have resulting in `type` of `string` and `number`" + }, + { + "comment": "Fix: Scalar constraints combine with base scalar constraints" + }, + { + "comment": "JsonSchema: Fix `@maxValueExclusive` setting `minimumExclusive` instead of `maximumExclusive`" + }, + { + "comment": "Report diagnostic instead of throwing errors in the case of duplicate ids or unknown scalar" + }, + { + "comment": "Add support for templated scalars." + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/json-schema_v0.50.0", diff --git a/packages/json-schema/CHANGELOG.md b/packages/json-schema/CHANGELOG.md index dcf9b9077b..a10a025627 100644 --- a/packages/json-schema/CHANGELOG.md +++ b/packages/json-schema/CHANGELOG.md @@ -1,6 +1,19 @@ # Change Log - @typespec/json-schema -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Add support for simple literal default on model properties +- Added support for string template literals +- Fix: Enum with a value of `0` would have resulting in `type` of `string` and `number` +- Fix: Scalar constraints combine with base scalar constraints +- JsonSchema: Fix `@maxValueExclusive` setting `minimumExclusive` instead of `maximumExclusive` +- Report diagnostic instead of throwing errors in the case of duplicate ids or unknown scalar +- Add support for templated scalars. ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/json-schema/package.json b/packages/json-schema/package.json index fe4f432747..9114c7d3e8 100644 --- a/packages/json-schema/package.json +++ b/packages/json-schema/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/json-schema", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec library for emitting TypeSpec to JSON Schema and converting JSON Schema to TypeSpec", "homepage": "https://github.com/microsoft/typespec", @@ -43,15 +43,15 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/library-linter": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/library-linter": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "@typespec/tspd": "workspace:~0.46.0", "eslint": "^8.49.0", "mocha": "~10.2.0", @@ -61,7 +61,7 @@ "rimraf": "~5.0.1", "typescript": "~5.2.2", "ajv": "~8.12.0", - "@typespec/internal-build-utils": "workspace:~0.50.0", + "@typespec/internal-build-utils": "workspace:~0.51.0", "ajv-formats": "~2.1.1" }, "dependencies": { diff --git a/packages/library-linter/CHANGELOG.json b/packages/library-linter/CHANGELOG.json index 2702485bf2..9a33ee36cb 100644 --- a/packages/library-linter/CHANGELOG.json +++ b/packages/library-linter/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@typespec/library-linter", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/library-linter_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "@typespec/library-linter_v0.50.0", diff --git a/packages/library-linter/CHANGELOG.md b/packages/library-linter/CHANGELOG.md index ef99bd616a..0c917b5a6a 100644 --- a/packages/library-linter/CHANGELOG.md +++ b/packages/library-linter/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @typespec/library-linter -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/library-linter/package.json b/packages/library-linter/package.json index 1fa540748e..7812036367 100644 --- a/packages/library-linter/package.json +++ b/packages/library-linter/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/library-linter", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec library for linting another library.", "homepage": "https://microsoft.github.io/typespec", @@ -47,13 +47,13 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "eslint": "^8.49.0", "mocha": "~10.2.0", "mocha-junit-reporter": "~2.2.1", diff --git a/packages/lint/package.json b/packages/lint/package.json index e2b6c31038..8c11aedbdb 100644 --- a/packages/lint/package.json +++ b/packages/lint/package.json @@ -46,14 +46,14 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "eslint": "^8.49.0", "mocha": "~10.2.0", "mocha-junit-reporter": "~2.2.1", diff --git a/packages/migrate/CHANGELOG.json b/packages/migrate/CHANGELOG.json index 54195b7a2d..b3a072d11e 100644 --- a/packages/migrate/CHANGELOG.json +++ b/packages/migrate/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@typespec/migrate", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/migrate_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Upgrade formatter to prettier 3.1" + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/migrate_v0.50.0", diff --git a/packages/migrate/CHANGELOG.md b/packages/migrate/CHANGELOG.md index 509993862b..4863194f5f 100644 --- a/packages/migrate/CHANGELOG.md +++ b/packages/migrate/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @typespec/migrate -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Upgrade formatter to prettier 3.1 ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/migrate/package.json b/packages/migrate/package.json index 41818b763a..3b95a05354 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/migrate", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "Migration tool for typespec.", "homepage": "https://microsoft.github.io/typespec", @@ -38,7 +38,7 @@ "!dist/test/**" ], "dependencies": { - "@typespec/compiler": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", "@typespec/compiler-v0.37": "npm:@cadl-lang/compiler@0.37.0", "@typespec/compiler-v0.38": "npm:@cadl-lang/compiler@0.38.5", "@typespec/compiler-v0.40": "npm:@cadl-lang/compiler@0.40.0", @@ -55,9 +55,9 @@ "@types/node": "~18.11.9", "@types/semver": "^7.5.2", "@types/yargs": "~17.0.24", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "c8": "~8.0.1", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/openapi/CHANGELOG.json b/packages/openapi/CHANGELOG.json index bfa0cab6f9..467b409aef 100644 --- a/packages/openapi/CHANGELOG.json +++ b/packages/openapi/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@typespec/openapi", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/openapi_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "@typespec/openapi_v0.50.0", diff --git a/packages/openapi/CHANGELOG.md b/packages/openapi/CHANGELOG.md index 086aa9ea45..c45bab7734 100644 --- a/packages/openapi/CHANGELOG.md +++ b/packages/openapi/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @typespec/openapi -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/openapi/package.json b/packages/openapi/package.json index 3a969dc73a..558441c3e7 100644 --- a/packages/openapi/package.json +++ b/packages/openapi/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/openapi", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec library providing OpenAPI concepts", "homepage": "https://microsoft.github.io/typespec", @@ -49,18 +49,18 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0", - "@typespec/rest": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/library-linter": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/rest": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/library-linter": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "@typespec/tspd": "workspace:~0.46.0", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/openapi3/CHANGELOG.json b/packages/openapi3/CHANGELOG.json index 2d7af7fb32..a3abd0af70 100644 --- a/packages/openapi3/CHANGELOG.json +++ b/packages/openapi3/CHANGELOG.json @@ -1,6 +1,30 @@ { "name": "@typespec/openapi3", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/openapi3_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Handle `bytes` as a multipart part type correctly and produce `type: string, format: binary`" + }, + { + "comment": "Added support for string template literals" + }, + { + "comment": "Handle: union variants as discriminator" + }, + { + "comment": "Migrate code to use the emitter framework" + }, + { + "comment": "Emitter will now emit all properties on unreferenced schemas." + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/openapi3_v0.50.0", diff --git a/packages/openapi3/CHANGELOG.md b/packages/openapi3/CHANGELOG.md index a475e77aaa..c487d5e04f 100644 --- a/packages/openapi3/CHANGELOG.md +++ b/packages/openapi3/CHANGELOG.md @@ -1,6 +1,17 @@ # Change Log - @typespec/openapi3 -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Handle `bytes` as a multipart part type correctly and produce `type: string, format: binary` +- Added support for string template literals +- Handle: union variants as discriminator +- Migrate code to use the emitter framework +- Emitter will now emit all properties on unreferenced schemas. ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/openapi3/package.json b/packages/openapi3/package.json index d9e73819cd..887f19238e 100644 --- a/packages/openapi3/package.json +++ b/packages/openapi3/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/openapi3", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding", "homepage": "https://microsoft.github.io/typespec", @@ -52,22 +52,22 @@ "yaml": "~2.3.2" }, "peerDependencies": { - "@typespec/versioning": "workspace:~0.50.0", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0", - "@typespec/openapi": "workspace:~0.50.0" + "@typespec/versioning": "workspace:~0.51.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/openapi": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0", - "@typespec/rest": "workspace:~0.50.0", - "@typespec/openapi": "workspace:~0.50.0", - "@typespec/versioning": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/library-linter": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/rest": "workspace:~0.51.0", + "@typespec/openapi": "workspace:~0.51.0", + "@typespec/versioning": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/library-linter": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "@typespec/tspd": "workspace:~0.46.0", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/playground-website/package.json b/packages/playground-website/package.json index acacd22015..45459b6622 100644 --- a/packages/playground-website/package.json +++ b/packages/playground-website/package.json @@ -51,16 +51,16 @@ "!dist/test/**" ], "dependencies": { - "@typespec/playground": "workspace:~0.1.0-alpha.3", - "@typespec/versioning": "workspace:~0.50.0", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0", - "@typespec/rest": "workspace:~0.50.0", - "@typespec/openapi3": "workspace:~0.50.0", - "@typespec/json-schema": "workspace:~0.50.0", - "@typespec/openapi": "workspace:~0.50.0", - "@typespec/protobuf": "workspace:~0.50.0", - "@typespec/html-program-viewer": "workspace:~0.50.0", + "@typespec/playground": "workspace:~0.1.0-alpha.4", + "@typespec/versioning": "workspace:~0.51.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/rest": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/json-schema": "workspace:~0.51.0", + "@typespec/openapi": "workspace:~0.51.0", + "@typespec/protobuf": "workspace:~0.51.0", + "@typespec/html-program-viewer": "workspace:~0.51.0", "react-dom": "~18.2.0", "react": "~18.2.0", "es-module-shims": "~1.8.0" @@ -75,7 +75,7 @@ "@types/react": "~18.2.22", "@types/swagger-ui-react": "^4.18.0", "@types/swagger-ui": "~3.52.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "@vitejs/plugin-react": "~4.1.0", "c8": "~8.0.1", "cross-env": "~7.0.3", diff --git a/packages/playground/package.json b/packages/playground/package.json index 3522cfaf6c..dac3d325eb 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/playground", - "version": "0.1.0-alpha.3", + "version": "0.1.0-alpha.4", "author": "Microsoft Corporation", "description": "TypeSpec playground UI components.", "homepage": "https://microsoft.github.io/typespec", @@ -70,15 +70,15 @@ "dependencies": { "@fluentui/react-components": "~9.32.1", "@fluentui/react-icons": "~2.0.217", - "@typespec/bundler": "workspace:~0.1.0-alpha.3", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/html-program-viewer": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0", - "@typespec/openapi": "workspace:~0.50.0", - "@typespec/openapi3": "workspace:~0.50.0", - "@typespec/protobuf": "workspace:~0.50.0", - "@typespec/rest": "workspace:~0.50.0", - "@typespec/versioning": "workspace:~0.50.0", + "@typespec/bundler": "workspace:~0.1.0-alpha.4", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/html-program-viewer": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/openapi": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/protobuf": "workspace:~0.51.0", + "@typespec/rest": "workspace:~0.51.0", + "@typespec/versioning": "workspace:~0.51.0", "debounce": "~1.2.1", "lzutf8": "0.6.3", "monaco-editor": "~0.43.0", @@ -99,8 +99,8 @@ "@types/react": "~18.2.22", "@types/swagger-ui-react": "^4.18.0", "@types/swagger-ui": "~3.52.0", - "@typespec/bundler": "workspace:~0.1.0-alpha.3", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/bundler": "workspace:~0.1.0-alpha.4", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "@vitejs/plugin-react": "~4.1.0", "c8": "~8.0.1", "cross-env": "~7.0.3", diff --git a/packages/prettier-plugin-typespec/CHANGELOG.json b/packages/prettier-plugin-typespec/CHANGELOG.json index 180ae426af..def206c456 100644 --- a/packages/prettier-plugin-typespec/CHANGELOG.json +++ b/packages/prettier-plugin-typespec/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@typespec/prettier-plugin-typespec", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/prettier-plugin-typespec_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Upgrade formatter to prettier 3.1" + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/prettier-plugin-typespec_v0.50.0", diff --git a/packages/prettier-plugin-typespec/CHANGELOG.md b/packages/prettier-plugin-typespec/CHANGELOG.md index a928c64d2a..8b961d314f 100644 --- a/packages/prettier-plugin-typespec/CHANGELOG.md +++ b/packages/prettier-plugin-typespec/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @typespec/prettier-plugin-typespec -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Upgrade formatter to prettier 3.1 ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/prettier-plugin-typespec/package.json b/packages/prettier-plugin-typespec/package.json index 138430eab4..b6bc8030c5 100644 --- a/packages/prettier-plugin-typespec/package.json +++ b/packages/prettier-plugin-typespec/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/prettier-plugin-typespec", - "version": "0.50.0", + "version": "0.51.0", "description": "", "main": "dist/index.js", "scripts": { @@ -16,8 +16,8 @@ }, "devDependencies": { "prettier_2": "npm:prettier@2.8.7", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/internal-build-utils": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/internal-build-utils": "workspace:~0.51.0", "@rollup/plugin-commonjs": "~25.0.4", "@rollup/plugin-json": "~6.0.0", "@rollup/plugin-node-resolve": "~15.2.1", diff --git a/packages/protobuf/CHANGELOG.json b/packages/protobuf/CHANGELOG.json index bb19e49458..ccb7c8b76b 100644 --- a/packages/protobuf/CHANGELOG.json +++ b/packages/protobuf/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@typespec/protobuf", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/protobuf_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "@typespec/protobuf_v0.50.0", diff --git a/packages/protobuf/CHANGELOG.md b/packages/protobuf/CHANGELOG.md index 2040212d28..730729cdec 100644 --- a/packages/protobuf/CHANGELOG.md +++ b/packages/protobuf/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @typespec/protobuf -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/protobuf/package.json b/packages/protobuf/package.json index 887b4439f6..bedac244df 100644 --- a/packages/protobuf/package.json +++ b/packages/protobuf/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/protobuf", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec library and emitter for Protobuf (gRPC)", "homepage": "https://github.com/microsoft/typespec", @@ -32,12 +32,12 @@ "regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/libraries/protobuf/reference" }, "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "devDependencies": { - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", "@typespec/tspd": "workspace:~0.46.0", diff --git a/packages/rest/CHANGELOG.json b/packages/rest/CHANGELOG.json index aa81feb6bf..3b52745673 100644 --- a/packages/rest/CHANGELOG.json +++ b/packages/rest/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@typespec/rest", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/rest_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Fix issue with `ResourceCreateModel` template collecting \"update\" properties instead of \"create\" properties." + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/rest_v0.50.0", diff --git a/packages/rest/CHANGELOG.md b/packages/rest/CHANGELOG.md index b3b038fab1..b3cea0578f 100644 --- a/packages/rest/CHANGELOG.md +++ b/packages/rest/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @typespec/rest -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Fix issue with `ResourceCreateModel` template collecting "update" properties instead of "create" properties. ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/rest/package.json b/packages/rest/package.json index fdd04f4b7a..ec165deec0 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/rest", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec REST protocol binding", "homepage": "https://microsoft.github.io/typespec", @@ -49,17 +49,17 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/library-linter": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/library-linter": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "@typespec/tspd": "workspace:~0.46.0", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/samples/package.json b/packages/samples/package.json index bac2f1e518..0f423ae690 100644 --- a/packages/samples/package.json +++ b/packages/samples/package.json @@ -44,20 +44,20 @@ ], "dependencies": { "@typespec/best-practices": "workspace:~0.45.0", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/html-program-viewer": "workspace:~0.50.0", - "@typespec/http": "workspace:~0.50.0", - "@typespec/json-schema": "workspace:~0.50.0", - "@typespec/openapi": "workspace:~0.50.0", - "@typespec/openapi3": "workspace:~0.50.0", - "@typespec/rest": "workspace:~0.50.0", - "@typespec/versioning": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/html-program-viewer": "workspace:~0.51.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/json-schema": "workspace:~0.51.0", + "@typespec/openapi": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/rest": "workspace:~0.51.0", + "@typespec/versioning": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/internal-build-utils": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/internal-build-utils": "workspace:~0.51.0", "autorest": "~3.3.2", "cross-env": "~7.0.3", "eslint": "^8.49.0", diff --git a/packages/spec/package.json b/packages/spec/package.json index 42253e8742..65c5a11e33 100644 --- a/packages/spec/package.json +++ b/packages/spec/package.json @@ -22,6 +22,6 @@ "devDependencies": { "@types/node": "~18.11.9", "ecmarkup": "~12.0.3", - "@typespec/internal-build-utils": "workspace:~0.50.0" + "@typespec/internal-build-utils": "workspace:~0.51.0" } } diff --git a/packages/tmlanguage-generator/CHANGELOG.json b/packages/tmlanguage-generator/CHANGELOG.json index 9fbe14798d..98ca822807 100644 --- a/packages/tmlanguage-generator/CHANGELOG.json +++ b/packages/tmlanguage-generator/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "tmlanguage-generator", "entries": [ + { + "version": "0.5.1", + "tag": "tmlanguage-generator_v0.5.1", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "dependency": [ + { + "comment": "Dependency @typespec/eslint-config-typespec version bump from workspace:~0.50.0 to workspace:~0.51.0." + } + ] + } + }, { "version": "0.5.0", "tag": "tmlanguage-generator_v0.5.0", diff --git a/packages/tmlanguage-generator/CHANGELOG.md b/packages/tmlanguage-generator/CHANGELOG.md index ffe9fe5205..a5b9932a2d 100644 --- a/packages/tmlanguage-generator/CHANGELOG.md +++ b/packages/tmlanguage-generator/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - tmlanguage-generator -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.5.1 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.5.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/tmlanguage-generator/package.json b/packages/tmlanguage-generator/package.json index 817bcb887a..9d426bc23f 100644 --- a/packages/tmlanguage-generator/package.json +++ b/packages/tmlanguage-generator/package.json @@ -1,6 +1,6 @@ { "name": "tmlanguage-generator", - "version": "0.5.0", + "version": "0.5.1", "author": "Microsoft Corporation", "description": "Helper library to generate TextMate syntax highlighting tmLanguage files.", "homepage": "https://github.com/microsoft/typespec/tree/main/packages/tmlanguage-generator", @@ -39,7 +39,7 @@ "devDependencies": { "@types/node": "~18.11.9", "@types/plist": "~3.0.2", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "eslint": "^8.49.0", "rimraf": "~5.0.1", "typescript": "~5.2.2" diff --git a/packages/tspd/package.json b/packages/tspd/package.json index 149d8a1b2b..c540aa0296 100644 --- a/packages/tspd/package.json +++ b/packages/tspd/package.json @@ -53,16 +53,16 @@ "!dist/test/**" ], "dependencies": { - "@typespec/compiler": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", "yaml": "~2.3.2", "prettier": "~3.1.0", "picocolors": "~1.0.0", "yargs": "~17.7.2" }, "devDependencies": { - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/prettier-plugin-typespec": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/prettier-plugin-typespec": "workspace:~0.51.0", "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", "@types/yargs": "~17.0.24", diff --git a/packages/typespec-vs/CHANGELOG.json b/packages/typespec-vs/CHANGELOG.json index e99d0762e4..319d505f2d 100644 --- a/packages/typespec-vs/CHANGELOG.json +++ b/packages/typespec-vs/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "typespec-vs", "entries": [ + { + "version": "0.51.0", + "tag": "typespec-vs_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "typespec-vs_v0.50.0", diff --git a/packages/typespec-vs/CHANGELOG.md b/packages/typespec-vs/CHANGELOG.md index 027eb114ef..d9cfd55d17 100644 --- a/packages/typespec-vs/CHANGELOG.md +++ b/packages/typespec-vs/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - typespec-vs -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/typespec-vs/package.json b/packages/typespec-vs/package.json index d3a323d693..55a813fe86 100644 --- a/packages/typespec-vs/package.json +++ b/packages/typespec-vs/package.json @@ -1,7 +1,7 @@ { "name": "typespec-vs", "author": "Microsoft Corporation", - "version": "0.50.0", + "version": "0.51.0", "description": "TypeSpec Language Support for Visual Studio", "homepage": "https://microsoft.github.io/typespec", "readme": "https://github.com/microsoft/typespec/blob/main/README.md", @@ -27,7 +27,7 @@ "build": "node scripts/build.js" }, "devDependencies": { - "typespec-vscode": "workspace:~0.50.0", - "@typespec/internal-build-utils": "workspace:~0.50.0" + "typespec-vscode": "workspace:~0.51.0", + "@typespec/internal-build-utils": "workspace:~0.51.0" } } diff --git a/packages/typespec-vscode/CHANGELOG.json b/packages/typespec-vscode/CHANGELOG.json index 708216590e..9a13eb62fe 100644 --- a/packages/typespec-vscode/CHANGELOG.json +++ b/packages/typespec-vscode/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "typespec-vscode", "entries": [ + { + "version": "0.51.0", + "tag": "typespec-vscode_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": {} + }, { "version": "0.50.0", "tag": "typespec-vscode_v0.50.0", diff --git a/packages/typespec-vscode/CHANGELOG.md b/packages/typespec-vscode/CHANGELOG.md index b1626a9e15..3a588555cd 100644 --- a/packages/typespec-vscode/CHANGELOG.md +++ b/packages/typespec-vscode/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - typespec-vscode -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +_Version update only_ ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/typespec-vscode/package.json b/packages/typespec-vscode/package.json index 4ad6fd123e..9739bc2881 100644 --- a/packages/typespec-vscode/package.json +++ b/packages/typespec-vscode/package.json @@ -1,6 +1,6 @@ { "name": "typespec-vscode", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec Language Support for VS Code", "homepage": "https://microsoft.github.io/typespec", @@ -123,9 +123,9 @@ "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", "@types/vscode": "~1.82.0", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/internal-build-utils": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/internal-build-utils": "workspace:~0.51.0", "eslint": "^8.49.0", "c8": "~8.0.1", "mocha": "~10.2.0", diff --git a/packages/versioning/CHANGELOG.json b/packages/versioning/CHANGELOG.json index 7a093743a1..8876095f30 100644 --- a/packages/versioning/CHANGELOG.json +++ b/packages/versioning/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@typespec/versioning", "entries": [ + { + "version": "0.51.0", + "tag": "@typespec/versioning_v0.51.0", + "date": "Wed, 06 Dec 2023 05:19:10 GMT", + "comments": { + "none": [ + { + "comment": "Fix crash in versioning library." + } + ] + } + }, { "version": "0.50.0", "tag": "@typespec/versioning_v0.50.0", diff --git a/packages/versioning/CHANGELOG.md b/packages/versioning/CHANGELOG.md index 1bfd53ffe4..23678700f9 100644 --- a/packages/versioning/CHANGELOG.md +++ b/packages/versioning/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @typespec/versioning -This log was last generated on Wed, 08 Nov 2023 00:07:17 GMT and should not be manually modified. +This log was last generated on Wed, 06 Dec 2023 05:19:10 GMT and should not be manually modified. + +## 0.51.0 +Wed, 06 Dec 2023 05:19:10 GMT + +### Updates + +- Fix crash in versioning library. ## 0.50.0 Wed, 08 Nov 2023 00:07:17 GMT diff --git a/packages/versioning/package.json b/packages/versioning/package.json index 6e5917c9db..c7277f3c51 100644 --- a/packages/versioning/package.json +++ b/packages/versioning/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/versioning", - "version": "0.50.0", + "version": "0.51.0", "author": "Microsoft Corporation", "description": "TypeSpec library for declaring and emitting versioned APIs", "homepage": "https://microsoft.github.io/typespec", @@ -49,15 +49,15 @@ "!dist/test/**" ], "peerDependencies": { - "@typespec/compiler": "workspace:~0.50.0" + "@typespec/compiler": "workspace:~0.51.0" }, "devDependencies": { "@types/mocha": "~10.0.1", "@types/node": "~18.11.9", - "@typespec/compiler": "workspace:~0.50.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", - "@typespec/library-linter": "workspace:~0.50.0", - "@typespec/eslint-plugin": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", + "@typespec/library-linter": "workspace:~0.51.0", + "@typespec/eslint-plugin": "workspace:~0.51.0", "@typespec/tspd": "workspace:~0.46.0", "eslint": "^8.49.0", "mocha": "~10.2.0", diff --git a/packages/website/package.json b/packages/website/package.json index 7245c420a5..65464b204d 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -32,7 +32,7 @@ "prism-react-renderer": "^2.1.0", "react": "~18.2.0", "react-dom": "~18.2.0", - "@typespec/playground": "workspace:~0.1.0-alpha.3", + "@typespec/playground": "workspace:~0.1.0-alpha.4", "@fluentui/react-components": "~9.32.1", "es-module-shims": "~1.8.0", "@docusaurus/theme-common": "~3.0.0", @@ -40,16 +40,16 @@ }, "devDependencies": { "@swc/core": "^1.3.62", - "@typespec/compiler": "workspace:~0.50.0", + "@typespec/compiler": "workspace:~0.51.0", "@typespec/tspd": "workspace:~0.46.0", "@typespec/spec": "workspace:*", - "@typespec/http": "workspace:~0.50.0", - "@typespec/rest": "workspace:~0.50.0", - "@typespec/openapi": "workspace:~0.50.0", - "@typespec/openapi3": "workspace:~0.50.0", - "@typespec/protobuf": "workspace:~0.50.0", - "@typespec/versioning": "workspace:~0.50.0", - "@typespec/json-schema": "workspace:~0.50.0", + "@typespec/http": "workspace:~0.51.0", + "@typespec/rest": "workspace:~0.51.0", + "@typespec/openapi": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/protobuf": "workspace:~0.51.0", + "@typespec/versioning": "workspace:~0.51.0", + "@typespec/json-schema": "workspace:~0.51.0", "@docusaurus/module-type-aliases": "^3.0.0", "@docusaurus/types": "^3.0.0", "@docusaurus/tsconfig": "^3.0.0", @@ -59,7 +59,7 @@ "prism-themes": "~1.9.0", "playwright": "^1.39.0", "mermaid": "~10.4.0", - "@typespec/eslint-config-typespec": "workspace:~0.50.0", + "@typespec/eslint-config-typespec": "workspace:~0.51.0", "eslint": "^8.49.0", "file-loader": "~6.2.0", "monaco-editor-webpack-plugin": "~7.1.0", diff --git a/packages/website/playground-versions.json b/packages/website/playground-versions.json index 2248eafe88..b394e555a0 100644 --- a/packages/website/playground-versions.json +++ b/packages/website/playground-versions.json @@ -1 +1,5 @@ -["0.50.x", "0.49.x"] +[ + "0.51.x", + "0.50.x", + "0.49.x" +] \ No newline at end of file diff --git a/packages/website/versioned_docs/version-latest/extending-typespec/basics.md b/packages/website/versioned_docs/version-latest/extending-typespec/basics.md index fa4b0ad6f0..ad4ece1872 100644 --- a/packages/website/versioned_docs/version-latest/extending-typespec/basics.md +++ b/packages/website/versioned_docs/version-latest/extending-typespec/basics.md @@ -102,7 +102,7 @@ export const $lib = createTypeSpecLibrary({ } as const); // Optional but convenient, those are meant to be used locally in your library. -export const { reportDiagnostic, createDiagnostic, createStateSymbol } = myLibrary; +export const { reportDiagnostic, createDiagnostic, createStateSymbol } = $lib; ``` Diagnostics are used for linters and decorators which are covered in subsequent topics. diff --git a/packages/website/versioned_docs/version-latest/extending-typespec/create-decorators.md b/packages/website/versioned_docs/version-latest/extending-typespec/create-decorators.md index ac0727e597..a8bb3da727 100644 --- a/packages/website/versioned_docs/version-latest/extending-typespec/create-decorators.md +++ b/packages/website/versioned_docs/version-latest/extending-typespec/create-decorators.md @@ -124,6 +124,8 @@ For certain TypeSpec types(Literal types) the decorator do not receive the actua for all the other types they are not transformed. +Example: + ```ts export function $tag( context: DecoratorContext, @@ -133,6 +135,37 @@ export function $tag( ) {} ``` +#### String templates and marshalling + +If a decorator parameter type is `valueof string`, a string template passed to it will also be marshalled as a string. +The TypeSpec type system will already validate the string template can be serialized as a string. + +```tsp +extern dec doc(target: unknown, name: valueof string); + + +alias world = "world!"; +@doc("Hello ${world} ") // receive: "Hello world!" +@doc("Hello ${123} ") // receive: "Hello 123" +@doc("Hello ${true} ") // receive: "Hello true" + +model Bar {} +@doc("Hello ${Bar} ") // not called error + ^ String template cannot be serialized as a string. + +``` + +#### Typescript type Reference + +| TypeSpec Parameter Type | TypeScript types | +| ---------------------------- | -------------------------------------------- | +| `valueof string` | `string` | +| `valueof numeric` | `number` | +| `valueof boolean` | `boolean` | +| `string` | `StringLiteral \| TemplateLiteral \| Scalar` | +| `Reflection.StringLiteral` | `StringLiteral` | +| `Reflection.TemplateLiteral` | `TemplateLiteral` | + ### Adding metadata with decorators Decorators can be used to register some metadata. For this you can use the `context.program.stateMap` or `context.program.stateSet` to insert data that will be tied to the current execution. diff --git a/packages/website/versioned_docs/version-latest/extending-typespec/emitter-metadata-handling.md b/packages/website/versioned_docs/version-latest/extending-typespec/emitter-metadata-handling.md index e06e888323..c8a3ad7e27 100644 --- a/packages/website/versioned_docs/version-latest/extending-typespec/emitter-metadata-handling.md +++ b/packages/website/versioned_docs/version-latest/extending-typespec/emitter-metadata-handling.md @@ -5,7 +5,7 @@ title: Handling metadata and visibility in emitters for REST API # Handling metadata and visibility in emitters for REST API -It's important that all emitters for REST API handle [automatic visibility](../standard-library/http/operations.md#automatic-visibility) and [metadata](../standard-library/http/operations.md#metadata) consistently. Make sure to read through the TypeSpec-author documentation of these features to understand how they work. This document will cover how to incorporate them correctly into your own emitter. +It's important that all emitters for REST API handle [automatic visibility](../libraries/http/operations.md#automatic-visibility) and [metadata](../libraries/http/operations.md#metadata) consistently. Make sure to read through the TypeSpec-author documentation of these features to understand how they work. This document will cover how to incorporate them correctly into your own emitter. The standard `@typespec/rest` library provides JavaScript API for emitters to interpret API written using its decorators. We'll look at the API that are particularly relevant to these features. @@ -23,16 +23,16 @@ However, if your emitter does want to split types as OpenAPI does, then it will These are the main API involved in handling these features. See the linked API reference documentation for more details. -- [`getRequestVisibility(HttpVerb): Visibility`](../standard-library/http/reference/js-api/index.md#getrequestvisibility) - Use this to determine the visibility implied for data in the request parameters or body. Also note that [`Visibility.Read`](../standard-library/http/reference/js-api/enumerations/Visibility.md#item) is always applied for response data and therefore there is no corresponding API for the response. +- [`getRequestVisibility(HttpVerb): Visibility`](../libraries/http/reference/js-api/index.md#getrequestvisibility) - Use this to determine the visibility implied for data in the request parameters or body. Also note that [`Visibility.Read`](../libraries/http/reference/js-api/enumerations/Visibility.md#item) is always applied for response data and therefore there is no corresponding API for the response. -- [`MetadataInfo`](../standard-library/http/reference/js-api/interfaces/MetadataInfo.md) - Create this once for each program using [`createMetadataInfo(Program, MetadataInfoOptions)`](../standard-library/http/reference/js-api/index.md#createmetadatainfo) then use it to reason about metadata and visibility implications with the API below. +- [`MetadataInfo`](../libraries/http/reference/js-api/interfaces/MetadataInfo.md) - Create this once for each program using [`createMetadataInfo(Program, MetadataInfoOptions)`](../libraries/http/reference/js-api/index.md#createmetadatainfo) then use it to reason about metadata and visibility implications with the API below. -- [`MetadataInfo.getEffectivePayloadType(Type, Visibility): Type`](../standard-library/http/reference/js-api/interfaces/MetadataInfo.md#geteffectivepayloadtype) - Use this recursively on every type that is referenced. When given an anonymous model sourced entirely from a single named model after metadata is moved elsewhere or invisible properties are removed, it will recover the named model. This handles the commonly discussed case of seeing that `op something(...Thing)` receives a `Thing` in its request body, but also many other cases.. +- [`MetadataInfo.getEffectivePayloadType(Type, Visibility): Type`](../libraries/http/reference/js-api/interfaces/MetadataInfo.md#geteffectivepayloadtype) - Use this recursively on every type that is referenced. When given an anonymous model sourced entirely from a single named model after metadata is moved elsewhere or invisible properties are removed, it will recover the named model. This handles the commonly discussed case of seeing that `op something(...Thing)` receives a `Thing` in its request body, but also many other cases.. -- [`MetadataInfo.isTransformed(Model, Visibility)`](../standard-library/http/reference/js-api/interfaces/MetadataInfo.md#istransformed) - Use this to check if a type undergoes any changes in shape due to visibility or metadata. If not, this can allow for simplifications in emit. +- [`MetadataInfo.isTransformed(Model, Visibility)`](../libraries/http/reference/js-api/interfaces/MetadataInfo.md#istransformed) - Use this to check if a type undergoes any changes in shape due to visibility or metadata. If not, this can allow for simplifications in emit. -- [`MetadataInfo.isPayloadProperty(ModelProperty, Visibility): boolean`](../standard-library/http/reference/js-api/interfaces/MetadataInfo.md#ispayloadproperty) - Use this to check if a property is transmitted as an object property in the payload and is not invisible or metadata sent elsewhere. +- [`MetadataInfo.isPayloadProperty(ModelProperty, Visibility): boolean`](../libraries/http/reference/js-api/interfaces/MetadataInfo.md#ispayloadproperty) - Use this to check if a property is transmitted as an object property in the payload and is not invisible or metadata sent elsewhere. -- [`MetadataInfo.isOptional(ModelProperty, Visibility): boolean`](../standard-library/http/reference/js-api/interfaces/MetadataInfo.md#isoptional) - Use this to determine if a property is optional for the given visibility. This will differ from `ModelProperty.isOptional` when the Visibility is Update in which case the property is always considered optional. +- [`MetadataInfo.isOptional(ModelProperty, Visibility): boolean`](../libraries/http/reference/js-api/interfaces/MetadataInfo.md#isoptional) - Use this to determine if a property is optional for the given visibility. This will differ from `ModelProperty.isOptional` when the Visibility is Update in which case the property is always considered optional. -- [`Visibility.Item`](../standard-library/http/reference/js-api/enumerations/Visibility.md#item) - Add this flag when recursing into an array. This moves all metadata into the payload, which can be useful in scenarios like batching API calls. +- [`Visibility.Item`](../libraries/http/reference/js-api/enumerations/Visibility.md#item) - Add this flag when recursing into an array. This moves all metadata into the payload, which can be useful in scenarios like batching API calls. diff --git a/packages/website/versioned_docs/version-latest/extending-typespec/emitters-basics.md b/packages/website/versioned_docs/version-latest/extending-typespec/emitters-basics.md index 68c629270d..8056229d5e 100644 --- a/packages/website/versioned_docs/version-latest/extending-typespec/emitters-basics.md +++ b/packages/website/versioned_docs/version-latest/extending-typespec/emitters-basics.md @@ -9,7 +9,7 @@ TypeSpec emitters are libraries that use various TypeSpec compiler APIs to refle ## Getting started -TypeSpec emitters are a special kind of TypeSpec library and so have the same getting started instructions. Follow [these steps](#todo) to initialize a typespec library. +TypeSpec emitters are a special kind of TypeSpec library and so have the same getting started instructions. Follow [these steps](./basics.md) to initialize a typespec library. ## $onEmit @@ -72,6 +72,24 @@ export async function $onEmit(context: EmitContext) { } ``` +### Emitter options known format: + +### `absolute-path` + +Specify that the value for this option should resolve to an absolute path. e.g. `"{project-root}/dir"`. + +:::important +It is recommended that all options that involve path use this. Using relative path can be confusing for users on as it is not clear what the relative path is relative to. And more importantly relative path if not careful are resolved relative to the `cwd` in node file system which result in spec only compiling from the the project root. +::: + +Example: + +```js +{ + "asset-dir": { type: "string", format: "absolute-path", nullable: true }, +} +``` + ### Configuration options convention - Name options `kebab-case`. So it can be inline with the rest of the cli diff --git a/packages/website/versioned_docs/version-latest/getting-started/getting-started-http.md b/packages/website/versioned_docs/version-latest/getting-started/getting-started-http.md index 49bbd1641e..c0cd5da05a 100644 --- a/packages/website/versioned_docs/version-latest/getting-started/getting-started-http.md +++ b/packages/website/versioned_docs/version-latest/getting-started/getting-started-http.md @@ -9,9 +9,9 @@ TypeSpec also has an official OpenAPI emitter called `@typespec/openapi3` that c References: -- [Http library](../standard-library/http/reference) -- [Rest library](../standard-library/rest/reference) -- [OpenAPI 3 emitter](../standard-library/openapi3/reference) +- [Http library](../libraries/http/reference) +- [Rest library](../libraries/rest/reference) +- [OpenAPI 3 emitter](../libraries/openapi3/reference) ## Setup diff --git a/packages/website/versioned_docs/version-latest/getting-started/typespec-for-openapi-dev.md b/packages/website/versioned_docs/version-latest/getting-started/typespec-for-openapi-dev.md index 29f8e43858..6d58dcbf16 100644 --- a/packages/website/versioned_docs/version-latest/getting-started/typespec-for-openapi-dev.md +++ b/packages/website/versioned_docs/version-latest/getting-started/typespec-for-openapi-dev.md @@ -783,7 +783,7 @@ In TypeSpec this information is specified with [decorators on the namespace][typ | `license` | `@info` | | | `contact` | `@info` | | -[typespec-service-metadata]: https://microsoft.github.io/typespec/docs/standard-library/http/#service-definition-and-metadata +[typespec-service-metadata]: https://microsoft.github.io/typespec/docs/libraries/http/#service-definition-and-metadata ```typespec @doc("The Contoso Widget Service provides access to the Contoso Widget API.") diff --git a/packages/website/versioned_docs/version-latest/introduction/installation.md b/packages/website/versioned_docs/version-latest/introduction/installation.md index 603a93f95a..c0055d39d4 100644 --- a/packages/website/versioned_docs/version-latest/introduction/installation.md +++ b/packages/website/versioned_docs/version-latest/introduction/installation.md @@ -7,7 +7,7 @@ title: Installation ## Requirements -Install [Node.js 16 LTS](https://nodejs.org/en/download/) and ensure you are able to run the `npm` command in a command prompt: +Install [Node.js 20 LTS](https://nodejs.org/en/download/) and ensure you are able to run the `npm` command in a command prompt: ```bash npm --version diff --git a/packages/website/versioned_docs/version-latest/introduction/reproducibility.md b/packages/website/versioned_docs/version-latest/introduction/reproducibility.md index 6b894d3ff3..fbefa32781 100644 --- a/packages/website/versioned_docs/version-latest/introduction/reproducibility.md +++ b/packages/website/versioned_docs/version-latest/introduction/reproducibility.md @@ -22,7 +22,7 @@ The command `npm ci` can also be used in the CI to ensure that the `package.json TypeSpec provides a library `@typespec/versioning` that can be used to describe changes to a service or library over time. Using this will ensure that a service can evolve while keeping track of the changes and allowing emitters to see the service representation at different versions. -[See versioning docs](../standard-library/versioning/reference/index.mdx) +[See versioning docs](../libraries/versioning/reference/index.mdx) ## 3. Change to the TypeSpec spec @@ -32,5 +32,5 @@ Using version control and pinning to a specific commit SHA will ensure that the ## Summary 1. Use `package-lock.json` -2. Use [versioning library](../standard-library/versioning/reference/index.mdx) +2. Use [versioning library](../libraries/versioning/reference/index.mdx) 3. Keep track of commit IDs diff --git a/packages/website/versioned_docs/version-latest/language-basics/documentation.md b/packages/website/versioned_docs/version-latest/language-basics/documentation.md index d8ce3e7806..ee5fec89f7 100644 --- a/packages/website/versioned_docs/version-latest/language-basics/documentation.md +++ b/packages/website/versioned_docs/version-latest/language-basics/documentation.md @@ -5,10 +5,17 @@ title: Documentation # Documentation -Documentation is crucial to any API. TypeSpec provides a number of ways to document your API using TSDoc doc comments and decorators. +Documentation is crucial to any API. TypeSpec provides a number of ways to document your API using doc comments and decorators. # Documenting APIs +There are 2 ways to document your API using TypeSpec: + +- `@doc` decorator +- `/** */` Doc comments + +The later has the advantage of being less intrusive to the spec. + ## `@doc` Decorator The `@doc` decorator can be used to attach documentation to most TypeSpec declarations. It most-commonly accepts a string argument that will be used as the documentation for the declaration. @@ -32,31 +39,43 @@ model Template { model A is Template ``` -## TSDoc Doc Comments +## Doc Comments -TSDoc doc comments are a standard way to document TypeScript code. They are supported by many IDEs and can be used to generate external documentation using tools like [TypeDoc](https://typedoc.org/). +You can annotate objects in your TypeSpec spec with doc comments. These comments will be considered the same as if they were attached using the `@doc` decorator and can be used to generate external documentation. -You can annotate objects in your TypeSpec spec with TSDoc doc comments. These comments will be considered the same as if they were attached using the `@doc` decorator and can be used to generate external documentation. +Doc comments starts with `/**` and continue until the closing `*/` is encountered. [Tags](#doc-comment-tags) can be used to provide additional documentation context. ```typespec /** * Get a widget. * @param widgetId The ID of the widget to retrieve. - * / -op @get create(@path widgetId: string): Widget | Error; + */ +op read(@path widgetId: string): Widget | Error; ``` This is functionally equivalent to: ```typespec @doc("Get a widget.") -op @get create( +op read( @doc("The ID of the widget to retrieve.") @path - widgetId: string): Widget | Error; + widgetId: string, +): Widget | Error; ``` -The benefit to using TSDoc doc comment syntax is that it keeps all of the documentation for a declaration in one place, making it easier to read and maintain. Additionally, it allows the generation of documentation using tools like TypeDoc without having to write a custom emitter to examine the `@doc` metadata. +The benefit to using doc comment syntax is that it keeps all of the documentation for a declaration in one place, making it easier to read and maintain. Additionally, it allows the generation of documentation using tools like TypeDoc without having to write a custom emitter to examine the `@doc` metadata. + +### Doc comment tags + +As shown in the previous example doc comments can use certain tags to document additional elements or provide different documentation context. + +| Tag | Description | Example | +| ----------------------- | --------------------------------- | --------------------------------------------------- | +| `@param` | Documents a parameter. | `@param widgetId The ID of the widget to retrieve.` | +| `@returns` | Documents the operation response. | `@returns The widget.` | +| `@template` | Document a template parameter | `@template T the resource type` | +| `@example` (unofficial) | Show examples | `@example \`model Foo {}\` ` | # Comments diff --git a/packages/website/versioned_docs/version-latest/language-basics/type-literals.md b/packages/website/versioned_docs/version-latest/language-basics/type-literals.md index cf6ee9af22..0a5706ccd3 100644 --- a/packages/website/versioned_docs/version-latest/language-basics/type-literals.md +++ b/packages/website/versioned_docs/version-latest/language-basics/type-literals.md @@ -62,6 +62,22 @@ two } ``` +## String template literal + +Single or multi line string literal can be interpolated using `${}` + +```typespec +alias hello = "bonjour"; +alias Single = "${hello} world!"; + +alias Multi = """ + ${hello} + world! + """; +``` + +Any valid expression can be used in the interpolation but only other literals will result in the template literal being assignable to a `valueof string`. Any other value will be dependent on the decorator/emitter receiving it to handle. + ## Numeric literal Numeric literals can be declared by using the raw number diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/authentication.md b/packages/website/versioned_docs/version-latest/libraries/http/authentication.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/authentication.md rename to packages/website/versioned_docs/version-latest/libraries/http/authentication.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/cheat-sheet.md b/packages/website/versioned_docs/version-latest/libraries/http/cheat-sheet.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/cheat-sheet.md rename to packages/website/versioned_docs/version-latest/libraries/http/cheat-sheet.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/content-types.md b/packages/website/versioned_docs/version-latest/libraries/http/content-types.md similarity index 97% rename from packages/website/versioned_docs/version-latest/standard-library/http/content-types.md rename to packages/website/versioned_docs/version-latest/libraries/http/content-types.md index f2420d1fd4..0a4dd9cce8 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/http/content-types.md +++ b/packages/website/versioned_docs/version-latest/libraries/http/content-types.md @@ -97,3 +97,7 @@ op getAvatarAsPng(@header accept: "image/png"): PngImage; @overload(getAvatar) op getAvatarAsJpeg(@header accept: "image/jpeg"): JpegImage; ``` + +## Multipart request + +See [Multipart docs](./multipart.md) diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/encoding.md b/packages/website/versioned_docs/version-latest/libraries/http/encoding.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/encoding.md rename to packages/website/versioned_docs/version-latest/libraries/http/encoding.md diff --git a/packages/website/versioned_docs/version-latest/libraries/http/multipart.md b/packages/website/versioned_docs/version-latest/libraries/http/multipart.md new file mode 100644 index 0000000000..9d8445dfe4 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/libraries/http/multipart.md @@ -0,0 +1,67 @@ +--- +title: Multipart requests +--- + +Multipart requests combine one or more sets of data into a single body, separated by boundaries. This is commonly used to upload files. + +To define a multipart request in HTTP you must set the contentType header to `"multipart/form-data"` as described in the [content types doc](./content-types.md#specify-content-type) + +```tsp +op create(@header contentType: "multipart/form-data", username: string, avatar: bytes): void; +``` + +Each property of the body represents a part of the multipart request. The name of the property is used as the name of the part. Properties in models are ordered and the order is used to determine the order of the parts in the request. + +The previous example would correspond to the following HTTP request: + +```http +POST / HTTP/1.1 +Content-Length: 428 +Content-Type: multipart/form-data; boundary=abcde12345 +--abcde12345 +Content-Disposition: form-data; name="username" +Content-Type: text/plain +typespector +--abcde12345 +Content-Disposition: form-data; name="avatar"; filename="image1.png" +Content-Type: application/octet-stream +{…file content…} +--abcde12345-- +``` + +## Default handling + +By default, the `Content-Type` of individual request parts is set automatically according to the type of the schema properties that describe the request parts: + +| Schema Property Type | Content-Type | Example | +| ---------------------------------------- | -------------------------- | ----------------------------- | +| Primitive | `text/plain` | `string`, `number`, `boolean` | +| Complex value or array of complex values | `application/json` | `Address`, `Address[]` | +| `bytes` | `application/octet-stream` | `bytes` | + +## Examples + +```tsp +// Upload a single file +op create(@header contentType: "multipart/form-data", avatar: bytes): void; + +// Upload multiple files +op create(@header contentType: "multipart/form-data", avatar: bytes, banner: bytes): void; + +// Upload many files +op create(@header contentType: "multipart/form-data", images: bytes[]): void; + +// Upload 2 form fields +op create(@header contentType: "multipart/form-data", firstName: string, lastName: string): void; + +// Upload a json field +model Address { + street: string; + city: string; +} +op create(@header contentType: "multipart/form-data", address: Address): void; +``` + +## Custom Content-Type, boundary, etc. + +This is currently not possible, see [Issue 2419](https://github.com/microsoft/typespec/issues/2419) for status. diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/operations.md b/packages/website/versioned_docs/version-latest/libraries/http/operations.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/operations.md rename to packages/website/versioned_docs/version-latest/libraries/http/operations.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/data-types.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/data-types.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/data-types.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/data-types.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/decorators.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/decorators.md similarity index 98% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/decorators.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/decorators.md index 71892dba54..423bb59fb5 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/http/reference/decorators.md +++ b/packages/website/versioned_docs/version-latest/libraries/http/reference/decorators.md @@ -402,7 +402,7 @@ op create(): {@statusCode: 201 | 202} ### `@useAuth` {#@TypeSpec.Http.useAuth} -Specify this service authentication. See the [documentation in the Http library](https://microsoft.github.io/typespec/standard-library/http/authentication) for full details. +Specify this service authentication. See the [documentation in the Http library](https://microsoft.github.io/typespec/libraries/http/authentication) for full details. ```typespec @TypeSpec.Http.useAuth(auth: {} | Union | {}[]) diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/index.mdx b/packages/website/versioned_docs/version-latest/libraries/http/reference/index.mdx similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/index.mdx rename to packages/website/versioned_docs/version-latest/libraries/http/reference/index.mdx diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/_category_.json b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/_category_.json similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/_category_.json rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/_category_.json diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/enumerations/Visibility.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/enumerations/Visibility.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/enumerations/Visibility.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/enumerations/Visibility.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$body.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$body.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$body.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$body.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$delete.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$delete.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$delete.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$delete.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$get.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$get.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$get.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$get.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$head.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$head.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$head.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$head.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$header.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$header.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$header.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$header.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$includeInapplicableMetadataInPayload.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$includeInapplicableMetadataInPayload.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$includeInapplicableMetadataInPayload.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$includeInapplicableMetadataInPayload.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$onValidate.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$onValidate.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$onValidate.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$onValidate.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$patch.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$patch.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$patch.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$patch.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$path.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$path.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$path.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$path.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$plainData.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$plainData.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$plainData.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$plainData.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$post.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$post.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$post.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$post.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$put.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$put.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$put.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$put.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$query.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$query.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$query.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$query.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$route.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$route.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$route.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$route.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$server.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$server.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$server.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$server.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$sharedRoute.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$sharedRoute.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$sharedRoute.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$sharedRoute.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$statusCode.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$statusCode.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$statusCode.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$statusCode.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$useAuth.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$useAuth.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/$useAuth.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/$useAuth.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/DefaultRouteProducer.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/DefaultRouteProducer.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/DefaultRouteProducer.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/DefaultRouteProducer.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/createMetadataInfo.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/createMetadataInfo.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/createMetadataInfo.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/createMetadataInfo.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/gatherMetadata.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/gatherMetadata.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/gatherMetadata.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/gatherMetadata.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getAllHttpServices.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getAllHttpServices.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getAllHttpServices.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getAllHttpServices.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getAllRoutes.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getAllRoutes.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getAllRoutes.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getAllRoutes.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getAuthentication.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getAuthentication.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getAuthentication.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getAuthentication.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getContentTypes.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getContentTypes.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getContentTypes.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getContentTypes.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHeaderFieldName.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHeaderFieldName.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHeaderFieldName.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHeaderFieldName.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHeaderFieldOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHeaderFieldOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHeaderFieldOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHeaderFieldOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHttpOperation.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHttpOperation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHttpOperation.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHttpOperation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHttpService.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHttpService.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getHttpService.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getHttpService.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getOperationParameters.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getOperationParameters.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getOperationParameters.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getOperationParameters.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getOperationVerb.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getOperationVerb.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getOperationVerb.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getOperationVerb.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getPathParamName.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getPathParamName.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getPathParamName.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getPathParamName.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getPathParamOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getPathParamOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getPathParamOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getPathParamOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getQueryParamName.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getQueryParamName.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getQueryParamName.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getQueryParamName.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getQueryParamOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getQueryParamOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getQueryParamOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getQueryParamOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRequestVisibility.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRequestVisibility.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRequestVisibility.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRequestVisibility.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getResponsesForOperation.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getResponsesForOperation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getResponsesForOperation.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getResponsesForOperation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRouteOptionsForNamespace.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRouteOptionsForNamespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRouteOptionsForNamespace.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRouteOptionsForNamespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRoutePath.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRoutePath.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRoutePath.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRoutePath.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRouteProducer.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRouteProducer.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getRouteProducer.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getRouteProducer.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getServers.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getServers.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getServers.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getServers.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getStatusCodeDescription.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getStatusCodeDescription.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getStatusCodeDescription.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getStatusCodeDescription.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getStatusCodes.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getStatusCodes.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getStatusCodes.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getStatusCodes.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getStatusCodesWithDiagnostics.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getStatusCodesWithDiagnostics.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getStatusCodesWithDiagnostics.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getStatusCodesWithDiagnostics.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getVisibilitySuffix.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getVisibilitySuffix.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/getVisibilitySuffix.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/getVisibilitySuffix.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/includeInapplicableMetadataInPayload.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/includeInapplicableMetadataInPayload.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/includeInapplicableMetadataInPayload.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/includeInapplicableMetadataInPayload.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/includeInterfaceRoutesInNamespace.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/includeInterfaceRoutesInNamespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/includeInterfaceRoutesInNamespace.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/includeInterfaceRoutesInNamespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isApplicableMetadata.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isApplicableMetadata.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isApplicableMetadata.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isApplicableMetadata.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isApplicableMetadataOrBody.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isApplicableMetadataOrBody.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isApplicableMetadataOrBody.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isApplicableMetadataOrBody.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isBody.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isBody.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isBody.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isBody.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isContentTypeHeader.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isContentTypeHeader.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isContentTypeHeader.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isContentTypeHeader.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isHeader.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isHeader.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isHeader.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isHeader.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isMetadata.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isMetadata.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isMetadata.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isMetadata.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isOverloadSameEndpoint.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isOverloadSameEndpoint.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isOverloadSameEndpoint.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isOverloadSameEndpoint.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isPathParam.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isPathParam.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isPathParam.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isPathParam.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isQueryParam.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isQueryParam.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isQueryParam.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isQueryParam.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isSharedRoute.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isSharedRoute.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isSharedRoute.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isSharedRoute.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isStatusCode.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isStatusCode.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isStatusCode.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isStatusCode.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isVisible.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isVisible.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/isVisible.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/isVisible.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/listHttpOperationsIn.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/listHttpOperationsIn.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/listHttpOperationsIn.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/listHttpOperationsIn.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/reportIfNoRoutes.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/reportIfNoRoutes.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/reportIfNoRoutes.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/reportIfNoRoutes.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/resolvePathAndParameters.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/resolvePathAndParameters.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/resolvePathAndParameters.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/resolvePathAndParameters.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/resolveRequestVisibility.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/resolveRequestVisibility.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/resolveRequestVisibility.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/resolveRequestVisibility.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setAuthentication.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setAuthentication.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setAuthentication.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setAuthentication.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setRoute.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setRoute.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setRoute.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setRoute.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setRouteOptionsForNamespace.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setRouteOptionsForNamespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setRouteOptionsForNamespace.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setRouteOptionsForNamespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setRouteProducer.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setRouteProducer.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setRouteProducer.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setRouteProducer.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setSharedRoute.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setSharedRoute.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setSharedRoute.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setSharedRoute.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setStatusCode.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setStatusCode.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/setStatusCode.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/setStatusCode.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/validateRouteUnique.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/validateRouteUnique.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/functions/validateRouteUnique.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/functions/validateRouteUnique.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/index.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ApiKeyAuth.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ApiKeyAuth.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ApiKeyAuth.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ApiKeyAuth.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/AuthenticationOption.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/AuthenticationOption.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/AuthenticationOption.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/AuthenticationOption.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/AuthorizationCodeFlow.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/AuthorizationCodeFlow.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/AuthorizationCodeFlow.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/AuthorizationCodeFlow.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/BasicAuth.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/BasicAuth.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/BasicAuth.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/BasicAuth.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/BearerAuth.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/BearerAuth.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/BearerAuth.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/BearerAuth.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ClientCredentialsFlow.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ClientCredentialsFlow.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ClientCredentialsFlow.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ClientCredentialsFlow.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HeaderFieldOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HeaderFieldOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HeaderFieldOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HeaderFieldOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpAuthBase.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpAuthBase.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpAuthBase.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpAuthBase.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperation.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperation.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationBody.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationBody.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationBody.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationBody.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationParameters.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationParameters.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationParameters.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationParameters.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationRequestBody.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationRequestBody.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationRequestBody.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationRequestBody.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationResponse.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationResponse.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationResponse.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationResponse.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationResponseContent.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationResponseContent.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpOperationResponseContent.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpOperationResponseContent.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpServer.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpServer.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpServer.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpServer.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpService.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpService.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpService.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpService.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpStatusCodeRange.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpStatusCodeRange.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/HttpStatusCodeRange.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/HttpStatusCodeRange.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ImplicitFlow.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ImplicitFlow.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ImplicitFlow.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ImplicitFlow.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/MetadataInfo.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/MetadataInfo.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/MetadataInfo.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/MetadataInfo.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/MetadataInfoOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/MetadataInfoOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/MetadataInfoOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/MetadataInfoOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/OAuth2Scope.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/OAuth2Scope.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/OAuth2Scope.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/OAuth2Scope.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/Oauth2Auth.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/Oauth2Auth.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/Oauth2Auth.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/Oauth2Auth.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/OperationParameterOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/OperationParameterOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/OperationParameterOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/OperationParameterOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/PasswordFlow.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/PasswordFlow.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/PasswordFlow.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/PasswordFlow.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/PathParameterOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/PathParameterOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/PathParameterOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/PathParameterOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/QueryParameterOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/QueryParameterOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/QueryParameterOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/QueryParameterOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RouteOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RouteOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RouteOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RouteOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RoutePath.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RoutePath.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RoutePath.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RoutePath.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RouteProducerResult.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RouteProducerResult.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RouteProducerResult.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RouteProducerResult.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RouteResolutionOptions.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RouteResolutionOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/RouteResolutionOptions.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/RouteResolutionOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ServiceAuthentication.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ServiceAuthentication.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/interfaces/ServiceAuthentication.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/interfaces/ServiceAuthentication.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpAuth.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpAuth.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpAuth.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpAuth.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpOperationParameter.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpOperationParameter.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpOperationParameter.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpOperationParameter.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpStatusCodes.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpStatusCodes.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpStatusCodes.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpStatusCodes.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpStatusCodesEntry.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpStatusCodesEntry.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpStatusCodesEntry.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpStatusCodesEntry.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpVerb.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpVerb.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/HttpVerb.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/HttpVerb.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OAuth2Flow.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OAuth2Flow.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OAuth2Flow.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OAuth2Flow.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OAuth2FlowType.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OAuth2FlowType.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OAuth2FlowType.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OAuth2FlowType.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OperationContainer.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OperationContainer.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OperationContainer.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OperationContainer.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OperationDetails.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OperationDetails.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OperationDetails.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OperationDetails.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OperationVerbSelector.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OperationVerbSelector.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/OperationVerbSelector.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/OperationVerbSelector.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/RouteProducer.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/RouteProducer.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/RouteProducer.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/RouteProducer.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/StatusCode.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/StatusCode.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/type-aliases/StatusCode.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/type-aliases/StatusCode.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/variables/$lib.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/variables/$lib.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/variables/$lib.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/variables/$lib.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/http/reference/js-api/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/http/reference/js-api/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/libraries/http/reference/linter.md b/packages/website/versioned_docs/version-latest/libraries/http/reference/linter.md new file mode 100644 index 0000000000..f1b085be2b --- /dev/null +++ b/packages/website/versioned_docs/version-latest/libraries/http/reference/linter.md @@ -0,0 +1,29 @@ +--- +title: "Linter usage" +toc_min_heading_level: 2 +toc_max_heading_level: 3 +--- + +# Linter + +## Usage + +Add the following in `tspconfig.yaml`: + +```yaml +linter: + extends: + - "@typespec/http/all" +``` + +## RuleSets + +Available ruleSets: + +- [`@typespec/http/all`](#@typespec/http/all) + +## Rules + +| Name | Description | +| ------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- | +| [`@typespec/http/op-reference-container-route`](/libraries/http/rules/op-reference-container-route.md) | Check for referenced (`op is`) operations which have a @route on one of their containers. | diff --git a/packages/website/versioned_docs/version-latest/libraries/http/rules/op-reference-container-route.md b/packages/website/versioned_docs/version-latest/libraries/http/rules/op-reference-container-route.md new file mode 100644 index 0000000000..1574664af4 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/libraries/http/rules/op-reference-container-route.md @@ -0,0 +1,48 @@ +--- +title: "op-reference-container-route" +--- + +```text title="Id" +@typespec/http/op-reference-container-route +``` + +Check for referenced (`op is`) operations which have a `@route` on one of their containers. + +When referencing an operation with `op is` only the data on the operation itself is carried over anything on parent container is lost. +This result in unexpected behavior where information is lost. +As a best practice the route should be provided on the operation itself. + +#### ❌ Incorrect + +```tsp +namespace Library { + @route("/pets") + interface Pets { + @route("/read") read(): string; + } +} + +@service +namespace Service { + interface PetStore { + readPet is Library.Pets.read; + } +} +``` + +#### ✅ Correct + +```tsp +namespace Library { + interface Pets { + @route("/pets/read") read(): string; + } +} + +@service +namespace Service { + interface PetStore { + readPet is Library.Pets.read; + } +} +``` diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/data-types.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/data-types.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/data-types.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/data-types.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/decorators.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/decorators.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/decorators.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/decorators.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/emitter.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/emitter.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/emitter.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/emitter.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/index.mdx b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/index.mdx similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/index.mdx rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/index.mdx diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/_category_.json b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/_category_.json similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/_category_.json rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/_category_.json diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/classes/JsonSchemaEmitter.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/classes/JsonSchemaEmitter.md similarity index 93% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/classes/JsonSchemaEmitter.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/classes/JsonSchemaEmitter.md index 0b43be4178..f965734fec 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/classes/JsonSchemaEmitter.md +++ b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/classes/JsonSchemaEmitter.md @@ -36,8 +36,8 @@ TypeEmitter, JSONSchemaEmitterOptions\>.constructor | Modifier | Property | Type | Description | Inheritance | | :------ | :------ | :------ | :------ | :------ | +| `private` | `#idDuplicateTracker` | `DuplicateTracker`<`string`, `DiagnosticTarget`\> | - | - | | `private` | `#refToDecl` | `Map`<`string`, `Declaration`<`Record`<`string`, `unknown`\>\>\> | - | - | -| `private` | `#seenIds` | `Set`<`unknown`\> | - | - | | `private` | `#typeForSourceFile` | `Map`<`SourceFile`<`any`\>, [`JsonSchemaDeclaration`](../type-aliases/JsonSchemaDeclaration.md)\> | - | - | | `public` | `emitter` | `AssetEmitter`<`Record`<`string`, `any`\>, [`JSONSchemaEmitterOptions`](../interfaces/JSONSchemaEmitterOptions.md)\> | - | TypeEmitter.emitter | @@ -62,24 +62,6 @@ private #applyConstraints(type, schema): void *** -### #checkForDuplicateId() - -```ts -private #checkForDuplicateId(id): string -``` - -#### Parameters - -| Parameter | Type | -| :------ | :------ | -| `id` | `string` | - -#### Returns - -`string` - -*** - ### #createDeclaration() ```ts @@ -146,6 +128,61 @@ private #getDeclId(type, name): string *** +### #getDefaultValue() + +```ts +private #getDefaultValue(type, defaultType): any +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `type` | `Type` | +| `defaultType` | `Type` | + +#### Returns + +`any` + +*** + +### #getSchemaForScalar() + +```ts +private #getSchemaForScalar(scalar): object +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `scalar` | `Scalar` | + +#### Returns + +`object` + +*** + +### #getSchemaForStdScalars() + +```ts +private #getSchemaForStdScalars(baseBuiltIn): object | object | object | object +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `baseBuiltIn` | `Scalar` | + +#### Returns + +`object` \| `object` \| `object` \| `object` + +*** + ### #isStdType() ```ts @@ -187,6 +224,18 @@ private #newFileScope(type): object *** +### #reportDuplicateIds() + +```ts +private #reportDuplicateIds(): void +``` + +#### Returns + +`void` + +*** + ### #requiredModelProperties() ```ts @@ -205,21 +254,22 @@ private #requiredModelProperties(model): undefined | string[] *** -### #scalarBuiltinBaseType() +### #trackId() ```ts -private #scalarBuiltinBaseType(scalar): null | Scalar +private #trackId(id, target): string ``` #### Parameters | Parameter | Type | | :------ | :------ | -| `scalar` | `Scalar` | +| `id` | `string` | +| `target` | `DiagnosticTarget` | #### Returns -`null` \| `Scalar` +`string` *** @@ -511,6 +561,29 @@ TypeEmitter.enumDeclarationContext *** +### enumDeclarationReferenceContext() + +```ts +enumDeclarationReferenceContext(en, name): Context +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `en` | `Enum` | +| `name` | `string` | + +#### Returns + +`Context` + +#### Inherited from + +TypeEmitter.enumDeclarationReferenceContext + +*** + ### enumMember() ```ts @@ -1662,6 +1735,29 @@ TypeEmitter.scalarDeclarationContext *** +### scalarDeclarationReferenceContext() + +```ts +scalarDeclarationReferenceContext(scalar, name): Context +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `scalar` | `Scalar` | +| `name` | `string` | + +#### Returns + +`Context` + +#### Inherited from + +TypeEmitter.scalarDeclarationReferenceContext + +*** + ### scalarInstantiation() ```ts @@ -1679,7 +1775,7 @@ scalarInstantiation(scalar, name): EmitterOutput> `EmitterOutput`<`Record`<`string`, `any`\>\> -#### Inherited from +#### Overrides TypeEmitter.scalarInstantiation @@ -1702,7 +1798,7 @@ scalarInstantiationContext(scalar, name): Context `Context` -#### Inherited from +#### Overrides TypeEmitter.scalarInstantiationContext @@ -1774,6 +1870,50 @@ TypeEmitter.stringLiteralContext *** +### stringTemplate() + +```ts +stringTemplate(string): EmitterOutput +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `string` | `StringTemplate` | + +#### Returns + +`EmitterOutput`<`object`\> + +#### Overrides + +TypeEmitter.stringTemplate + +*** + +### stringTemplateContext() + +```ts +stringTemplateContext(string): Context +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `string` | `StringTemplate` | + +#### Returns + +`Context` + +#### Inherited from + +TypeEmitter.stringTemplateContext + +*** + ### tupleLiteral() ```ts diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$baseUri.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$baseUri.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$baseUri.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$baseUri.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contains.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contains.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contains.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contains.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contentEncoding.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contentEncoding.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contentEncoding.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contentEncoding.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contentMediaType.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contentMediaType.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contentMediaType.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contentMediaType.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contentSchema.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contentSchema.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$contentSchema.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$contentSchema.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$extension.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$extension.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$extension.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$extension.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$id.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$id.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$id.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$id.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$jsonSchema.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$jsonSchema.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$jsonSchema.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$jsonSchema.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$maxContains.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$maxContains.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$maxContains.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$maxContains.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$maxProperties.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$maxProperties.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$maxProperties.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$maxProperties.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$minContains.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$minContains.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$minContains.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$minContains.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$minProperties.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$minProperties.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$minProperties.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$minProperties.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$multipleOf.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$multipleOf.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$multipleOf.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$multipleOf.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$onEmit.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$onEmit.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$onEmit.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$onEmit.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$prefixItems.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$prefixItems.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$prefixItems.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$prefixItems.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$uniqueItems.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$uniqueItems.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$uniqueItems.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$uniqueItems.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$validatesRawJson.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$validatesRawJson.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/$validatesRawJson.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/$validatesRawJson.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/findBaseUri.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/findBaseUri.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/findBaseUri.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/findBaseUri.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getBaseUri.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getBaseUri.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getBaseUri.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getBaseUri.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContains.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContains.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContains.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContains.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContentEncoding.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContentEncoding.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContentEncoding.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContentEncoding.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContentMediaType.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContentMediaType.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContentMediaType.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContentMediaType.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContentSchema.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContentSchema.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getContentSchema.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getContentSchema.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getExtensions.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getExtensions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getExtensions.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getExtensions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getId.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getId.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getId.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getId.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getJsonSchema.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getJsonSchema.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getJsonSchema.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getJsonSchema.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getJsonSchemaTypes.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getJsonSchemaTypes.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getJsonSchemaTypes.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getJsonSchemaTypes.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMaxContains.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMaxContains.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMaxContains.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMaxContains.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMaxProperties.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMaxProperties.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMaxProperties.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMaxProperties.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMinContains.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMinContains.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMinContains.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMinContains.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMinProperties.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMinProperties.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMinProperties.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMinProperties.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMultipleOf.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMultipleOf.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getMultipleOf.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getMultipleOf.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getPrefixItems.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getPrefixItems.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getPrefixItems.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getPrefixItems.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getUniqueItems.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getUniqueItems.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/getUniqueItems.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/getUniqueItems.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/isJsonSchemaDeclaration.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/isJsonSchemaDeclaration.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/functions/isJsonSchemaDeclaration.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/functions/isJsonSchemaDeclaration.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/index.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/interfaces/ExtensionRecord.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/interfaces/ExtensionRecord.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/interfaces/ExtensionRecord.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/interfaces/ExtensionRecord.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/interfaces/JSONSchemaEmitterOptions.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/interfaces/JSONSchemaEmitterOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/interfaces/JSONSchemaEmitterOptions.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/interfaces/JSONSchemaEmitterOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/namespaces/$validatesRawJson/index.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/namespaces/$validatesRawJson/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/namespaces/$validatesRawJson/index.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/namespaces/$validatesRawJson/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/namespaces/$validatesRawJson/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/namespaces/$validatesRawJson/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/namespaces/$validatesRawJson/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/namespaces/$validatesRawJson/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/type-aliases/JsonSchemaDeclaration.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/type-aliases/JsonSchemaDeclaration.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/type-aliases/JsonSchemaDeclaration.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/type-aliases/JsonSchemaDeclaration.md diff --git a/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/$lib.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/$lib.md new file mode 100644 index 0000000000..afc4e52238 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/$lib.md @@ -0,0 +1,8 @@ +--- +jsApi: true +title: "[V] $lib" + +--- +```ts +const $lib: TypeSpecLibrary; +``` diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/EmitterOptionsSchema.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/EmitterOptionsSchema.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/EmitterOptionsSchema.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/EmitterOptionsSchema.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/json-schema/reference/js-api/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/data-types.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/data-types.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/data-types.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/data-types.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/decorators.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/decorators.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/decorators.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/decorators.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/index.mdx b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/index.mdx similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/index.mdx rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/index.mdx diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/_category_.json b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/_category_.json similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/_category_.json rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/_category_.json diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$defaultResponse.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$defaultResponse.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$defaultResponse.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$defaultResponse.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$extension.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$extension.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$extension.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$extension.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$externalDocs.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$externalDocs.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$externalDocs.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$externalDocs.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$info.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$info.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$info.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$info.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$operationId.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$operationId.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/$operationId.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/$operationId.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/checkDuplicateTypeName.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/checkDuplicateTypeName.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/checkDuplicateTypeName.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/checkDuplicateTypeName.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getExtensions.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getExtensions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getExtensions.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getExtensions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getExternalDocs.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getExternalDocs.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getExternalDocs.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getExternalDocs.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getInfo.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getInfo.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getInfo.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getInfo.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getOpenAPITypeName.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getOpenAPITypeName.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getOpenAPITypeName.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getOpenAPITypeName.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getOperationId.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getOperationId.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getOperationId.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getOperationId.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getParameterKey.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getParameterKey.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/getParameterKey.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/getParameterKey.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/isDefaultResponse.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/isDefaultResponse.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/isDefaultResponse.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/isDefaultResponse.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/isReadonlyProperty.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/isReadonlyProperty.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/isReadonlyProperty.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/isReadonlyProperty.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/resolveOperationId.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/resolveOperationId.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/resolveOperationId.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/resolveOperationId.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/setExtension.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/setExtension.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/setExtension.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/setExtension.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/shouldInline.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/shouldInline.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/functions/shouldInline.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/functions/shouldInline.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/index.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/AdditionalInfo.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/AdditionalInfo.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/AdditionalInfo.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/AdditionalInfo.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/Contact.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/Contact.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/Contact.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/Contact.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/ExternalDocs.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/ExternalDocs.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/ExternalDocs.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/ExternalDocs.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/License.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/License.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/interfaces/License.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/interfaces/License.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/type-aliases/ExtensionKey.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/type-aliases/ExtensionKey.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/type-aliases/ExtensionKey.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/type-aliases/ExtensionKey.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi/reference/js-api/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/openapi/reference/js-api/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/diagnostics.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/diagnostics.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/diagnostics.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/diagnostics.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/openapi.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/openapi.md similarity index 96% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/openapi.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/openapi.md index b7d9f23ae1..a2e484be92 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/openapi3/openapi.md +++ b/packages/website/versioned_docs/version-latest/libraries/openapi3/openapi.md @@ -34,20 +34,20 @@ The fields of the [OpenAPI Operation object][] are set as described below. The description field is set from the [(built-in) `@doc` decorator][doc-decorator] on the TypeSpec operation, and omitted when `@doc` is not present. -[doc-decorator]: ../built-in-decorators.md#doc +[doc-decorator]: ../../standard-library/built-in-decorators.md#doc ### summary The summary field is set from the [(built-in) `@summary` decorator][summary-decorator] on the TypeSpec operation, and omitted when `@summary` is not present. -[summary-decorator]: ../built-in-decorators.md#summary +[summary-decorator]: ../../standard-library/built-in-decorators.md#summary ### operationId The operationId can be explicitly specified with the [(OpenAPI) `@operationId` decorator][openapi-operationid-decorator], and otherwise is simple the operation name, prefixed with "*" when the operation is within an interface. -[openapi-operationid-decorator]: ../built-in-decorators.md#operationId +[openapi-operationid-decorator]: ../../standard-library/built-in-decorators.md#operationId ### parameters and requestBody @@ -88,7 +88,7 @@ is taken as the response body. In the absence of explicit `@body`, the properties that are not marked `@statusCode` or `@header` form the response body. [http-statuscode-decorator]: ../rest/reference/decorators.md#@TypeSpec.Http.statuscode -[error-decorator]: ../built-in-decorators.md#error +[error-decorator]: ../../standard-library/built-in-decorators.md#error See also [metadata](../http/operations.md#metadata) for more advanced details. @@ -97,14 +97,14 @@ See also [metadata](../http/operations.md#metadata) for more advanced details. Any tags specified with the [(built-in) `@tag` decorator][tag-decorator] on the operation, interface, or enclosing namespace(s) are included in the OpenAPI operation's tags array. -[tag-decorator]: ../built-in-decorators.md#tag +[tag-decorator]: ../../standard-library/built-in-decorators.md#tag ### deprecated If the [(built-in) `#deprecated` directive][deprecated-decorator] is specified on the operation, then the operation's deprecated field is set to true. -[deprecated-decorator]: ../built-in-decorators.md#deprecated +[deprecated-decorator]: ../../standard-library/built-in-decorators.md#deprecated ### externalDocs @@ -127,7 +127,7 @@ section with the TypeSpec name qualified by any enclosing namespaces. A special case is an instantiation of a model template, it is treated as an inline model unless the model template has a [(built-in) `@friendlyName` decorator][friendlyname], in which case the schema is defined in `components/schemas` with the friendly-name. -[friendlyname]: ../built-in-decorators.md#friendlyname +[friendlyname]: ../../standard-library/built-in-decorators.md#friendlyname The following table shows how TypeSpec types are translated to JSON Schema types: diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/decorators.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/decorators.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/decorators.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/decorators.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/emitter.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/emitter.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/emitter.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/emitter.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/index.mdx b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/index.mdx similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/index.mdx rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/index.mdx diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/_category_.json b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/_category_.json similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/_category_.json rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/_category_.json diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/$onEmit.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/$onEmit.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/$onEmit.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/$onEmit.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/$oneOf.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/$oneOf.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/$oneOf.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/$oneOf.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/$useRef.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/$useRef.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/$useRef.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/$useRef.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/getOneOf.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/getOneOf.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/getOneOf.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/getOneOf.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/getRef.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/getRef.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/getRef.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/getRef.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/resolveOptions.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/resolveOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/functions/resolveOptions.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/functions/resolveOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/index.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/interfaces/ResolvedOpenAPI3EmitterOptions.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/interfaces/ResolvedOpenAPI3EmitterOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/interfaces/ResolvedOpenAPI3EmitterOptions.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/interfaces/ResolvedOpenAPI3EmitterOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/variables/$lib.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/variables/$lib.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/variables/$lib.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/variables/$lib.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/openapi3/reference/js-api/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/openapi3/reference/js-api/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/guide.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/guide.md similarity index 98% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/guide.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/guide.md index daf6e4eda7..1a9a2e7bac 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/protobuf/guide.md +++ b/packages/website/versioned_docs/version-latest/libraries/protobuf/guide.md @@ -167,7 +167,7 @@ The Protobuf emitter supports declaring the streaming mode of an operation using Example: `rpc Example(stream In) returns (stream Out);` -[native-service]: ../built-in-decorators#service +[native-service]: ../../standard-library/built-in-decorators#service [protobuf-service]: reference/decorators#@TypeSpec.Protobuf.service [protobuf-package]: reference/decorators#@TypeSpec.Protobuf.package [protobuf-field]: reference/decorators#@TypeSpec.Protobuf.field diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/data-types.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/data-types.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/data-types.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/data-types.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/decorators.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/decorators.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/decorators.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/decorators.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/emitter.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/emitter.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/emitter.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/emitter.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/index.mdx b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/index.mdx similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/index.mdx rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/index.mdx diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/_category_.json b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/_category_.json similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/_category_.json rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/_category_.json diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$externRef.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$externRef.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$externRef.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$externRef.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$field.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$field.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$field.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$field.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$message.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$message.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$message.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$message.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$onEmit.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$onEmit.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$onEmit.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$onEmit.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$onValidate.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$onValidate.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$onValidate.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$onValidate.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$package.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$package.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$package.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$package.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$reserve.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$reserve.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$reserve.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$reserve.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$service.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$service.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$service.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$service.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$stream.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$stream.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/$stream.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/$stream.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/isMap.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/isMap.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/functions/isMap.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/functions/isMap.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/index.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/interfaces/PackageDetails.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/interfaces/PackageDetails.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/interfaces/PackageDetails.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/interfaces/PackageDetails.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/type-aliases/Reservation.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/type-aliases/Reservation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/type-aliases/Reservation.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/type-aliases/Reservation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/variables/$lib.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/variables/$lib.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/variables/$lib.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/variables/$lib.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/variables/PROTO_FULL_IDENT.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/variables/PROTO_FULL_IDENT.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/variables/PROTO_FULL_IDENT.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/variables/PROTO_FULL_IDENT.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/protobuf/reference/js-api/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/protobuf/reference/js-api/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/cheat-sheet.md b/packages/website/versioned_docs/version-latest/libraries/rest/cheat-sheet.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/cheat-sheet.md rename to packages/website/versioned_docs/version-latest/libraries/rest/cheat-sheet.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/data-types.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/data-types.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/data-types.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/data-types.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/decorators.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/decorators.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/decorators.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/decorators.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/index.mdx b/packages/website/versioned_docs/version-latest/libraries/rest/reference/index.mdx similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/index.mdx rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/index.mdx diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/interfaces.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/interfaces.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/interfaces.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/interfaces.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/_category_.json b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/_category_.json similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/_category_.json rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/_category_.json diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$action.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$action.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$action.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$action.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$actionSegment.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$actionSegment.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$actionSegment.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$actionSegment.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$actionSeparator.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$actionSeparator.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$actionSeparator.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$actionSeparator.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$autoRoute.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$autoRoute.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$autoRoute.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$autoRoute.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$collectionAction.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$collectionAction.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$collectionAction.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$collectionAction.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$copyResourceKeyParameters.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$copyResourceKeyParameters.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$copyResourceKeyParameters.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$copyResourceKeyParameters.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$createsOrReplacesResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$createsOrReplacesResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$createsOrReplacesResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$createsOrReplacesResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$createsOrUpdatesResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$createsOrUpdatesResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$createsOrUpdatesResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$createsOrUpdatesResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$createsResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$createsResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$createsResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$createsResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$deletesResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$deletesResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$deletesResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$deletesResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$listsResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$listsResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$listsResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$listsResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$onValidate.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$onValidate.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$onValidate.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$onValidate.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$parentResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$parentResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$parentResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$parentResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$readsResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$readsResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$readsResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$readsResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$resource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$resource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$resource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$resource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$resourceLocation.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$resourceLocation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$resourceLocation.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$resourceLocation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$resourceTypeForKeyParam.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$resourceTypeForKeyParam.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$resourceTypeForKeyParam.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$resourceTypeForKeyParam.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$segment.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$segment.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$segment.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$segment.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$segmentOf.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$segmentOf.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$segmentOf.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$segmentOf.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$updatesResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$updatesResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/$updatesResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/$updatesResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getAction.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getAction.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getAction.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getAction.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getActionDetails.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getActionDetails.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getActionDetails.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getActionDetails.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getActionSegment.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getActionSegment.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getActionSegment.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getActionSegment.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getActionSeparator.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getActionSeparator.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getActionSeparator.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getActionSeparator.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getCollectionAction.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getCollectionAction.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getCollectionAction.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getCollectionAction.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getCollectionActionDetails.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getCollectionActionDetails.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getCollectionActionDetails.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getCollectionActionDetails.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getParentResource.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getParentResource.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getParentResource.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getParentResource.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceLocationType.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceLocationType.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceLocationType.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceLocationType.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceOperation.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceOperation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceOperation.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceOperation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceTypeForKeyParam.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceTypeForKeyParam.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceTypeForKeyParam.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceTypeForKeyParam.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceTypeKey.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceTypeKey.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getResourceTypeKey.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getResourceTypeKey.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getSegment.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getSegment.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/getSegment.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/getSegment.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/isAutoRoute.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/isAutoRoute.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/isAutoRoute.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/isAutoRoute.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/isListOperation.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/isListOperation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/isListOperation.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/isListOperation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/setResourceOperation.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/setResourceOperation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/setResourceOperation.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/setResourceOperation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/setResourceTypeKey.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/setResourceTypeKey.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/functions/setResourceTypeKey.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/functions/setResourceTypeKey.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/index.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/ActionDetails.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/ActionDetails.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/ActionDetails.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/ActionDetails.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/AutoRouteOptions.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/AutoRouteOptions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/AutoRouteOptions.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/AutoRouteOptions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/FilteredRouteParam.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/FilteredRouteParam.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/FilteredRouteParam.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/FilteredRouteParam.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/ResourceKey.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/ResourceKey.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/ResourceKey.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/ResourceKey.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/ResourceOperation.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/ResourceOperation.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/interfaces/ResourceOperation.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/interfaces/ResourceOperation.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/type-aliases/ResourceOperations.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/type-aliases/ResourceOperations.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/type-aliases/ResourceOperations.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/type-aliases/ResourceOperations.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/reference/js-api/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/rest/reference/js-api/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/rest/resource-routing.md b/packages/website/versioned_docs/version-latest/libraries/rest/resource-routing.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/rest/resource-routing.md rename to packages/website/versioned_docs/version-latest/libraries/rest/resource-routing.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/guide.md b/packages/website/versioned_docs/version-latest/libraries/versioning/guide.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/guide.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/guide.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/decorators.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/decorators.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/decorators.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/decorators.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/index.mdx b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/index.mdx similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/index.mdx rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/index.mdx diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/_category_.json b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/_category_.json similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/_category_.json rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/_category_.json diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/classes/VersionMap.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/classes/VersionMap.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/classes/VersionMap.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/classes/VersionMap.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/enumerations/Availability.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/enumerations/Availability.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/enumerations/Availability.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/enumerations/Availability.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$added.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$added.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$added.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$added.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$madeOptional.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$madeOptional.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$madeOptional.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$madeOptional.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$onValidate.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$onValidate.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$onValidate.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$onValidate.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$removed.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$removed.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$removed.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$removed.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$renamedFrom.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$renamedFrom.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$renamedFrom.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$renamedFrom.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$returnTypeChangedFrom.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$returnTypeChangedFrom.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$returnTypeChangedFrom.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$returnTypeChangedFrom.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$typeChangedFrom.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$typeChangedFrom.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$typeChangedFrom.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$typeChangedFrom.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$useDependency.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$useDependency.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$useDependency.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$useDependency.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$versioned.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$versioned.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/$versioned.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/$versioned.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/buildVersionProjections.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/buildVersionProjections.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/buildVersionProjections.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/buildVersionProjections.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/existsAtVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/existsAtVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/existsAtVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/existsAtVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/findVersionedNamespace.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/findVersionedNamespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/findVersionedNamespace.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/findVersionedNamespace.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getAddedOnVersions.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getAddedOnVersions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getAddedOnVersions.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getAddedOnVersions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getAvailabilityMap.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getAvailabilityMap.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getAvailabilityMap.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getAvailabilityMap.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getAvailabilityMapInTimeline.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getAvailabilityMapInTimeline.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getAvailabilityMapInTimeline.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getAvailabilityMapInTimeline.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getMadeOptionalOn.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getMadeOptionalOn.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getMadeOptionalOn.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getMadeOptionalOn.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getNameAtVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getNameAtVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getNameAtVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getNameAtVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getRemovedOnVersions.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getRemovedOnVersions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getRemovedOnVersions.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getRemovedOnVersions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getRenamedFrom.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getRenamedFrom.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getRenamedFrom.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getRenamedFrom.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getRenamedFromVersions.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getRenamedFromVersions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getRenamedFromVersions.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getRenamedFromVersions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getReturnTypeBeforeVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getReturnTypeBeforeVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getReturnTypeBeforeVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getReturnTypeBeforeVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getReturnTypeChangedFrom.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getReturnTypeChangedFrom.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getReturnTypeChangedFrom.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getReturnTypeChangedFrom.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getTypeBeforeVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getTypeBeforeVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getTypeBeforeVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getTypeBeforeVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getTypeChangedFrom.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getTypeChangedFrom.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getTypeChangedFrom.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getTypeChangedFrom.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getUseDependencies.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getUseDependencies.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getUseDependencies.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getUseDependencies.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersionDependencies.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersionDependencies.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersionDependencies.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersionDependencies.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersionForEnumMember.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersionForEnumMember.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersionForEnumMember.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersionForEnumMember.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersions.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersions.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersionsForEnum.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersionsForEnum.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/getVersionsForEnum.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/getVersionsForEnum.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/hasDifferentNameAtVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/hasDifferentNameAtVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/hasDifferentNameAtVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/hasDifferentNameAtVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/hasDifferentReturnTypeAtVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/hasDifferentReturnTypeAtVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/hasDifferentReturnTypeAtVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/hasDifferentReturnTypeAtVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/hasDifferentTypeAtVersion.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/hasDifferentTypeAtVersion.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/hasDifferentTypeAtVersion.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/hasDifferentTypeAtVersion.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/madeOptionalAfter.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/madeOptionalAfter.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/madeOptionalAfter.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/madeOptionalAfter.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/resolveVersions.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/resolveVersions.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/functions/resolveVersions.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/functions/resolveVersions.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/index.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/index.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/index.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/interfaces/Version.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/interfaces/Version.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/interfaces/Version.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/interfaces/Version.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/interfaces/VersionResolution.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/interfaces/VersionResolution.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/interfaces/VersionResolution.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/interfaces/VersionResolution.md diff --git a/packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/variables/namespace.md b/packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/variables/namespace.md similarity index 100% rename from packages/website/versioned_docs/version-latest/standard-library/versioning/reference/js-api/variables/namespace.md rename to packages/website/versioned_docs/version-latest/libraries/versioning/reference/js-api/variables/namespace.md diff --git a/packages/website/versioned_docs/version-latest/release-notes/release-2022-07-08.md b/packages/website/versioned_docs/version-latest/release-notes/release-2022-07-08.md index fb2308d64f..4223e38731 100644 --- a/packages/website/versioned_docs/version-latest/release-notes/release-2022-07-08.md +++ b/packages/website/versioned_docs/version-latest/release-notes/release-2022-07-08.md @@ -55,7 +55,7 @@ If you had for example `--option operationPollingLocation=tenant` ## `@serviceHost` decorator replaced with `@server` decorator -The `@serviceHost` decorator that decorated the root namespace was used to specify the domain name of the base service endpoint. This functionality has been replaced by the `@server` decorator, which allows specifying full and parametrized Uris for the service endpoint, as described [here](https://microsoft.github.io/typespec/docs/standard-library/http/#service-definition-and-metadata) +The `@serviceHost` decorator that decorated the root namespace was used to specify the domain name of the base service endpoint. This functionality has been replaced by the `@server` decorator, which allows specifying full and parametrized Uris for the service endpoint, as described [here](https://microsoft.github.io/typespec/docs/libraries/http/#service-definition-and-metadata) ### Before diff --git a/packages/website/versioned_docs/version-latest/release-notes/release-2022-08-10.md b/packages/website/versioned_docs/version-latest/release-notes/release-2022-08-10.md index 0436e06207..5cfd51d06f 100644 --- a/packages/website/versioned_docs/version-latest/release-notes/release-2022-08-10.md +++ b/packages/website/versioned_docs/version-latest/release-notes/release-2022-08-10.md @@ -83,7 +83,7 @@ model MyResponse { In general, the prior `OkResponse` is equivalent to `OkResponse & Body` now or, equivalently, `{ ...OkResponse, ...Body }`. In practice there are many situations where you can leave out OkResponse altogether and use plain `T` rather than `Body`. -See also https://microsoft.github.io/typespec/docs/standard-library/http/#request--response-bodies +See also https://microsoft.github.io/typespec/docs/libraries/http/#request--response-bodies ## Route resolution changes diff --git a/packages/website/versioned_docs/version-latest/release-notes/release-2023-12-05.md b/packages/website/versioned_docs/version-latest/release-notes/release-2023-12-05.md new file mode 100644 index 0000000000..a82959e9e9 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/release-notes/release-2023-12-05.md @@ -0,0 +1,88 @@ +--- +title: December 2023 +--- + +# Release Notes December 2023 (2023-12-05) + +:::danger +This release contains **breaking changes** +::: + +## New Features + +### `@typespec/compiler` New Features + +- **New Language Feature** Added string template literal in typespec. Single and multi-line strings can be interpolated with `${` and `}`. Example `\\Doc for url ${url} is here: ${location}\\` +- [Emitter Framework]: `emitTypeReference` function takes an optional reference context that can be used to patch the context for the target. +- [Emitter Framework]: Added `absolute-path` as a known format for emitter options which will validate the value passed by the user resolve to an absolute path. +- [Emitter Framework]: Allow scalar and enum declarations to provide a reference context. +- [Emitter Framework]: Allow passing a custom context when calling `emitType`. +- Linter rules can now supply a full url to documentation. +- Upgrade formatter to `prettier` version 3.1. + +### `@typespec/http` New Features + +- Add diagnostic when a namespace exists with routes, but no namespace is marked with `@service`. + +### `@typespec/json-schema` New Features + +- Add support for simple literal default on model properties. +- Add support for `StringTemplate` literals. + +### `@typespec/openapi3` New Features + +- Now emits all properties of unreferenced schemas. +- Treat union variants as Discriminator. +- Emitter will now emit all properties of unreferenced schemas. + +### `@typespec/playground` New features + +- Add a format button to the playground command bar. +- Add a notification to the standalone playground when the playground has been saved. +- Enable changing the theme. +- Add resizable panes for the editor and output +- Add ability to pass a custom footer and use `Footer` and `FooterItem` component to build your own. +- Add `noopener noreferrer` to footer external link +- Move errors and warnings to a dedicated expandable banner at the bottom of the playground. +- **BREAKING CHANGE** Styles must be imported seperately with `import \"@typespec/playground/styles.css\";` +- Allow standalone playground to show a loading fallback. +- Upgrade swagger-ui component. + +### `@typespec/rest` New Features + +- Fix issue with `ResourceCreateModel` template collecting \"update\" properties instead of \"create\" properties. + +## Bug Fixes + +### `@typespec/compiler` Bug Fixes + +- [Formatter]: Fix: Preserve parentheses in `valueof` expressions inside a union or array (e.g. `(value of strring) | Model`). +- Fix: Union variants are now assigned to the parent union. + +### `@typespec/json-schema` Bug Fixes + +- Fix: Enum with a value of `0` would have resulted in `type` of `string` and `number`. +- Fix: Scalar constraints combine with base scalar constraints. +- Fix `@maxValueExclusive` setting `minimumExclusive` instead of `maximumExclusive` + +### `@typespec/openapi3` Bug Fixes + +- Fix: Report diagnostic instead of throwing errors in the case of duplicate ids or unknown scalar. +- FIX: Handle `bytes` as a multipart part type correctly and produce `type: string, format: binary` + +### `@typespec/playground` Bug Fixes + +- Configure the program viewer to respect the color theme", + +### `@typespec/versioning` Bug Fixes + +- Fix crash in versioning library`. + +## Breaking Changes + +- **New Language Feature** string interpolation to strings in TypeSpec. Strings that use the sequence `${` are now expected to start a reference to an interpolated value. Strings that contain `${` and are not meant for interpolation must now be escaped with a `\`, like this: `\${`. + +### Semantic Changes in OpenApi3 Output + +- Previously, unreferenced `Model` types (types not used in any operation) were emitted using `read` visibility, meaning that properties that had only `create` or `update` visibility would not be included in the corresponding schema in the `@typespec/openapi3` emitter. In this release, all properties of unreferenced Model types will appear in the output. +- Previously, `bytes` types that appeared in a `multipart/form-data` request or response would be marked as a base64 encoded string. In this release, `multipart/form-data` `bytes` types appearing in parts with an `object` type will be treated as a base64-encoded string, while those in non-model parts will appear as raw binary data. diff --git a/packages/website/versioned_docs/version-latest/standard-library/built-in-decorators.md b/packages/website/versioned_docs/version-latest/standard-library/built-in-decorators.md index a6dcb9ade1..d97bfa5d00 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/built-in-decorators.md +++ b/packages/website/versioned_docs/version-latest/standard-library/built-in-decorators.md @@ -824,7 +824,7 @@ with standard emitters that interpret them as follows: - "update": input to operations that update data. - "delete": input to operations that delete data. -See also: [Automatic visibility](https://microsoft.github.io/typespec/standard-library/http/operations#automatic-visibility) +See also: [Automatic visibility](https://microsoft.github.io/typespec/libraries/http/operations#automatic-visibility) ```typespec @visibility(...visibilities: valueof string[]) @@ -949,7 +949,7 @@ Removes properties that are not considered to be present or applicable together with spread to effectively spread only visible properties into a new model. -See also: [Automatic visibility](https://microsoft.github.io/typespec/standard-library/http/operations#automatic-visibility) +See also: [Automatic visibility](https://microsoft.github.io/typespec/libraries/http/operations#automatic-visibility) When using an emitter that applies visibility automatically, it is generally not necessary to use this decorator. diff --git a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/$lib.md b/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/$lib.md deleted file mode 100644 index 5743d59edd..0000000000 --- a/packages/website/versioned_docs/version-latest/standard-library/json-schema/reference/js-api/variables/$lib.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -jsApi: true -title: "[V] $lib" - ---- -```ts -const $lib: TypeSpecLibrary; -``` diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/SyntaxKind.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/SyntaxKind.md index 1eb331c93e..18f8047218 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/SyntaxKind.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/SyntaxKind.md @@ -12,86 +12,91 @@ AST types | `AliasStatement` | `24` | - | | `ArrayExpression` | `31` | - | | `AugmentDecoratorStatement` | `4` | - | -| `BlockComment` | `46` | - | +| `BlockComment` | `51` | - | | `BooleanLiteral` | `34` | - | | `CadlScript` | `0` | **Deprecated**

Use TypeSpecScript | | `DecoratorDeclarationStatement` | `25` | - | | `DecoratorExpression` | `5` | - | | `DirectiveExpression` | `6` | - | -| `Doc` | `47` | - | -| `DocErrorsTag` | `51` | - | -| `DocParamTag` | `49` | - | -| `DocReturnsTag` | `50` | - | -| `DocTemplateTag` | `52` | - | -| `DocText` | `48` | - | -| `DocUnknownTag` | `53` | - | -| `EmptyStatement` | `43` | - | +| `Doc` | `52` | - | +| `DocErrorsTag` | `56` | - | +| `DocParamTag` | `54` | - | +| `DocReturnsTag` | `55` | - | +| `DocTemplateTag` | `57` | - | +| `DocText` | `53` | - | +| `DocUnknownTag` | `58` | - | +| `EmptyStatement` | `48` | - | | `EnumMember` | `22` | - | | `EnumSpreadMember` | `23` | - | | `EnumStatement` | `21` | - | -| `ExternKeyword` | `35` | - | +| `ExternKeyword` | `40` | - | | `FunctionDeclarationStatement` | `26` | - | | `FunctionParameter` | `27` | - | | `Identifier` | `3` | - | | `ImportStatement` | `2` | - | | `InterfaceStatement` | `18` | - | | `IntersectionExpression` | `29` | - | -| `InvalidStatement` | `44` | - | -| `JsNamespaceDeclaration` | `84` | - | +| `InvalidStatement` | `49` | - | +| `JsNamespaceDeclaration` | `89` | - | | `JsSourceFile` | `1` | - | -| `LineComment` | `45` | - | +| `LineComment` | `50` | - | | `MemberExpression` | `7` | - | | `ModelExpression` | `14` | - | | `ModelProperty` | `15` | - | | `ModelSpreadProperty` | `16` | - | | `ModelStatement` | `13` | - | | `NamespaceStatement` | `8` | - | -| `NeverKeyword` | `37` | - | +| `NeverKeyword` | `42` | - | | `NumericLiteral` | `33` | - | | `OperationSignatureDeclaration` | `11` | - | | `OperationSignatureReference` | `12` | - | | `OperationStatement` | `10` | - | -| `Projection` | `54` | - | -| `ProjectionArithmeticExpression` | `72` | - | -| `ProjectionBlockExpression` | `66` | - | -| `ProjectionCallExpression` | `73` | - | -| `ProjectionDecoratorReferenceExpression` | `82` | - | -| `ProjectionEnumMemberSelector` | `63` | - | -| `ProjectionEnumSelector` | `62` | - | -| `ProjectionEqualityExpression` | `69` | - | -| `ProjectionExpressionStatement` | `64` | - | -| `ProjectionIfExpression` | `65` | - | -| `ProjectionInterfaceSelector` | `61` | - | -| `ProjectionLambdaExpression` | `74` | - | -| `ProjectionLambdaParameterDeclaration` | `75` | - | -| `ProjectionLogicalExpression` | `68` | - | -| `ProjectionMemberExpression` | `67` | - | -| `ProjectionModelExpression` | `76` | - | -| `ProjectionModelProperty` | `77` | - | -| `ProjectionModelPropertySelector` | `57` | - | -| `ProjectionModelSelector` | `56` | - | -| `ProjectionModelSpreadProperty` | `78` | - | -| `ProjectionOperationSelector` | `58` | - | -| `ProjectionParameterDeclaration` | `55` | - | -| `ProjectionReference` | `41` | - | -| `ProjectionRelationalExpression` | `71` | - | -| `ProjectionSpreadProperty` | `79` | - | -| `ProjectionStatement` | `81` | - | -| `ProjectionTupleExpression` | `80` | - | -| `ProjectionUnaryExpression` | `70` | - | -| `ProjectionUnionSelector` | `59` | - | -| `ProjectionUnionVariantSelector` | `60` | - | -| `Return` | `83` | - | +| `Projection` | `59` | - | +| `ProjectionArithmeticExpression` | `77` | - | +| `ProjectionBlockExpression` | `71` | - | +| `ProjectionCallExpression` | `78` | - | +| `ProjectionDecoratorReferenceExpression` | `87` | - | +| `ProjectionEnumMemberSelector` | `68` | - | +| `ProjectionEnumSelector` | `67` | - | +| `ProjectionEqualityExpression` | `74` | - | +| `ProjectionExpressionStatement` | `69` | - | +| `ProjectionIfExpression` | `70` | - | +| `ProjectionInterfaceSelector` | `66` | - | +| `ProjectionLambdaExpression` | `79` | - | +| `ProjectionLambdaParameterDeclaration` | `80` | - | +| `ProjectionLogicalExpression` | `73` | - | +| `ProjectionMemberExpression` | `72` | - | +| `ProjectionModelExpression` | `81` | - | +| `ProjectionModelProperty` | `82` | - | +| `ProjectionModelPropertySelector` | `62` | - | +| `ProjectionModelSelector` | `61` | - | +| `ProjectionModelSpreadProperty` | `83` | - | +| `ProjectionOperationSelector` | `63` | - | +| `ProjectionParameterDeclaration` | `60` | - | +| `ProjectionReference` | `46` | - | +| `ProjectionRelationalExpression` | `76` | - | +| `ProjectionSpreadProperty` | `84` | - | +| `ProjectionStatement` | `86` | - | +| `ProjectionTupleExpression` | `85` | - | +| `ProjectionUnaryExpression` | `75` | - | +| `ProjectionUnionSelector` | `64` | - | +| `ProjectionUnionVariantSelector` | `65` | - | +| `Return` | `88` | - | | `ScalarStatement` | `17` | - | | `StringLiteral` | `32` | - | -| `TemplateParameterDeclaration` | `42` | - | +| `StringTemplateExpression` | `35` | - | +| `StringTemplateHead` | `36` | - | +| `StringTemplateMiddle` | `37` | - | +| `StringTemplateSpan` | `39` | - | +| `StringTemplateTail` | `38` | - | +| `TemplateParameterDeclaration` | `47` | - | | `TupleExpression` | `30` | - | -| `TypeReference` | `40` | - | +| `TypeReference` | `45` | - | | `TypeSpecScript` | `0` | - | | `UnionExpression` | `28` | - | | `UnionStatement` | `19` | - | | `UnionVariant` | `20` | - | -| `UnknownKeyword` | `38` | - | +| `UnknownKeyword` | `43` | - | | `UsingStatement` | `9` | - | -| `ValueOfExpression` | `39` | - | -| `VoidKeyword` | `36` | - | +| `ValueOfExpression` | `44` | - | +| `VoidKeyword` | `41` | - | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/Token.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/Token.md index 243ce1b247..cd3eae69bc 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/Token.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/enumerations/Token.md @@ -7,75 +7,78 @@ title: "[E] Token" | Member | Value | | :------ | :------ | -| `AliasKeyword` | `54` | -| `Ampersand` | `27` | -| `AmpsersandAmpersand` | `42` | -| `At` | `32` | -| `AtAt` | `33` | -| `Bar` | `28` | -| `BarBar` | `43` | -| `CloseBrace` | `15` | -| `CloseBracket` | `19` | -| `CloseParen` | `17` | -| `Colon` | `30` | -| `ColonColon` | `31` | -| `Comma` | `23` | -| `ConflictMarker` | `10` | -| `DecKeyword` | `61` | -| `DocCodeFenceDelimiter` | `13` | -| `DocCodeSpan` | `12` | -| `DocText` | `11` | -| `Dot` | `20` | -| `Ellipsis` | `21` | -| `ElseKeyword` | `59` | +| `AliasKeyword` | `57` | +| `Ampersand` | `30` | +| `AmpsersandAmpersand` | `45` | +| `At` | `35` | +| `AtAt` | `36` | +| `Bar` | `31` | +| `BarBar` | `46` | +| `CloseBrace` | `18` | +| `CloseBracket` | `22` | +| `CloseParen` | `20` | +| `Colon` | `33` | +| `ColonColon` | `34` | +| `Comma` | `26` | +| `ConflictMarker` | `13` | +| `DecKeyword` | `64` | +| `DocCodeFenceDelimiter` | `16` | +| `DocCodeSpan` | `15` | +| `DocText` | `14` | +| `Dot` | `23` | +| `Ellipsis` | `24` | +| `ElseKeyword` | `62` | | `EndOfFile` | `2` | -| `EnumKeyword` | `53` | -| `Equals` | `26` | -| `EqualsEquals` | `44` | -| `EqualsGreaterThan` | `46` | -| `Exclamation` | `39` | -| `ExclamationEquals` | `45` | -| `ExtendsKeyword` | `65` | -| `ExternKeyword` | `64` | -| `FalseKeyword` | `67` | -| `FnKeyword` | `62` | -| `ForwardSlash` | `36` | -| `GreaterThan` | `25` | -| `GreaterThanEquals` | `41` | -| `Hash` | `34` | -| `Hyphen` | `38` | +| `EnumKeyword` | `56` | +| `Equals` | `29` | +| `EqualsEquals` | `47` | +| `EqualsGreaterThan` | `49` | +| `Exclamation` | `42` | +| `ExclamationEquals` | `48` | +| `ExtendsKeyword` | `68` | +| `ExternKeyword` | `67` | +| `FalseKeyword` | `70` | +| `FnKeyword` | `65` | +| `ForwardSlash` | `39` | +| `GreaterThan` | `28` | +| `GreaterThanEquals` | `44` | +| `Hash` | `37` | +| `Hyphen` | `41` | | `Identifier` | `3` | -| `IfKeyword` | `60` | -| `ImportKeyword` | `47` | -| `InterfaceKeyword` | `56` | +| `IfKeyword` | `63` | +| `ImportKeyword` | `50` | +| `InterfaceKeyword` | `59` | | `Invalid` | `1` | -| `IsKeyword` | `55` | -| `LessThan` | `24` | -| `LessThanEquals` | `40` | -| `ModelKeyword` | `48` | -| `MultiLineComment` | `7` | -| `NamespaceKeyword` | `50` | -| `NeverKeyword` | `70` | -| `NewLine` | `8` | +| `IsKeyword` | `58` | +| `LessThan` | `27` | +| `LessThanEquals` | `43` | +| `ModelKeyword` | `51` | +| `MultiLineComment` | `10` | +| `NamespaceKeyword` | `53` | +| `NeverKeyword` | `73` | +| `NewLine` | `11` | | `None` | `0` | | `NumericLiteral` | `4` | -| `OpKeyword` | `52` | -| `OpenBrace` | `14` | -| `OpenBracket` | `18` | -| `OpenParen` | `16` | -| `Plus` | `37` | -| `ProjectionKeyword` | `58` | -| `Question` | `29` | -| `ReturnKeyword` | `68` | -| `ScalarKeyword` | `49` | -| `Semicolon` | `22` | -| `SingleLineComment` | `6` | -| `Star` | `35` | +| `OpKeyword` | `55` | +| `OpenBrace` | `17` | +| `OpenBracket` | `21` | +| `OpenParen` | `19` | +| `Plus` | `40` | +| `ProjectionKeyword` | `61` | +| `Question` | `32` | +| `ReturnKeyword` | `71` | +| `ScalarKeyword` | `52` | +| `Semicolon` | `25` | +| `SingleLineComment` | `9` | +| `Star` | `38` | | `StringLiteral` | `5` | -| `TrueKeyword` | `66` | -| `UnionKeyword` | `57` | -| `UnknownKeyword` | `71` | -| `UsingKeyword` | `51` | -| `ValueOfKeyword` | `63` | -| `VoidKeyword` | `69` | -| `Whitespace` | `9` | +| `StringTemplateHead` | `6` | +| `StringTemplateMiddle` | `7` | +| `StringTemplateTail` | `8` | +| `TrueKeyword` | `69` | +| `UnionKeyword` | `60` | +| `UnknownKeyword` | `74` | +| `UsingKeyword` | `54` | +| `ValueOfKeyword` | `66` | +| `VoidKeyword` | `72` | +| `Whitespace` | `12` | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/assertType.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/assertType.md index c07008b981..0a8c37a47c 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/assertType.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/assertType.md @@ -29,6 +29,8 @@ Assert that the input type has one of the kinds provided \| `"String"` \| `"Number"` \| `"Boolean"` + \| `"StringTemplate"` + \| `"StringTemplateSpan"` \| `"Tuple"` \| `"Union"` \| `"UnionVariant"` diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/navigateTypesInNamespace.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/navigateTypesInNamespace.md index fae7969c31..8fd7dcfe7e 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/navigateTypesInNamespace.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/navigateTypesInNamespace.md @@ -15,7 +15,7 @@ navigateTypesInNamespace( | Parameter | Type | | :------ | :------ | | `namespace` | [`Namespace`](../interfaces/Namespace.md) | -| `listeners` | `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` | +| `listeners` | `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` | | `options` | [`NamespaceNavigationOptions`](../interfaces/NamespaceNavigationOptions.md) & [`NavigationOptions`](../interfaces/NavigationOptions.md) | ## Returns diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/scopeNavigationToNamespace.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/scopeNavigationToNamespace.md index a539307729..a2fe543681 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/scopeNavigationToNamespace.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/scopeNavigationToNamespace.md @@ -16,7 +16,7 @@ Scope the current navigation to the given namespace. | Parameter | | :------ | -| `T` extends `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` | +| `T` extends `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` & `object` | ## Parameters diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/stringTemplateToString.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/stringTemplateToString.md new file mode 100644 index 0000000000..02474140f6 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/stringTemplateToString.md @@ -0,0 +1,22 @@ +--- +jsApi: true +title: "[F] stringTemplateToString" + +--- +```ts +stringTemplateToString(stringTemplate): [string, readonly Diagnostic[]] +``` + +Convert a string template to a string value. +Only literal interpolated can be converted to string. +Otherwise diagnostics will be reported. + +## Parameters + +| Parameter | Type | Description | +| :------ | :------ | :------ | +| `stringTemplate` | [`StringTemplate`](../interfaces/StringTemplate.md) | String template to convert. | + +## Returns + +[`string`, readonly [`Diagnostic`](../interfaces/Diagnostic.md)[]] diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/validateDecoratorParamType.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/validateDecoratorParamType.md index a425dbcf26..7c8ae5731c 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/validateDecoratorParamType.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/functions/validateDecoratorParamType.md @@ -30,6 +30,8 @@ Validate a decorator parameter has the correct type. \| `"String"` \| `"Number"` \| `"Boolean"` + \| `"StringTemplate"` + \| `"StringTemplateSpan"` \| `"Tuple"` \| `"Union"` \| `"UnionVariant"` diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/index.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/index.md index e43e6e9225..5d8093761e 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/index.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/index.md @@ -101,7 +101,6 @@ title: "[P] JS Api" - [IntersectionExpressionNode](interfaces/IntersectionExpressionNode.md) - [IntrinsicType](interfaces/IntrinsicType.md) - [InvalidStatementNode](interfaces/InvalidStatementNode.md) -- [JSONSchemaValidator](interfaces/JSONSchemaValidator.md) - [JsNamespaceDeclarationNode](interfaces/JsNamespaceDeclarationNode.md) - [JsSourceFileNode](interfaces/JsSourceFileNode.md) - [LibraryInstance](interfaces/LibraryInstance.md) @@ -202,6 +201,15 @@ title: "[P] JS Api" - [SourceLocationOptions](interfaces/SourceLocationOptions.md) - [StringLiteral](interfaces/StringLiteral.md) - [StringLiteralNode](interfaces/StringLiteralNode.md) +- [StringTemplate](interfaces/StringTemplate.md) +- [StringTemplateExpressionNode](interfaces/StringTemplateExpressionNode.md) +- [StringTemplateHeadNode](interfaces/StringTemplateHeadNode.md) +- [StringTemplateLiteralLikeNode](interfaces/StringTemplateLiteralLikeNode.md) +- [StringTemplateMiddleNode](interfaces/StringTemplateMiddleNode.md) +- [StringTemplateSpanLiteral](interfaces/StringTemplateSpanLiteral.md) +- [StringTemplateSpanNode](interfaces/StringTemplateSpanNode.md) +- [StringTemplateSpanValue](interfaces/StringTemplateSpanValue.md) +- [StringTemplateTailNode](interfaces/StringTemplateTailNode.md) - [SuppressDirective](interfaces/SuppressDirective.md) - [Sym](interfaces/Sym.md) - [SymbolLinks](interfaces/SymbolLinks.md) @@ -304,6 +312,8 @@ title: "[P] JS Api" - [Statement](type-aliases/Statement.md) - [StdTypeName](type-aliases/StdTypeName.md) - [StdTypes](type-aliases/StdTypes.md) +- [StringTemplateSpan](type-aliases/StringTemplateSpan.md) +- [StringTemplateToken](type-aliases/StringTemplateToken.md) - [TemplateableNode](type-aliases/TemplateableNode.md) - [TemplatedType](type-aliases/TemplatedType.md) - [TrackableType](type-aliases/TrackableType.md) @@ -530,6 +540,7 @@ title: "[P] JS Api" - [setTypeSpecNamespace](functions/setTypeSpecNamespace.md) - [skipTrivia](functions/skipTrivia.md) - [skipWhiteSpace](functions/skipWhiteSpace.md) +- [stringTemplateToString](functions/stringTemplateToString.md) - [typespecTypeToJson](functions/typespecTypeToJson.md) - [validateDecoratorNotOnType](functions/validateDecoratorNotOnType.md) - [validateDecoratorParamCount](functions/validateDecoratorParamCount.md) diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/BaseType.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/BaseType.md index 4e2f9a1b55..f7e30c7871 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/BaseType.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/BaseType.md @@ -19,6 +19,9 @@ title: "[I] BaseType" - [`StringLiteral`](StringLiteral.md) - [`NumericLiteral`](NumericLiteral.md) - [`BooleanLiteral`](BooleanLiteral.md) +- [`StringTemplate`](StringTemplate.md) +- [`StringTemplateSpanLiteral`](StringTemplateSpanLiteral.md) +- [`StringTemplateSpanValue`](StringTemplateSpanValue.md) - [`Tuple`](Tuple.md) - [`Union`](Union.md) - [`UnionVariant`](UnionVariant.md) diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/CompilerOptions.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/CompilerOptions.md index 7fba62878b..5a7c253750 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/CompilerOptions.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/CompilerOptions.md @@ -8,7 +8,7 @@ title: "[I] CompilerOptions" | Property | Type | Description | | :------ | :------ | :------ | | `additionalImports`? | `string`[] | - | -| `config`? | `string` | Path to config YAML file or folder in which to search for default tspconfig.yaml file. | +| `config`? | `string` | Path to config YAML file used, this is also where the project root should be. | | `designTimeBuild`? | `boolean` | When true, indicates that a compilation is being performed for live
analysis in the language server. | | `emit`? | `string`[] | List or path to emitters to use. | | `emitters`? | `Record`<`string`, `EmitterOptions`\> | **Deprecated**

use [emit](CompilerOptions.md) and [options](CompilerOptions.md) instead.

Will be removed in March 2022 sprint. | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/JSONSchemaValidator.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/JSONSchemaValidator.md deleted file mode 100644 index 926012a47e..0000000000 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/JSONSchemaValidator.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -jsApi: true -title: "[I] JSONSchemaValidator" - ---- -## Methods - -### validate() - -```ts -validate(config, target): Diagnostic[] -``` - -Validate the configuration against its JSON Schema. - -#### Parameters - -| Parameter | Type | Description | -| :------ | :------ | :------ | -| `config` | `unknown` | Configuration to validate. | -| `target` | [`SourceFile`](SourceFile.md) \| `YamlScript` \| *typeof* [`NoTarget`](../variables/NoTarget.md) | Source file target to use for diagnostics. | - -#### Returns - -[`Diagnostic`](Diagnostic.md)[] - -Diagnostics produced by schema validation of the configuration. diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRule.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRule.md index 4ce08a43fb..97b2d89367 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRule.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRule.md @@ -20,11 +20,12 @@ Resolved instance of a linter rule that will run. | Property | Type | Description | Inheritance | | :------ | :------ | :------ | :------ | -| `description` | `string` | - | [`LinterRuleDefinition`](LinterRuleDefinition.md).`description` | +| `description` | `string` | Short description of the rule | [`LinterRuleDefinition`](LinterRuleDefinition.md).`description` | | `id` | `string` | Expanded rule id in format `:` | - | -| `messages` | `DM` | - | [`LinterRuleDefinition`](LinterRuleDefinition.md).`messages` | -| `name` | `N` | - | [`LinterRuleDefinition`](LinterRuleDefinition.md).`name` | -| `severity` | `"warning"` | - | [`LinterRuleDefinition`](LinterRuleDefinition.md).`severity` | +| `messages` | `DM` | Messages that can be reported with the diagnostic. | [`LinterRuleDefinition`](LinterRuleDefinition.md).`messages` | +| `name` | `N` | Rule name (without the library name) | [`LinterRuleDefinition`](LinterRuleDefinition.md).`name` | +| `severity` | `"warning"` | Rule default severity. | [`LinterRuleDefinition`](LinterRuleDefinition.md).`severity` | +| `url`? | `string` | Specifies the URL at which the full documentation can be accessed. | [`LinterRuleDefinition`](LinterRuleDefinition.md).`url` | ## Methods @@ -34,6 +35,8 @@ Resolved instance of a linter rule that will run. create(context): SemanticNodeListener ``` +Creator + #### Parameters | Parameter | Type | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRuleDefinition.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRuleDefinition.md index e77e5c4635..9bab5bc8fa 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRuleDefinition.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/LinterRuleDefinition.md @@ -18,10 +18,11 @@ title: "[I] LinterRuleDefinition" | Property | Type | Description | | :------ | :------ | :------ | -| `description` | `string` | - | -| `messages` | `DM` | - | -| `name` | `N` | - | -| `severity` | `"warning"` | - | +| `description` | `string` | Short description of the rule | +| `messages` | `DM` | Messages that can be reported with the diagnostic. | +| `name` | `N` | Rule name (without the library name) | +| `severity` | `"warning"` | Rule default severity. | +| `url`? | `string` | Specifies the URL at which the full documentation can be accessed. | ## Methods @@ -31,6 +32,8 @@ title: "[I] LinterRuleDefinition" create(context): SemanticNodeListener ``` +Creator + #### Parameters | Parameter | Type | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/Scanner.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/Scanner.md index aed98c9481..610bae11c9 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/Scanner.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/Scanner.md @@ -29,6 +29,27 @@ Determine if the scanner has reached the end of the input. *** +### findTripleQuotedStringIndent() + +```ts +findTripleQuotedStringIndent(start, end): [number, number] +``` + +Finds the indent for the given triple quoted string. + +#### Parameters + +| Parameter | Type | Description | +| :------ | :------ | :------ | +| `start` | `number` | | +| `end` | `number` | | + +#### Returns + +[`number`, `number`] + +*** + ### getTokenText() ```ts @@ -61,6 +82,26 @@ getTokenText(). *** +### reScanStringTemplate() + +```ts +reScanStringTemplate(tokenFlags): StringTemplateToken +``` + +Unconditionally back up and scan a template expression portion. + +#### Parameters + +| Parameter | Type | Description | +| :------ | :------ | :------ | +| `tokenFlags` | [`TokenFlags`](../enumerations/TokenFlags.md) | Token Flags for head StringTemplateToken | + +#### Returns + +[`StringTemplateToken`](../type-aliases/StringTemplateToken.md) + +*** + ### scan() ```ts @@ -113,3 +154,34 @@ Reset the scanner to the given start and end positions, invoke the callback, and #### Returns `T` + +*** + +### unindentAndUnescapeTripleQuotedString() + +```ts +unindentAndUnescapeTripleQuotedString( + start, + end, + indentationStart, + indentationEnd, + token, + tokenFlags): string +``` + +Unindent and unescape the triple quoted string rawText + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `start` | `number` | +| `end` | `number` | +| `indentationStart` | `number` | +| `indentationEnd` | `number` | +| `token` | `StringLiteral` \| [`StringTemplateToken`](../type-aliases/StringTemplateToken.md) | +| `tokenFlags` | [`TokenFlags`](../enumerations/TokenFlags.md) | + +#### Returns + +`string` diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplate.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplate.md new file mode 100644 index 0000000000..dc7cc095fb --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplate.md @@ -0,0 +1,55 @@ +--- +jsApi: true +title: "[I] StringTemplate" + +--- +## Extends + +- [`BaseType`](BaseType.md) + +## Properties + +| Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | +| `instantiationParameters`? | [`Type`](../type-aliases/Type.md)[] | - | [`BaseType`](BaseType.md).`instantiationParameters` | +| `isFinished` | `boolean` | Reflect if a type has been finished(Decorators have been called).
There is multiple reasons a type might not be finished:
- a template declaration will not
- a template instance that argument that are still template parameters
- a template instance that is only partially instantiated(like a templated operation inside a templated interface) | [`BaseType`](BaseType.md).`isFinished` | +| `kind` | `"StringTemplate"` | - | [`BaseType`](BaseType.md).`kind` | +| `node` | [`StringTemplateExpressionNode`](StringTemplateExpressionNode.md) | - | [`BaseType`](BaseType.md).`node` | +| `projectionBase`? | [`Type`](../type-aliases/Type.md) | - | [`BaseType`](BaseType.md).`projectionBase` | +| `projectionSource`? | [`Type`](../type-aliases/Type.md) | - | [`BaseType`](BaseType.md).`projectionSource` | +| `projector`? | [`Projector`](Projector.md) | - | [`BaseType`](BaseType.md).`projector` | +| `spans` | [`StringTemplateSpan`](../type-aliases/StringTemplateSpan.md)[] | - | - | + +## Accessors + +### projections + +```ts +get projections(): ProjectionStatementNode[] +``` + +#### Returns + +[`ProjectionStatementNode`](ProjectionStatementNode.md)[] + +## Methods + +### projectionsByName() + +```ts +projectionsByName(name): ProjectionStatementNode[] +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `name` | `string` | + +#### Returns + +[`ProjectionStatementNode`](ProjectionStatementNode.md)[] + +#### Inherited from + +[`BaseType`](BaseType.md).[`projectionsByName`](BaseType.md#projectionsbyname) diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateExpressionNode.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateExpressionNode.md new file mode 100644 index 0000000000..d9950e3725 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateExpressionNode.md @@ -0,0 +1,23 @@ +--- +jsApi: true +title: "[I] StringTemplateExpressionNode" + +--- +## Extends + +- [`BaseNode`](BaseNode.md) + +## Properties + +| Modifier | Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | :------ | +| `readonly` | `directives`? | readonly [`DirectiveExpressionNode`](DirectiveExpressionNode.md)[] | - | [`BaseNode`](BaseNode.md).`directives` | +| `readonly` | `docs`? | readonly [`DocNode`](DocNode.md)[] | - | [`BaseNode`](BaseNode.md).`docs` | +| `readonly` | `end` | `number` | The ending position measured in UTF-16 code units from the start of the
full string. Exclusive. | [`BaseNode`](BaseNode.md).`end` | +| `readonly` | `flags` | [`NodeFlags`](../enumerations/NodeFlags.md) | - | [`BaseNode`](BaseNode.md).`flags` | +| `readonly` | `head` | [`StringTemplateHeadNode`](StringTemplateHeadNode.md) | - | - | +| `readonly` | `kind` | `StringTemplateExpression` | - | [`BaseNode`](BaseNode.md).`kind` | +| `readonly` | `parent`? | [`Node`](../type-aliases/Node.md) | - | [`BaseNode`](BaseNode.md).`parent` | +| `readonly` | `pos` | `number` | The starting position of the ranger measured in UTF-16 code units from the
start of the full string. Inclusive. | [`BaseNode`](BaseNode.md).`pos` | +| `readonly` | `spans` | readonly [`StringTemplateSpanNode`](StringTemplateSpanNode.md)[] | - | - | +| `readonly` | `symbol` | [`Sym`](Sym.md) | Could be undefined but making this optional creates a lot of noise. In practice,
you will likely only access symbol in cases where you know the node has a symbol. | [`BaseNode`](BaseNode.md).`symbol` | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateHeadNode.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateHeadNode.md new file mode 100644 index 0000000000..5a2d5d87a0 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateHeadNode.md @@ -0,0 +1,22 @@ +--- +jsApi: true +title: "[I] StringTemplateHeadNode" + +--- +## Extends + +- [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md) + +## Properties + +| Modifier | Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | :------ | +| `readonly` | `directives`? | readonly [`DirectiveExpressionNode`](DirectiveExpressionNode.md)[] | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`directives` | +| `readonly` | `docs`? | readonly [`DocNode`](DocNode.md)[] | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`docs` | +| `readonly` | `end` | `number` | The ending position measured in UTF-16 code units from the start of the
full string. Exclusive. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`end` | +| `readonly` | `flags` | [`NodeFlags`](../enumerations/NodeFlags.md) | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`flags` | +| `readonly` | `kind` | `StringTemplateHead` | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`kind` | +| `readonly` | `parent`? | [`Node`](../type-aliases/Node.md) | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`parent` | +| `readonly` | `pos` | `number` | The starting position of the ranger measured in UTF-16 code units from the
start of the full string. Inclusive. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`pos` | +| `readonly` | `symbol` | [`Sym`](Sym.md) | Could be undefined but making this optional creates a lot of noise. In practice,
you will likely only access symbol in cases where you know the node has a symbol. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`symbol` | +| `readonly` | `value` | `string` | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`value` | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateLiteralLikeNode.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateLiteralLikeNode.md new file mode 100644 index 0000000000..cb7110bde1 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateLiteralLikeNode.md @@ -0,0 +1,22 @@ +--- +jsApi: true +title: "[I] StringTemplateLiteralLikeNode" + +--- +## Extends + +- [`BaseNode`](BaseNode.md) + +## Properties + +| Modifier | Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | :------ | +| `readonly` | `directives`? | readonly [`DirectiveExpressionNode`](DirectiveExpressionNode.md)[] | - | [`BaseNode`](BaseNode.md).`directives` | +| `readonly` | `docs`? | readonly [`DocNode`](DocNode.md)[] | - | [`BaseNode`](BaseNode.md).`docs` | +| `readonly` | `end` | `number` | The ending position measured in UTF-16 code units from the start of the
full string. Exclusive. | [`BaseNode`](BaseNode.md).`end` | +| `readonly` | `flags` | [`NodeFlags`](../enumerations/NodeFlags.md) | - | [`BaseNode`](BaseNode.md).`flags` | +| `readonly` | `kind` | [`SyntaxKind`](../enumerations/SyntaxKind.md) | - | [`BaseNode`](BaseNode.md).`kind` | +| `readonly` | `parent`? | [`Node`](../type-aliases/Node.md) | - | [`BaseNode`](BaseNode.md).`parent` | +| `readonly` | `pos` | `number` | The starting position of the ranger measured in UTF-16 code units from the
start of the full string. Inclusive. | [`BaseNode`](BaseNode.md).`pos` | +| `readonly` | `symbol` | [`Sym`](Sym.md) | Could be undefined but making this optional creates a lot of noise. In practice,
you will likely only access symbol in cases where you know the node has a symbol. | [`BaseNode`](BaseNode.md).`symbol` | +| `readonly` | `value` | `string` | - | - | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateMiddleNode.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateMiddleNode.md new file mode 100644 index 0000000000..4954ac381f --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateMiddleNode.md @@ -0,0 +1,22 @@ +--- +jsApi: true +title: "[I] StringTemplateMiddleNode" + +--- +## Extends + +- [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md) + +## Properties + +| Modifier | Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | :------ | +| `readonly` | `directives`? | readonly [`DirectiveExpressionNode`](DirectiveExpressionNode.md)[] | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`directives` | +| `readonly` | `docs`? | readonly [`DocNode`](DocNode.md)[] | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`docs` | +| `readonly` | `end` | `number` | The ending position measured in UTF-16 code units from the start of the
full string. Exclusive. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`end` | +| `readonly` | `flags` | [`NodeFlags`](../enumerations/NodeFlags.md) | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`flags` | +| `readonly` | `kind` | `StringTemplateMiddle` | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`kind` | +| `readonly` | `parent`? | [`Node`](../type-aliases/Node.md) | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`parent` | +| `readonly` | `pos` | `number` | The starting position of the ranger measured in UTF-16 code units from the
start of the full string. Inclusive. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`pos` | +| `readonly` | `symbol` | [`Sym`](Sym.md) | Could be undefined but making this optional creates a lot of noise. In practice,
you will likely only access symbol in cases where you know the node has a symbol. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`symbol` | +| `readonly` | `value` | `string` | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`value` | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanLiteral.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanLiteral.md new file mode 100644 index 0000000000..67e4a99ba9 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanLiteral.md @@ -0,0 +1,56 @@ +--- +jsApi: true +title: "[I] StringTemplateSpanLiteral" + +--- +## Extends + +- [`BaseType`](BaseType.md) + +## Properties + +| Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | +| `instantiationParameters`? | [`Type`](../type-aliases/Type.md)[] | - | [`BaseType`](BaseType.md).`instantiationParameters` | +| `isFinished` | `boolean` | Reflect if a type has been finished(Decorators have been called).
There is multiple reasons a type might not be finished:
- a template declaration will not
- a template instance that argument that are still template parameters
- a template instance that is only partially instantiated(like a templated operation inside a templated interface) | [`BaseType`](BaseType.md).`isFinished` | +| `isInterpolated` | `false` | - | - | +| `kind` | `"StringTemplateSpan"` | - | [`BaseType`](BaseType.md).`kind` | +| `node` | [`StringTemplateHeadNode`](StringTemplateHeadNode.md) \| [`StringTemplateMiddleNode`](StringTemplateMiddleNode.md) \| [`StringTemplateTailNode`](StringTemplateTailNode.md) | - | [`BaseType`](BaseType.md).`node` | +| `projectionBase`? | [`Type`](../type-aliases/Type.md) | - | [`BaseType`](BaseType.md).`projectionBase` | +| `projectionSource`? | [`Type`](../type-aliases/Type.md) | - | [`BaseType`](BaseType.md).`projectionSource` | +| `projector`? | [`Projector`](Projector.md) | - | [`BaseType`](BaseType.md).`projector` | +| `type` | [`StringLiteral`](StringLiteral.md) | - | - | + +## Accessors + +### projections + +```ts +get projections(): ProjectionStatementNode[] +``` + +#### Returns + +[`ProjectionStatementNode`](ProjectionStatementNode.md)[] + +## Methods + +### projectionsByName() + +```ts +projectionsByName(name): ProjectionStatementNode[] +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `name` | `string` | + +#### Returns + +[`ProjectionStatementNode`](ProjectionStatementNode.md)[] + +#### Inherited from + +[`BaseType`](BaseType.md).[`projectionsByName`](BaseType.md#projectionsbyname) diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanNode.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanNode.md new file mode 100644 index 0000000000..187efba2dc --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanNode.md @@ -0,0 +1,23 @@ +--- +jsApi: true +title: "[I] StringTemplateSpanNode" + +--- +## Extends + +- [`BaseNode`](BaseNode.md) + +## Properties + +| Modifier | Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | :------ | +| `readonly` | `directives`? | readonly [`DirectiveExpressionNode`](DirectiveExpressionNode.md)[] | - | [`BaseNode`](BaseNode.md).`directives` | +| `readonly` | `docs`? | readonly [`DocNode`](DocNode.md)[] | - | [`BaseNode`](BaseNode.md).`docs` | +| `readonly` | `end` | `number` | The ending position measured in UTF-16 code units from the start of the
full string. Exclusive. | [`BaseNode`](BaseNode.md).`end` | +| `readonly` | `expression` | [`Expression`](../type-aliases/Expression.md) | - | - | +| `readonly` | `flags` | [`NodeFlags`](../enumerations/NodeFlags.md) | - | [`BaseNode`](BaseNode.md).`flags` | +| `readonly` | `kind` | `StringTemplateSpan` | - | [`BaseNode`](BaseNode.md).`kind` | +| `readonly` | `literal` | [`StringTemplateMiddleNode`](StringTemplateMiddleNode.md) \| [`StringTemplateTailNode`](StringTemplateTailNode.md) | - | - | +| `readonly` | `parent`? | [`Node`](../type-aliases/Node.md) | - | [`BaseNode`](BaseNode.md).`parent` | +| `readonly` | `pos` | `number` | The starting position of the ranger measured in UTF-16 code units from the
start of the full string. Inclusive. | [`BaseNode`](BaseNode.md).`pos` | +| `readonly` | `symbol` | [`Sym`](Sym.md) | Could be undefined but making this optional creates a lot of noise. In practice,
you will likely only access symbol in cases where you know the node has a symbol. | [`BaseNode`](BaseNode.md).`symbol` | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanValue.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanValue.md new file mode 100644 index 0000000000..08d28178e6 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateSpanValue.md @@ -0,0 +1,56 @@ +--- +jsApi: true +title: "[I] StringTemplateSpanValue" + +--- +## Extends + +- [`BaseType`](BaseType.md) + +## Properties + +| Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | +| `instantiationParameters`? | [`Type`](../type-aliases/Type.md)[] | - | [`BaseType`](BaseType.md).`instantiationParameters` | +| `isFinished` | `boolean` | Reflect if a type has been finished(Decorators have been called).
There is multiple reasons a type might not be finished:
- a template declaration will not
- a template instance that argument that are still template parameters
- a template instance that is only partially instantiated(like a templated operation inside a templated interface) | [`BaseType`](BaseType.md).`isFinished` | +| `isInterpolated` | `true` | - | - | +| `kind` | `"StringTemplateSpan"` | - | [`BaseType`](BaseType.md).`kind` | +| `node` | [`Expression`](../type-aliases/Expression.md) | - | [`BaseType`](BaseType.md).`node` | +| `projectionBase`? | [`Type`](../type-aliases/Type.md) | - | [`BaseType`](BaseType.md).`projectionBase` | +| `projectionSource`? | [`Type`](../type-aliases/Type.md) | - | [`BaseType`](BaseType.md).`projectionSource` | +| `projector`? | [`Projector`](Projector.md) | - | [`BaseType`](BaseType.md).`projector` | +| `type` | [`Type`](../type-aliases/Type.md) | - | - | + +## Accessors + +### projections + +```ts +get projections(): ProjectionStatementNode[] +``` + +#### Returns + +[`ProjectionStatementNode`](ProjectionStatementNode.md)[] + +## Methods + +### projectionsByName() + +```ts +projectionsByName(name): ProjectionStatementNode[] +``` + +#### Parameters + +| Parameter | Type | +| :------ | :------ | +| `name` | `string` | + +#### Returns + +[`ProjectionStatementNode`](ProjectionStatementNode.md)[] + +#### Inherited from + +[`BaseType`](BaseType.md).[`projectionsByName`](BaseType.md#projectionsbyname) diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateTailNode.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateTailNode.md new file mode 100644 index 0000000000..c2b4d9cda7 --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/StringTemplateTailNode.md @@ -0,0 +1,22 @@ +--- +jsApi: true +title: "[I] StringTemplateTailNode" + +--- +## Extends + +- [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md) + +## Properties + +| Modifier | Property | Type | Description | Inheritance | +| :------ | :------ | :------ | :------ | :------ | +| `readonly` | `directives`? | readonly [`DirectiveExpressionNode`](DirectiveExpressionNode.md)[] | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`directives` | +| `readonly` | `docs`? | readonly [`DocNode`](DocNode.md)[] | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`docs` | +| `readonly` | `end` | `number` | The ending position measured in UTF-16 code units from the start of the
full string. Exclusive. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`end` | +| `readonly` | `flags` | [`NodeFlags`](../enumerations/NodeFlags.md) | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`flags` | +| `readonly` | `kind` | `StringTemplateTail` | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`kind` | +| `readonly` | `parent`? | [`Node`](../type-aliases/Node.md) | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`parent` | +| `readonly` | `pos` | `number` | The starting position of the ranger measured in UTF-16 code units from the
start of the full string. Inclusive. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`pos` | +| `readonly` | `symbol` | [`Sym`](Sym.md) | Could be undefined but making this optional creates a lot of noise. In practice,
you will likely only access symbol in cases where you know the node has a symbol. | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`symbol` | +| `readonly` | `value` | `string` | - | [`StringTemplateLiteralLikeNode`](StringTemplateLiteralLikeNode.md).`value` | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/TypeSpecLibrary.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/TypeSpecLibrary.md index 7070f91549..53af4d0ffa 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/TypeSpecLibrary.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/interfaces/TypeSpecLibrary.md @@ -23,7 +23,6 @@ Definition of a TypeSpec library | `readonly` | `diagnostics` | [`DiagnosticMap`](../type-aliases/DiagnosticMap.md)<`T`\> | Map of potential diagnostics that can be emitted in this library where the key is the diagnostic code. | [`TypeSpecLibraryDef`](TypeSpecLibraryDef.md).`diagnostics` | | `readonly` | `emitter`? | `object` | Emitter configuration if library is an emitter. | [`TypeSpecLibraryDef`](TypeSpecLibraryDef.md).`emitter` | | `readonly` | `emitter.options`? | [`JSONSchemaType`](../type-aliases/JSONSchemaType.md)<`E`\> | - | - | -| `readonly` | `emitterOptionValidator`? | [`JSONSchemaValidator`](JSONSchemaValidator.md) | JSON Schema validator for emitter options | - | | `readonly` | `linter`? | [`LinterDefinition`](LinterDefinition.md) | Configuration if library is providing linting rules/rulesets. | [`TypeSpecLibraryDef`](TypeSpecLibraryDef.md).`linter` | | `readonly` | `name` | `string` | Name of the library. Must match the package.json name. | [`TypeSpecLibraryDef`](TypeSpecLibraryDef.md).`name` | | `public` | `requireImports`? | readonly `string`[] | List of other library that should be imported when this is used as an emitter.
Compiler will emit an error if the libraries are not explicitly imported. | [`TypeSpecLibraryDef`](TypeSpecLibraryDef.md).`requireImports` | diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Expression.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Expression.md index eb40abc01e..427cc384fb 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Expression.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Expression.md @@ -17,6 +17,7 @@ type Expression: | StringLiteralNode | NumericLiteralNode | BooleanLiteralNode + | StringTemplateExpressionNode | VoidKeywordNode | NeverKeywordNode | AnyKeywordNode; diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/LiteralNode.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/LiteralNode.md index d140813d91..37b2a7b528 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/LiteralNode.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/LiteralNode.md @@ -4,5 +4,11 @@ title: "[T] LiteralNode" --- ```ts -type LiteralNode: StringLiteralNode | NumericLiteralNode | BooleanLiteralNode; +type LiteralNode: + | StringLiteralNode + | NumericLiteralNode + | BooleanLiteralNode + | StringTemplateHeadNode + | StringTemplateMiddleNode + | StringTemplateTailNode; ``` diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Node.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Node.md index 82d14b0673..a8a7f0d82c 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Node.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Node.md @@ -24,6 +24,10 @@ type Node: | Statement | Expression | FunctionParameterNode + | StringTemplateSpanNode + | StringTemplateHeadNode + | StringTemplateMiddleNode + | StringTemplateTailNode | Modifier | DocNode | DocContent diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateSpan.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateSpan.md new file mode 100644 index 0000000000..c1681cdf6a --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateSpan.md @@ -0,0 +1,8 @@ +--- +jsApi: true +title: "[T] StringTemplateSpan" + +--- +```ts +type StringTemplateSpan: StringTemplateSpanLiteral | StringTemplateSpanValue; +``` diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateToken.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateToken.md new file mode 100644 index 0000000000..a7026c6bca --- /dev/null +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/StringTemplateToken.md @@ -0,0 +1,8 @@ +--- +jsApi: true +title: "[T] StringTemplateToken" + +--- +```ts +type StringTemplateToken: Token.StringTemplateHead | Token.StringTemplateMiddle | Token.StringTemplateTail; +``` diff --git a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Type.md b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Type.md index 7a0d78772b..90778a6b18 100644 --- a/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Type.md +++ b/packages/website/versioned_docs/version-latest/standard-library/reference/js-api/type-aliases/Type.md @@ -17,6 +17,8 @@ type Type: | StringLiteral | NumericLiteral | BooleanLiteral + | StringTemplate + | StringTemplateSpan | Tuple | Union | UnionVariant diff --git a/packages/website/versioned_sidebars/version-latest-sidebars.json b/packages/website/versioned_sidebars/version-latest-sidebars.json index b813616538..5622427b3b 100644 --- a/packages/website/versioned_sidebars/version-latest-sidebars.json +++ b/packages/website/versioned_sidebars/version-latest-sidebars.json @@ -32,7 +32,7 @@ }, { "type": "category", - "label": "Getting Started", + "label": "Guides", "items": [ "getting-started/getting-started", "getting-started/getting-started-http", @@ -41,7 +41,7 @@ }, { "type": "category", - "label": "Language Basics", + "label": "📐 Language Basics", "items": [ "language-basics/overview", "language-basics/built-in-types", @@ -64,7 +64,7 @@ }, { "type": "category", - "label": "TypeSpec Standard Library", + "label": "📘 Standard Library", "items": [ "standard-library/built-in-decorators", "standard-library/built-in-data-types", @@ -73,24 +73,41 @@ "dirName": "standard-library/reference" }, "standard-library/projected-names", - "standard-library/discriminated-types", + "standard-library/discriminated-types" + ] + }, + { + "type": "category", + "label": "📚 Libraries", + "items": [ { "type": "category", "label": "Http", "link": { "type": "doc", - "id": "standard-library/http/reference/index" + "id": "libraries/http/reference/index" }, "items": [ { "type": "autogenerated", - "dirName": "standard-library/http/reference" + "dirName": "libraries/http/reference" + }, + { + "type": "category", + "label": "Rules", + "items": [ + { + "type": "autogenerated", + "dirName": "libraries/http/rules" + } + ] }, - "standard-library/http/cheat-sheet", - "standard-library/http/authentication", - "standard-library/http/operations", - "standard-library/http/content-types", - "standard-library/http/encoding" + "libraries/http/cheat-sheet", + "libraries/http/authentication", + "libraries/http/operations", + "libraries/http/content-types", + "libraries/http/multipart", + "libraries/http/encoding" ] }, { @@ -98,12 +115,12 @@ "label": "JSON Schema", "link": { "type": "doc", - "id": "standard-library/json-schema/reference/index" + "id": "libraries/json-schema/reference/index" }, "items": [ { "type": "autogenerated", - "dirName": "standard-library/json-schema/reference" + "dirName": "libraries/json-schema/reference" } ] }, @@ -112,15 +129,15 @@ "label": "Rest", "link": { "type": "doc", - "id": "standard-library/rest/reference/index" + "id": "libraries/rest/reference/index" }, "items": [ { "type": "autogenerated", - "dirName": "standard-library/rest/reference" + "dirName": "libraries/rest/reference" }, - "standard-library/rest/cheat-sheet", - "standard-library/rest/resource-routing" + "libraries/rest/cheat-sheet", + "libraries/rest/resource-routing" ] }, { @@ -128,12 +145,12 @@ "label": "OpenAPI", "link": { "type": "doc", - "id": "standard-library/openapi/reference/index" + "id": "libraries/openapi/reference/index" }, "items": [ { "type": "autogenerated", - "dirName": "standard-library/openapi/reference" + "dirName": "libraries/openapi/reference" } ] }, @@ -142,15 +159,15 @@ "label": "OpenAPI3", "link": { "type": "doc", - "id": "standard-library/openapi3/reference/index" + "id": "libraries/openapi3/reference/index" }, "items": [ { "type": "autogenerated", - "dirName": "standard-library/openapi3/reference" + "dirName": "libraries/openapi3/reference" }, - "standard-library/openapi3/openapi", - "standard-library/openapi3/diagnostics" + "libraries/openapi3/openapi", + "libraries/openapi3/diagnostics" ] }, { @@ -158,14 +175,14 @@ "label": "Protobuf", "link": { "type": "doc", - "id": "standard-library/protobuf/reference/index" + "id": "libraries/protobuf/reference/index" }, "items": [ { "type": "autogenerated", - "dirName": "standard-library/protobuf/reference" + "dirName": "libraries/protobuf/reference" }, - "standard-library/protobuf/guide" + "libraries/protobuf/guide" ] }, { @@ -173,21 +190,21 @@ "label": "Versioning", "link": { "type": "doc", - "id": "standard-library/versioning/reference/index" + "id": "libraries/versioning/reference/index" }, "items": [ { "type": "autogenerated", - "dirName": "standard-library/versioning/reference" + "dirName": "libraries/versioning/reference" }, - "standard-library/versioning/guide" + "libraries/versioning/guide" ] } ] }, { "type": "category", - "label": "Writing TypeSpec Libraries", + "label": "🛠️ Writing TypeSpec Libraries", "items": [ "extending-typespec/basics", "extending-typespec/diagnostics", @@ -201,7 +218,7 @@ }, { "type": "category", - "label": "Release Notes", + "label": "🚀 Release Notes", "collapsed": true, "link": { "type": "generated-index",