Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/chatty-feet-share.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-walls-knock.md

This file was deleted.

158 changes: 98 additions & 60 deletions docs/content/3.middleware/3.api/middleware.api.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"toolPackage": "@microsoft/api-extractor",
"toolVersion": "7.36.4",
"toolVersion": "7.42.3",
"schemaVersion": 1011,
"oldestForwardsCompatibleVersion": 1001,
"tsdocConfig": {
Expand Down Expand Up @@ -1112,6 +1112,103 @@
],
"extendsTokenRanges": []
},
{
"kind": "Function",
"canonicalReference": "@vue-storefront/middleware!apiClientFactory:function(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "apiClientFactory: <ALL_SETTINGS extends "
},
{
"kind": "Reference",
"text": "ApiClientConfig",
"canonicalReference": "@vue-storefront/middleware!ApiClientConfig:interface"
},
{
"kind": "Content",
"text": "<any>"
},
{
"kind": "Content",
"text": ", ALL_FUNCTIONS extends "
},
{
"kind": "Reference",
"text": "ApiMethods",
"canonicalReference": "@vue-storefront/middleware!ApiMethods:type"
},
{
"kind": "Content",
"text": ">(factoryParams: "
},
{
"kind": "Reference",
"text": "ApiClientFactoryParams",
"canonicalReference": "@vue-storefront/middleware!ApiClientFactoryParams:interface"
},
{
"kind": "Content",
"text": "<ALL_SETTINGS, ALL_FUNCTIONS, any>"
},
{
"kind": "Content",
"text": ") => "
},
{
"kind": "Reference",
"text": "ApiClientFactory",
"canonicalReference": "@vue-storefront/middleware!ApiClientFactory:interface"
},
{
"kind": "Content",
"text": "<any, ALL_FUNCTIONS>"
}
],
"fileUrlPath": "src/apiClientFactory/index.ts",
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 11
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "factoryParams",
"parameterTypeTokenRange": {
"startIndex": 6,
"endIndex": 8
},
"isOptional": false
}
],
"typeParameters": [
{
"typeParameterName": "ALL_SETTINGS",
"constraintTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"defaultTypeTokenRange": {
"startIndex": 0,
"endIndex": 0
}
},
{
"typeParameterName": "ALL_FUNCTIONS",
"constraintTokenRange": {
"startIndex": 4,
"endIndex": 5
},
"defaultTypeTokenRange": {
"startIndex": 0,
"endIndex": 0
}
}
],
"name": "apiClientFactory"
},
{
"kind": "Interface",
"canonicalReference": "@vue-storefront/middleware!ApiClientFactory:interface",
Expand Down Expand Up @@ -1261,65 +1358,6 @@
],
"extendsTokenRanges": []
},
{
"kind": "Variable",
"canonicalReference": "@vue-storefront/middleware!apiClientFactory:var",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "apiClientFactory: "
},
{
"kind": "Content",
"text": "<ALL_SETTINGS extends "
},
{
"kind": "Reference",
"text": "ApiClientConfig",
"canonicalReference": "@vue-storefront/middleware!ApiClientConfig:interface"
},
{
"kind": "Content",
"text": "<any>, ALL_FUNCTIONS extends "
},
{
"kind": "Reference",
"text": "ApiMethods",
"canonicalReference": "@vue-storefront/middleware!ApiMethods:type"
},
{
"kind": "Content",
"text": ">(factoryParams: "
},
{
"kind": "Reference",
"text": "ApiClientFactoryParams",
"canonicalReference": "@vue-storefront/middleware!ApiClientFactoryParams:interface"
},
{
"kind": "Content",
"text": "<ALL_SETTINGS, ALL_FUNCTIONS, any>) => "
},
{
"kind": "Reference",
"text": "ApiClientFactory",
"canonicalReference": "@vue-storefront/middleware!ApiClientFactory:interface"
},
{
"kind": "Content",
"text": "<any, ALL_FUNCTIONS>"
}
],
"fileUrlPath": "src/apiClientFactory/index.ts",
"isReadonly": true,
"releaseTag": "Public",
"name": "apiClientFactory",
"variableTypeTokenRange": {
"startIndex": 1,
"endIndex": 10
}
},
{
"kind": "Interface",
"canonicalReference": "@vue-storefront/middleware!ApiClientFactoryParams:interface",
Expand Down
40 changes: 25 additions & 15 deletions docs/content/3.middleware/3.api/multistore.api.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"toolPackage": "@microsoft/api-extractor",
"toolVersion": "7.36.4",
"toolVersion": "7.42.3",
"schemaVersion": 1011,
"oldestForwardsCompatibleVersion": 1001,
"tsdocConfig": {
Expand Down Expand Up @@ -303,17 +303,13 @@
"extendsTokenRanges": []
},
{
"kind": "Variable",
"canonicalReference": "@vue-storefront/multistore!createMultistoreExtension:var",
"kind": "Function",
"canonicalReference": "@vue-storefront/multistore!createMultistoreExtension:function(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "createMultistoreExtension: "
},
{
"kind": "Content",
"text": "(multistoreConfig: "
"text": "createMultistoreExtension: (multistoreConfig: "
},
{
"kind": "Reference",
Expand All @@ -322,7 +318,11 @@
},
{
"kind": "Content",
"text": ") => {\n name: string;\n isNamespaced: false;\n extendApp: () => void;\n hooks: (req: import(\"express\")."
"text": ") => "
},
{
"kind": "Content",
"text": "{\n name: string;\n isNamespaced: false;\n extendApp: () => void;\n hooks: (req: import(\"express\")."
},
{
"kind": "Reference",
Expand Down Expand Up @@ -389,13 +389,23 @@
}
],
"fileUrlPath": "src/extension.ts",
"isReadonly": true,
"releaseTag": "Public",
"name": "createMultistoreExtension",
"variableTypeTokenRange": {
"startIndex": 1,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 18
}
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "multistoreConfig",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": false
}
],
"name": "createMultistoreExtension"
},
{
"kind": "Interface",
Expand Down
2 changes: 1 addition & 1 deletion docs/content/3.middleware/4.reference/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

- 1e9fe5366: It is now possible to add namespaced extensions to integrations. Namespaced extensions are registered under `/{integration-name}/{extension-name}` extension of integration's namespace in opposition to non-namespaced extensions which are registered under `/{integration-name}` integration's namespace. Default value is `false`. Extensions without a namespace can potentially override existing endpoints, so it's recommended to use namespaced extensions whenever possible.

Read more about extensions in our [docs](/middleware/guides/extensions).
Read more about extensions in our [docs](https://docs.vuestorefront.io/middleware/guides/extensions).

## 3.7.1

Expand Down
Loading