|
389 | 389 | "endIndex": 4
|
390 | 390 | }
|
391 | 391 | },
|
| 392 | + { |
| 393 | + "kind": "TypeAlias", |
| 394 | + "canonicalReference": "@vue-storefront/middleware!AlokaiLocal:type", |
| 395 | + "docComment": "", |
| 396 | + "excerptTokens": [ |
| 397 | + { |
| 398 | + "kind": "Content", |
| 399 | + "text": "export type AlokaiLocal = " |
| 400 | + }, |
| 401 | + { |
| 402 | + "kind": "Content", |
| 403 | + "text": "{\n metadata?: {\n context?: string;\n scope?: " |
| 404 | + }, |
| 405 | + { |
| 406 | + "kind": "Reference", |
| 407 | + "text": "LogScope", |
| 408 | + "canonicalReference": "@vue-storefront/middleware!LogScope:type" |
| 409 | + }, |
| 410 | + { |
| 411 | + "kind": "Content", |
| 412 | + "text": ";\n };\n}" |
| 413 | + }, |
| 414 | + { |
| 415 | + "kind": "Content", |
| 416 | + "text": ";" |
| 417 | + } |
| 418 | + ], |
| 419 | + "fileUrlPath": "src/types/common.ts", |
| 420 | + "releaseTag": "Public", |
| 421 | + "name": "AlokaiLocal", |
| 422 | + "typeTokenRange": { |
| 423 | + "startIndex": 1, |
| 424 | + "endIndex": 4 |
| 425 | + } |
| 426 | + }, |
392 | 427 | {
|
393 | 428 | "kind": "TypeAlias",
|
394 | 429 | "canonicalReference": "@vue-storefront/middleware!AnyFunction:type",
|
|
917 | 952 | },
|
918 | 953 | {
|
919 | 954 | "kind": "Reference",
|
920 |
| - "text": "Response", |
921 |
| - "canonicalReference": "@types/express!e.Response:interface" |
| 955 | + "text": "ResponseWithAlokaiLocals", |
| 956 | + "canonicalReference": "@vue-storefront/middleware!~ResponseWithAlokaiLocals:type" |
922 | 957 | },
|
923 | 958 | {
|
924 | 959 | "kind": "Content",
|
|
2711 | 2746 | },
|
2712 | 2747 | {
|
2713 | 2748 | "kind": "Content",
|
2714 |
| - "text": "<API>;\n}" |
| 2749 | + "text": "<API>;\n integrationTag: string;\n}" |
2715 | 2750 | },
|
2716 | 2751 | {
|
2717 | 2752 | "kind": "Content",
|
|
4203 | 4238 | },
|
4204 | 4239 | {
|
4205 | 4240 | "kind": "Content",
|
4206 |
| - "text": ", T>" |
| 4241 | + "text": ", T> & {\n name: string;\n}" |
4207 | 4242 | },
|
4208 | 4243 | {
|
4209 | 4244 | "kind": "Content",
|
|
4570 | 4605 | "startIndex": 1,
|
4571 | 4606 | "endIndex": 2
|
4572 | 4607 | }
|
| 4608 | + }, |
| 4609 | + { |
| 4610 | + "kind": "PropertySignature", |
| 4611 | + "canonicalReference": "@vue-storefront/middleware!HookParams#logger:member", |
| 4612 | + "docComment": "", |
| 4613 | + "excerptTokens": [ |
| 4614 | + { |
| 4615 | + "kind": "Content", |
| 4616 | + "text": "logger?: " |
| 4617 | + }, |
| 4618 | + { |
| 4619 | + "kind": "Reference", |
| 4620 | + "text": "LoggerInterface", |
| 4621 | + "canonicalReference": "@vue-storefront/logger!LoggerInterface:interface" |
| 4622 | + }, |
| 4623 | + { |
| 4624 | + "kind": "Content", |
| 4625 | + "text": ";" |
| 4626 | + } |
| 4627 | + ], |
| 4628 | + "isReadonly": false, |
| 4629 | + "isOptional": true, |
| 4630 | + "releaseTag": "Public", |
| 4631 | + "name": "logger", |
| 4632 | + "propertyTypeTokenRange": { |
| 4633 | + "startIndex": 1, |
| 4634 | + "endIndex": 2 |
| 4635 | + } |
4573 | 4636 | }
|
4574 | 4637 | ],
|
4575 | 4638 | "extendsTokenRanges": []
|
|
4767 | 4830 | },
|
4768 | 4831 | {
|
4769 | 4832 | "kind": "Reference",
|
4770 |
| - "text": "Response", |
4771 |
| - "canonicalReference": "@types/express!e.Response:interface" |
| 4833 | + "text": "ResponseWithAlokaiLocals", |
| 4834 | + "canonicalReference": "@vue-storefront/middleware!~ResponseWithAlokaiLocals:type" |
4772 | 4835 | },
|
4773 | 4836 | {
|
4774 | 4837 | "kind": "Content",
|
|
5371 | 5434 | },
|
5372 | 5435 | {
|
5373 | 5436 | "kind": "Reference",
|
5374 |
| - "text": "Response", |
5375 |
| - "canonicalReference": "@types/express!e.Response:interface" |
| 5437 | + "text": "ResponseWithAlokaiLocals", |
| 5438 | + "canonicalReference": "@vue-storefront/middleware!~ResponseWithAlokaiLocals:type" |
5376 | 5439 | },
|
5377 | 5440 | {
|
5378 | 5441 | "kind": "Content",
|
|
5875 | 5938 | "endIndex": 2
|
5876 | 5939 | }
|
5877 | 5940 | },
|
| 5941 | + { |
| 5942 | + "kind": "TypeAlias", |
| 5943 | + "canonicalReference": "@vue-storefront/middleware!LogScope:type", |
| 5944 | + "docComment": "", |
| 5945 | + "excerptTokens": [ |
| 5946 | + { |
| 5947 | + "kind": "Content", |
| 5948 | + "text": "export type LogScope = " |
| 5949 | + }, |
| 5950 | + { |
| 5951 | + "kind": "Content", |
| 5952 | + "text": "{\n integrationName: string;\n extensionName?: string;\n functionName?: string;\n hookName?: \"extendApp\" | \"hooks\" | \"onCreate\" | \"init\" | \"beforeCall\" | \"beforeCreate\" | \"afterCall\" | \"afterCreate\";\n type: \"endpoint\" | \"bootstrapHook\" | \"requestHook\";\n}" |
| 5953 | + }, |
| 5954 | + { |
| 5955 | + "kind": "Content", |
| 5956 | + "text": ";" |
| 5957 | + } |
| 5958 | + ], |
| 5959 | + "fileUrlPath": "src/types/common.ts", |
| 5960 | + "releaseTag": "Public", |
| 5961 | + "name": "LogScope", |
| 5962 | + "typeTokenRange": { |
| 5963 | + "startIndex": 1, |
| 5964 | + "endIndex": 2 |
| 5965 | + } |
| 5966 | + }, |
5878 | 5967 | {
|
5879 | 5968 | "kind": "Interface",
|
5880 | 5969 | "canonicalReference": "@vue-storefront/middleware!MiddlewareConfig:interface",
|
|
6237 | 6326 | "endIndex": 2
|
6238 | 6327 | }
|
6239 | 6328 | },
|
| 6329 | + { |
| 6330 | + "kind": "PropertySignature", |
| 6331 | + "canonicalReference": "@vue-storefront/middleware!MiddlewareContext#integrationTag:member", |
| 6332 | + "docComment": "", |
| 6333 | + "excerptTokens": [ |
| 6334 | + { |
| 6335 | + "kind": "Content", |
| 6336 | + "text": "integrationTag: " |
| 6337 | + }, |
| 6338 | + { |
| 6339 | + "kind": "Content", |
| 6340 | + "text": "string" |
| 6341 | + }, |
| 6342 | + { |
| 6343 | + "kind": "Content", |
| 6344 | + "text": ";" |
| 6345 | + } |
| 6346 | + ], |
| 6347 | + "isReadonly": false, |
| 6348 | + "isOptional": false, |
| 6349 | + "releaseTag": "Public", |
| 6350 | + "name": "integrationTag", |
| 6351 | + "propertyTypeTokenRange": { |
| 6352 | + "startIndex": 1, |
| 6353 | + "endIndex": 2 |
| 6354 | + } |
| 6355 | + }, |
6240 | 6356 | {
|
6241 | 6357 | "kind": "PropertySignature",
|
6242 | 6358 | "canonicalReference": "@vue-storefront/middleware!MiddlewareContext#req:member",
|
|
6276 | 6392 | },
|
6277 | 6393 | {
|
6278 | 6394 | "kind": "Reference",
|
6279 |
| - "text": "Response", |
6280 |
| - "canonicalReference": "@types/express!e.Response:interface" |
| 6395 | + "text": "ResponseWithAlokaiLocals", |
| 6396 | + "canonicalReference": "@vue-storefront/middleware!~ResponseWithAlokaiLocals:type" |
6281 | 6397 | },
|
6282 | 6398 | {
|
6283 | 6399 | "kind": "Content",
|
|
0 commit comments