@scayle/omnichannel-nuxt 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @scayle/omnichannel-nuxt
2
2
 
3
+ ## 4.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Update to `@nuxt/module-builder@1`. This version of Nuxt Module Builder is ESM-only, so CommonJS (`.cjs`) files will no longer be built or distributed with the package. However as of Nuxt 3, only esm is used so this should not have any impact as this module does not support Nuxt 2.
8
+
3
9
  ## 4.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { ValuesType } from 'utility-types';
2
+ export * from '../dist/runtime/types/index.js';
2
3
 
3
4
  declare const OpeningTime: {
4
5
  readonly MONDAY: "mon";
@@ -11,158 +12,4 @@ declare const OpeningTime: {
11
12
  };
12
13
  type OpeningTime = ValuesType<typeof OpeningTime>;
13
14
 
14
- interface StoreLocatorConfig {
15
- token: string;
16
- host: string;
17
- companyId?: number;
18
- googleApiKey?: string;
19
- additionalHeaders?: HeadersInit;
20
- }
21
- interface GeoPoint {
22
- lat: number;
23
- lng: number;
24
- }
25
- interface OpeningTimeInterval {
26
- timeFrom: string;
27
- timeUntil: string;
28
- }
29
- interface OpeningTimeException {
30
- exceptionDate: string;
31
- exceptionName: string;
32
- exceptionType: 'open' | 'closed';
33
- timeFrom: string;
34
- timeUntil: string;
35
- }
36
- interface StoreImage {
37
- id: number;
38
- name: string;
39
- damKey: string;
40
- url: string;
41
- customData: object;
42
- }
43
- interface StoreAddress {
44
- street: string;
45
- houseNumber: string;
46
- zipCode: string;
47
- city: string;
48
- countryCode: string;
49
- }
50
- interface StoreItemVariant {
51
- variantId: number;
52
- variantReferenceKey: string;
53
- quantity: number;
54
- }
55
- interface StoreItem {
56
- productId: number;
57
- productReferenceKey: string;
58
- name: object;
59
- image: string;
60
- variants: StoreItemVariant[];
61
- }
62
- interface OpeningTimes {
63
- mon: OpeningTimeInterval[];
64
- tue: OpeningTimeInterval[];
65
- wed: OpeningTimeInterval[];
66
- thu: OpeningTimeInterval[];
67
- fri: OpeningTimeInterval[];
68
- sat: OpeningTimeInterval[];
69
- sun: OpeningTimeInterval[];
70
- exceptions: OpeningTimeException[];
71
- currentlyOpen: boolean;
72
- minutesUntilClosed: number;
73
- }
74
- interface Store {
75
- id: number;
76
- referenceKey: string;
77
- name: string;
78
- email: string;
79
- address: StoreAddress;
80
- openingTimes?: OpeningTimes;
81
- geoPoint: GeoPoint;
82
- customData?: object;
83
- settings?: {
84
- shipFromStore: boolean;
85
- clickAndCollect: boolean;
86
- };
87
- isActive: boolean;
88
- images?: StoreImage;
89
- }
90
- type StoreWithProperty = 'openingTimes' | 'customData' | 'images' | 'settings';
91
- interface OmnichannelMeta {
92
- path: string;
93
- currentPage: number;
94
- lastPage: number;
95
- from: number;
96
- to: number;
97
- perPage: number;
98
- total: number;
99
- firstPageUrl: string;
100
- lastPageUrl: string;
101
- prevPageUrl: string | null;
102
- nextPageUrl: string | null;
103
- }
104
- interface OmnichannelLinks {
105
- first: string | null;
106
- last: string | null;
107
- prev: string | null;
108
- next: string | null;
109
- }
110
- interface StoreLocation extends Store {
111
- distance: number;
112
- }
113
- interface StoreLocationResponse {
114
- data: StoreLocation[];
115
- meta: {
116
- searchAddress: GeoPoint;
117
- };
118
- }
119
- interface StoreVariantLocation extends StoreLocation {
120
- quantity: number;
121
- }
122
- interface StoreAvailabilityCheck extends Store {
123
- items: StoreItem[];
124
- }
125
- interface StoreAvailabilityCheckResponse {
126
- data: StoreAvailabilityCheck;
127
- meta: OmnichannelMeta;
128
- }
129
- interface VariantLocation {
130
- name: object;
131
- productId: number;
132
- variantId: number;
133
- productReferenceKey: string;
134
- variantReferenceKey: string;
135
- image: string;
136
- additionalData: object;
137
- stores: StoreVariantLocation[];
138
- }
139
- interface VariantLocationResponse {
140
- data: VariantLocation;
141
- meta: OmnichannelMeta;
142
- }
143
- interface FiltersAddressParams {
144
- address: string;
145
- radius: number;
146
- }
147
- interface FiltersCoordinatesParams {
148
- geoPoint: GeoPoint;
149
- radius: number;
150
- }
151
- interface StoreLocatorSearchParams {
152
- filters: FiltersAddressParams | FiltersCoordinatesParams;
153
- perPage?: number;
154
- with?: StoreWithProperty[];
155
- }
156
- interface VariantLocatorSearchParams {
157
- variantId: number;
158
- filters: FiltersAddressParams | FiltersCoordinatesParams;
159
- perPage?: number;
160
- with?: StoreWithProperty[];
161
- }
162
- interface FetchStoreVariantByIdParams {
163
- storeId: number;
164
- variantId: number;
165
- with?: StoreWithProperty[];
166
- }
167
-
168
- export { type FetchStoreVariantByIdParams, type FiltersAddressParams, type FiltersCoordinatesParams, type GeoPoint, type OmnichannelLinks, type OmnichannelMeta, OpeningTime, type OpeningTimeException, type OpeningTimeInterval, type OpeningTimes, type Store, type StoreAddress, type StoreAvailabilityCheck, type StoreAvailabilityCheckResponse, type StoreImage, type StoreItem, type StoreItemVariant, type StoreLocation, type StoreLocationResponse, type StoreLocatorConfig, type StoreLocatorSearchParams, type StoreVariantLocation, type StoreWithProperty, type VariantLocation, type VariantLocationResponse, type VariantLocatorSearchParams };
15
+ export { OpeningTime };
package/dist/index.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ export * from '../dist/runtime/types/index.js';
2
+
1
3
  const OpeningTime = {
2
4
  MONDAY: "mon",
3
5
  TUESDAY: "tue",
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@scayle/omnichannel-nuxt",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "configKey": "@scayle/omnichannel-nuxt",
5
5
  "builder": {
6
- "@nuxt/module-builder": "0.8.4",
7
- "unbuild": "3.3.1"
6
+ "@nuxt/module-builder": "1.0.1",
7
+ "unbuild": "2.0.0"
8
8
  }
9
9
  }
package/dist/module.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineNuxtModule, isNuxtMajorVersion, createResolver, addImportsDir } from '@nuxt/kit';
2
2
 
3
3
  const PACKAGE_NAME = "@scayle/omnichannel-nuxt";
4
- const PACKAGE_VERSION = "4.2.0";
4
+ const PACKAGE_VERSION = "4.3.0";
5
5
  const module = defineNuxtModule({
6
6
  meta: {
7
7
  name: PACKAGE_NAME,
@@ -1,9 +1,9 @@
1
- import type { StoreWithProperty } from '../../types/index.js';
1
+ import type { StoreWithProperty } from '../types/index.js';
2
2
  export declare function useStoreLocator(key?: string, withProperties?: StoreWithProperty[]): {
3
- storesData: import("vue").ComputedRef<import("../../types").StoreLocation[] | null>;
4
- refreshStores: (searchParams: import("../../types").StoreLocatorSearchParams) => Promise<void>;
5
- storeVariantData: import("vue").ComputedRef<import("../../types").StoreAvailabilityCheck | null>;
3
+ storesData: import("vue").ComputedRef<import("../types/index.js").StoreLocation[] | null>;
4
+ refreshStores: (searchParams: import("../types/index.js").StoreLocatorSearchParams) => Promise<void>;
5
+ storeVariantData: import("vue").ComputedRef<import("../types/index.js").StoreAvailabilityCheck | null>;
6
6
  refreshStoreVariant: (variantId: number, storeId: number) => Promise<void>;
7
- variantStoresData: import("vue").ComputedRef<import("../../types").VariantLocation | null>;
8
- refreshVariantStores: (searchParams: import("../../types").VariantLocatorSearchParams) => Promise<void>;
7
+ variantStoresData: import("vue").ComputedRef<import("../types/index.js").VariantLocation | null>;
8
+ refreshVariantStores: (searchParams: import("../types/index.js").VariantLocatorSearchParams) => Promise<void>;
9
9
  };
@@ -1,4 +1,4 @@
1
- import type { StoreAvailabilityCheck, StoreWithProperty } from '../../types/index.js';
1
+ import type { StoreAvailabilityCheck, StoreWithProperty } from '../types/index.js';
2
2
  export declare function useStoreVariantById(key?: string, withProperties?: StoreWithProperty[]): {
3
3
  data: import("vue").ComputedRef<StoreAvailabilityCheck | null>;
4
4
  getData: (variantId: number, storeId: number) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import type { StoreLocatorSearchParams, StoreLocation, StoreWithProperty } from '../../types/index.js';
1
+ import type { StoreLocatorSearchParams, StoreLocation, StoreWithProperty } from '../types/index.js';
2
2
  export declare function useStores(key?: string, withProperties?: StoreWithProperty[]): {
3
3
  data: import("vue").ComputedRef<StoreLocation[] | null>;
4
4
  getData: (searchParams: StoreLocatorSearchParams) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import type { VariantLocatorSearchParams, VariantLocation, StoreWithProperty } from '../../types/index.js';
1
+ import type { VariantLocatorSearchParams, VariantLocation, StoreWithProperty } from '../types/index.js';
2
2
  export declare function useVariantStores(key?: string, withProperties?: StoreWithProperty[]): {
3
3
  data: import("vue").ComputedRef<VariantLocation | null>;
4
4
  getData: (searchParams: VariantLocatorSearchParams) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import type { StoreLocationResponse, StoreLocatorConfig, StoreLocatorSearchParams, StoreAvailabilityCheckResponse, VariantLocationResponse, VariantLocatorSearchParams, FetchStoreVariantByIdParams } from '../../types/index.js';
1
+ import type { StoreLocationResponse, StoreLocatorConfig, StoreLocatorSearchParams, StoreAvailabilityCheckResponse, VariantLocationResponse, VariantLocatorSearchParams, FetchStoreVariantByIdParams } from '../types/index.js';
2
2
  /**
3
3
  * A custom Error type for errors that occur in a fetch() request
4
4
  * Contains the Response object from the request, and optionally the response data
@@ -1,5 +1,5 @@
1
1
  import type { RpcContext } from '@scayle/storefront-nuxt';
2
- import type { StoreLocatorSearchParams, VariantLocatorSearchParams, FetchStoreVariantByIdParams, VariantLocationResponse, StoreAvailabilityCheckResponse, StoreLocationResponse } from '../../types/index.js';
2
+ import type { StoreLocatorSearchParams, VariantLocatorSearchParams, FetchStoreVariantByIdParams, VariantLocationResponse, StoreAvailabilityCheckResponse, StoreLocationResponse } from '../types/index.js';
3
3
  export declare const getStores: (options: StoreLocatorSearchParams, context: RpcContext) => Promise<StoreLocationResponse>;
4
4
  export declare const getStoresForVariant: (options: VariantLocatorSearchParams, context: RpcContext) => Promise<VariantLocationResponse>;
5
5
  export declare const getStoreVariantById: (options: FetchStoreVariantByIdParams, context: RpcContext) => Promise<StoreAvailabilityCheckResponse>;
@@ -1,65 +1,52 @@
1
- import { ValuesType } from 'utility-types';
2
-
3
- declare const OpeningTime: {
4
- readonly MONDAY: "mon";
5
- readonly TUESDAY: "tue";
6
- readonly WEDNESDAY: "wed";
7
- readonly THURSDAY: "thu";
8
- readonly FRIDAY: "fri";
9
- readonly SATURDAY: "sat";
10
- readonly SUNDAY: "sun";
11
- };
12
- type OpeningTime = ValuesType<typeof OpeningTime>;
13
-
14
- interface StoreLocatorConfig {
1
+ export interface StoreLocatorConfig {
15
2
  token: string;
16
3
  host: string;
17
4
  companyId?: number;
18
5
  googleApiKey?: string;
19
6
  additionalHeaders?: HeadersInit;
20
7
  }
21
- interface GeoPoint {
8
+ export interface GeoPoint {
22
9
  lat: number;
23
10
  lng: number;
24
11
  }
25
- interface OpeningTimeInterval {
12
+ export interface OpeningTimeInterval {
26
13
  timeFrom: string;
27
14
  timeUntil: string;
28
15
  }
29
- interface OpeningTimeException {
16
+ export interface OpeningTimeException {
30
17
  exceptionDate: string;
31
18
  exceptionName: string;
32
19
  exceptionType: 'open' | 'closed';
33
20
  timeFrom: string;
34
21
  timeUntil: string;
35
22
  }
36
- interface StoreImage {
23
+ export interface StoreImage {
37
24
  id: number;
38
25
  name: string;
39
26
  damKey: string;
40
27
  url: string;
41
28
  customData: object;
42
29
  }
43
- interface StoreAddress {
30
+ export interface StoreAddress {
44
31
  street: string;
45
32
  houseNumber: string;
46
33
  zipCode: string;
47
34
  city: string;
48
35
  countryCode: string;
49
36
  }
50
- interface StoreItemVariant {
37
+ export interface StoreItemVariant {
51
38
  variantId: number;
52
39
  variantReferenceKey: string;
53
40
  quantity: number;
54
41
  }
55
- interface StoreItem {
42
+ export interface StoreItem {
56
43
  productId: number;
57
44
  productReferenceKey: string;
58
45
  name: object;
59
46
  image: string;
60
47
  variants: StoreItemVariant[];
61
48
  }
62
- interface OpeningTimes {
49
+ export interface OpeningTimes {
63
50
  mon: OpeningTimeInterval[];
64
51
  tue: OpeningTimeInterval[];
65
52
  wed: OpeningTimeInterval[];
@@ -71,7 +58,7 @@ interface OpeningTimes {
71
58
  currentlyOpen: boolean;
72
59
  minutesUntilClosed: number;
73
60
  }
74
- interface Store {
61
+ export interface Store {
75
62
  id: number;
76
63
  referenceKey: string;
77
64
  name: string;
@@ -87,8 +74,8 @@ interface Store {
87
74
  isActive: boolean;
88
75
  images?: StoreImage;
89
76
  }
90
- type StoreWithProperty = 'openingTimes' | 'customData' | 'images' | 'settings';
91
- interface OmnichannelMeta {
77
+ export type StoreWithProperty = 'openingTimes' | 'customData' | 'images' | 'settings';
78
+ export interface OmnichannelMeta {
92
79
  path: string;
93
80
  currentPage: number;
94
81
  lastPage: number;
@@ -101,32 +88,32 @@ interface OmnichannelMeta {
101
88
  prevPageUrl: string | null;
102
89
  nextPageUrl: string | null;
103
90
  }
104
- interface OmnichannelLinks {
91
+ export interface OmnichannelLinks {
105
92
  first: string | null;
106
93
  last: string | null;
107
94
  prev: string | null;
108
95
  next: string | null;
109
96
  }
110
- interface StoreLocation extends Store {
97
+ export interface StoreLocation extends Store {
111
98
  distance: number;
112
99
  }
113
- interface StoreLocationResponse {
100
+ export interface StoreLocationResponse {
114
101
  data: StoreLocation[];
115
102
  meta: {
116
103
  searchAddress: GeoPoint;
117
104
  };
118
105
  }
119
- interface StoreVariantLocation extends StoreLocation {
106
+ export interface StoreVariantLocation extends StoreLocation {
120
107
  quantity: number;
121
108
  }
122
- interface StoreAvailabilityCheck extends Store {
109
+ export interface StoreAvailabilityCheck extends Store {
123
110
  items: StoreItem[];
124
111
  }
125
- interface StoreAvailabilityCheckResponse {
112
+ export interface StoreAvailabilityCheckResponse {
126
113
  data: StoreAvailabilityCheck;
127
114
  meta: OmnichannelMeta;
128
115
  }
129
- interface VariantLocation {
116
+ export interface VariantLocation {
130
117
  name: object;
131
118
  productId: number;
132
119
  variantId: number;
@@ -136,33 +123,31 @@ interface VariantLocation {
136
123
  additionalData: object;
137
124
  stores: StoreVariantLocation[];
138
125
  }
139
- interface VariantLocationResponse {
126
+ export interface VariantLocationResponse {
140
127
  data: VariantLocation;
141
128
  meta: OmnichannelMeta;
142
129
  }
143
- interface FiltersAddressParams {
130
+ export interface FiltersAddressParams {
144
131
  address: string;
145
132
  radius: number;
146
133
  }
147
- interface FiltersCoordinatesParams {
134
+ export interface FiltersCoordinatesParams {
148
135
  geoPoint: GeoPoint;
149
136
  radius: number;
150
137
  }
151
- interface StoreLocatorSearchParams {
138
+ export interface StoreLocatorSearchParams {
152
139
  filters: FiltersAddressParams | FiltersCoordinatesParams;
153
140
  perPage?: number;
154
141
  with?: StoreWithProperty[];
155
142
  }
156
- interface VariantLocatorSearchParams {
143
+ export interface VariantLocatorSearchParams {
157
144
  variantId: number;
158
145
  filters: FiltersAddressParams | FiltersCoordinatesParams;
159
146
  perPage?: number;
160
147
  with?: StoreWithProperty[];
161
148
  }
162
- interface FetchStoreVariantByIdParams {
149
+ export interface FetchStoreVariantByIdParams {
163
150
  storeId: number;
164
151
  variantId: number;
165
152
  with?: StoreWithProperty[];
166
153
  }
167
-
168
- export { type FetchStoreVariantByIdParams, type FiltersAddressParams, type FiltersCoordinatesParams, type GeoPoint, type OmnichannelLinks, type OmnichannelMeta, OpeningTime, type OpeningTimeException, type OpeningTimeInterval, type OpeningTimes, type Store, type StoreAddress, type StoreAvailabilityCheck, type StoreAvailabilityCheckResponse, type StoreImage, type StoreItem, type StoreItemVariant, type StoreLocation, type StoreLocationResponse, type StoreLocatorConfig, type StoreLocatorSearchParams, type StoreVariantLocation, type StoreWithProperty, type VariantLocation, type VariantLocationResponse, type VariantLocatorSearchParams };
File without changes
package/dist/types.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { NuxtModule } from '@nuxt/schema'
2
2
 
3
- import type { default as Module } from './module.js'
3
+ import type { default as Module } from './module.mjs'
4
4
 
5
5
  export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
6
 
7
- export { default } from './module.js'
7
+ export { default } from './module.mjs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/omnichannel-nuxt",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "description": "Collection of essential utilities to work with omnichannel",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -11,13 +11,16 @@
11
11
  "website": "https://scayle.dev/en/extensions/omnichannel/user-guide",
12
12
  "exports": {
13
13
  "./module": {
14
- "types": "./dist/module.d.ts",
15
- "require": "./dist/module.cjs",
14
+ "types": "./dist/module.d.mts",
16
15
  "import": "./dist/module.mjs"
17
16
  },
18
17
  ".": {
19
- "types": "./dist/index.d.ts",
18
+ "types": "./dist/index.d.mts",
20
19
  "import": "./dist/index.mjs"
20
+ },
21
+ "./composables": {
22
+ "types": "./dist/runtime/composables/index.d.ts",
23
+ "import": "./dist/runtime/composables/index.js"
21
24
  }
22
25
  },
23
26
  "imports": {
@@ -25,7 +28,6 @@
25
28
  },
26
29
  "main": "./dist/index.mjs",
27
30
  "type": "module",
28
- "types": "./dist/index.d.ts",
29
31
  "files": [
30
32
  "CHANGELOG.md",
31
33
  "dist/**"
@@ -44,9 +46,11 @@
44
46
  "prep": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
45
47
  "format": "dprint check",
46
48
  "format:fix": "dprint fmt",
47
- "lint": "eslint . --format gitlab",
49
+ "lint": "eslint .",
50
+ "lint:ci": "eslint . --format gitlab",
48
51
  "lint:fix": "eslint . --fix",
49
52
  "package:lint": "publint",
53
+ "verify-packaging": "attw --pack . --profile esm-only",
50
54
  "typecheck": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
51
55
  "test": "vitest --run --passWithNoTests",
52
56
  "test:watch": "vitest --passWithNoTests",
@@ -61,24 +65,27 @@
61
65
  "utility-types": "^3.11.0"
62
66
  },
63
67
  "devDependencies": {
64
- "@nuxt/eslint": "1.0.1",
65
- "@nuxt/module-builder": "0.8.4",
66
- "@nuxt/schema": "3.14.1592",
67
- "@scayle/eslint-config-storefront": "4.4.1",
68
- "@scayle/storefront-nuxt": "8.10.0",
69
- "@types/node": "22.13.4",
68
+ "@arethetypeswrong/cli": "0.17.4",
69
+ "@nuxt/eslint": "1.3.0",
70
+ "@nuxt/module-builder": "1.0.1",
71
+ "@nuxt/schema": "3.15.4",
72
+ "@scayle/eslint-config-storefront": "4.5.0",
73
+ "@scayle/storefront-nuxt": "8.24.0",
74
+ "@types/node": "22.14.1",
70
75
  "@types/qs": "6.9.18",
71
- "dprint": "0.49.0",
72
- "eslint": "9.20.1",
76
+ "dprint": "0.49.1",
73
77
  "eslint-formatter-gitlab": "5.1.0",
78
+ "eslint": "9.24.0",
74
79
  "h3": "1.15.0",
75
- "nuxi": "3.21.1",
76
- "nuxt": "3.14.1592",
77
- "typescript": "5.7.3",
78
- "vitest": "2.1.9",
79
- "vue-tsc": "2.2.2"
80
+ "nuxi": "3.24.1",
81
+ "nuxt": "3.15.4",
82
+ "typescript": "5.8.3",
83
+ "unbuild": "2.0.0",
84
+ "vitest": "3.1.1",
85
+ "vue-tsc": "2.2.8",
86
+ "vue": "3.5.13"
80
87
  },
81
88
  "volta": {
82
- "node": "22.13.1"
89
+ "node": "22.14.0"
83
90
  }
84
91
  }
package/dist/module.cjs DELETED
@@ -1,5 +0,0 @@
1
- module.exports = function(...args) {
2
- return import('./module.mjs').then(m => m.default.call(this, ...args))
3
- }
4
- const _meta = module.exports.meta = require('./module.json')
5
- module.exports.getMeta = () => Promise.resolve(_meta)
package/dist/module.d.ts DELETED
@@ -1,21 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
-
3
- type ModuleOptions = {
4
- token: string;
5
- host: string;
6
- internalAccessHeader?: string | undefined;
7
- };
8
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
9
-
10
- interface OmnichannelRuntimeConfig {
11
- apiHost: string;
12
- apiToken: string;
13
- internalAccessHeader?: string;
14
- }
15
- declare module '@nuxt/schema' {
16
- interface RuntimeConfig {
17
- omnichannel: OmnichannelRuntimeConfig;
18
- }
19
- }
20
-
21
- export { _default as default };
package/dist/types.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { NuxtModule } from '@nuxt/schema'
2
-
3
- import type { default as Module } from './module'
4
-
5
- export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
-
7
- export { default } from './module'