@lasterp/shared 1.0.0-alpha.1 → 1.0.0-alpha.10

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/dist/index.d.ts CHANGED
@@ -1,298 +1,2 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
- export { decamelize as camelToSnake, decamelizeKeys as objectCamelToSnake, camelizeKeys as objectSnakeToCamel, camelize as snakeToCamel } from 'humps';
4
- import * as _tanstack_react_query from '@tanstack/react-query';
5
- import { UseQueryOptions } from '@tanstack/react-query';
6
-
7
- interface FrappeDoc {
8
- name: string;
9
- creation?: string;
10
- modified?: string;
11
- modifiedBy?: string;
12
- owner?: string;
13
- docStatus?: number;
14
- idx?: number;
15
- }
16
- interface FrappeChildDoc extends FrappeDoc {
17
- parent: string;
18
- parentType: string;
19
- parentField: string;
20
- }
21
-
22
- interface FrappeResponse<T = any> {
23
- message?: T;
24
- docs?: T[];
25
- exc?: string;
26
- exc_type?: string;
27
- _server_messages?: string;
28
- _error_message?: string;
29
- }
30
- interface FrappeError {
31
- message: string;
32
- statusCode?: number;
33
- exc?: string;
34
- excType?: string;
35
- serverMessages?: string;
36
- }
37
- interface AuthOptions {
38
- token?: string;
39
- apiKey?: {
40
- key: string;
41
- secret: string;
42
- };
43
- }
44
-
45
- declare function frappeCall<T = any>(baseUrl: string, method: string, args?: Record<string, any>, auth?: AuthOptions): Promise<T>;
46
- declare function frappeCallGet<T = any>(baseUrl: string, method: string, args?: Record<string, any>, auth?: AuthOptions): Promise<T>;
47
- declare function getList<T = any>(baseUrl: string, params: {
48
- doctype: string;
49
- fields?: string[];
50
- filters?: Record<string, any>;
51
- orderBy?: string;
52
- limitStart?: number;
53
- limitPageLength?: number;
54
- }, auth?: AuthOptions): Promise<T[]>;
55
- declare function getDoc<T = any>(baseUrl: string, doctype: string, name: string, auth?: AuthOptions): Promise<T>;
56
- declare function createDoc<T = any>(baseUrl: string, doctype: string, doc: Record<string, any>, auth?: AuthOptions): Promise<T>;
57
- declare function updateDoc<T = any>(baseUrl: string, doctype: string, name: string, doc: Record<string, any>, auth?: AuthOptions): Promise<T>;
58
- declare function deleteDoc(baseUrl: string, doctype: string, name: string, auth?: AuthOptions): Promise<void>;
59
- declare function getValue<T = any>(baseUrl: string, doctype: string, name: string, fieldname: string, auth?: AuthOptions): Promise<T>;
60
- declare function setValue<T = any>(baseUrl: string, doctype: string, name: string, fieldname: string, value: any, auth?: AuthOptions): Promise<T>;
61
- declare function getCount(baseUrl: string, doctype: string, filters?: Record<string, any>, auth?: AuthOptions): Promise<number>;
62
- declare function getCurrentUser(baseUrl: string, auth?: AuthOptions): Promise<any>;
63
-
64
- interface FrappeContextValue {
65
- baseUrl: string;
66
- token?: string;
67
- apiKey?: {
68
- key: string;
69
- secret: string;
70
- };
71
- }
72
- interface FrappeProviderProps {
73
- baseUrl: string;
74
- token?: string;
75
- apiKey?: {
76
- key: string;
77
- secret: string;
78
- };
79
- autoLoadAuth?: boolean;
80
- onLoadAuth?: () => Promise<{
81
- token?: string;
82
- apiKey?: {
83
- key: string;
84
- secret: string;
85
- };
86
- }> | {
87
- token?: string;
88
- apiKey?: {
89
- key: string;
90
- secret: string;
91
- };
92
- };
93
- children: ReactNode;
94
- }
95
- declare function FrappeProvider({ baseUrl, token: initialToken, apiKey: initialApiKey, autoLoadAuth, onLoadAuth, children, }: FrappeProviderProps): react_jsx_runtime.JSX.Element;
96
- declare function useFrappeConfig(): FrappeContextValue;
97
-
98
- declare function useFrappe(): {
99
- call: <T = any>(method: string, args?: Record<string, any>) => Promise<T>;
100
- callGet: <T = any>(method: string, args?: Record<string, any>) => Promise<T>;
101
- getList: <T = any>(params: {
102
- doctype: string;
103
- fields?: string[];
104
- filters?: Record<string, any>;
105
- orderBy?: string;
106
- limitStart?: number;
107
- limitPageLength?: number;
108
- }) => Promise<T[]>;
109
- getDoc: <T = any>(doctype: string, name: string) => Promise<T>;
110
- createDoc: <T = any>(doctype: string, doc: Record<string, any>) => Promise<T>;
111
- updateDoc: <T = any>(doctype: string, name: string, doc: Record<string, any>) => Promise<T>;
112
- deleteDoc: (doctype: string, name: string) => Promise<void>;
113
- baseUrl: string;
114
- auth: AuthOptions;
115
- };
116
-
117
- interface StorageAdapter {
118
- getItem(key: string): string | null | Promise<string | null>;
119
- setItem(key: string, value: string): void | Promise<void>;
120
- removeItem(key: string): void | Promise<void>;
121
- }
122
- declare const webStorageAdapter: StorageAdapter;
123
- declare function setStorageAdapter(adapter: StorageAdapter): void;
124
- declare function getStorageAdapter(): StorageAdapter;
125
- declare function getToken(): string | null | Promise<string | null>;
126
- declare function setToken(token: string): void | Promise<void>;
127
- declare function clearToken(): void | Promise<void>;
128
- declare function getApiKey(): Promise<{
129
- key: string;
130
- secret: string;
131
- } | null>;
132
- declare function setApiKey(key: string, secret: string): Promise<void>;
133
- declare function clearApiKey(): Promise<void>;
134
- declare function clearAuth(): Promise<void>;
135
- declare function isAuthenticated(): Promise<boolean>;
136
-
137
- interface Brand {
138
- brandImage?: string;
139
- }
140
- interface NavbarItem {
141
- label: string;
142
- enableDropdown: boolean;
143
- enableLink: boolean;
144
- link?: string;
145
- dropdownDescription?: string;
146
- dropdownCta?: string;
147
- groups?: NavbarSubItemGroup[];
148
- }
149
- interface NavbarSubItemGroup {
150
- title?: string;
151
- items: NavbarSubItem[];
152
- }
153
- interface NavbarSubItem {
154
- label: string;
155
- description?: string;
156
- image?: string;
157
- link?: string;
158
- }
159
- interface Topbar {
160
- topbarEnabled?: boolean;
161
- items: TopbarItem[];
162
- }
163
- interface TopbarItem {
164
- icon?: string;
165
- label: string;
166
- link?: string;
167
- }
168
- interface Header {
169
- brand: Brand;
170
- headerType?: string;
171
- tabs: NavbarItem[];
172
- topbar: Topbar;
173
- }
174
-
175
- interface FooterItemGroup {
176
- title: string;
177
- items: FooterItem[];
178
- }
179
- interface FooterItem {
180
- label: string;
181
- link?: string;
182
- }
183
- interface Footer {
184
- footerType?: string;
185
- groups: FooterItemGroup[];
186
- copyright?: string;
187
- address?: string;
188
- country?: string;
189
- phone?: string;
190
- email?: string;
191
- }
192
-
193
- interface Globals {
194
- header: Header;
195
- footer: Footer;
196
- }
197
-
198
- interface Hero {
199
- type: string;
200
- data: Record<string, unknown>;
201
- }
202
- interface Block {
203
- type: string;
204
- data?: Record<string, unknown>;
205
- }
206
- interface Page {
207
- slug: string;
208
- hero?: Hero;
209
- blocks: Block[];
210
- }
211
-
212
- declare function getPage(baseUrl: string, slug: string, auth?: AuthOptions): Promise<Page>;
213
-
214
- interface AaveFeatureSlidesData {
215
- feature1Title: string;
216
- feature1Description: string;
217
- feature1Cta?: string;
218
- feature2Title: string;
219
- feature2Description: string;
220
- feature2Cta?: string;
221
- }
222
-
223
- interface Item {
224
- itemCode: string;
225
- region: string;
226
- grade: string;
227
- gradeIssuer: string;
228
- color: string;
229
- storage: string;
230
- memory: string;
231
- network: string;
232
- }
233
- interface ItemVariant extends Item {
234
- itemVariant: string;
235
- }
236
- interface ModelNumber {
237
- modelNumber: string;
238
- simCardType: string;
239
- }
240
- interface Colour {
241
- name: string;
242
- color: string;
243
- }
244
-
245
- interface Category {
246
- name: string;
247
- categoryName: string;
248
- sequenceId: number;
249
- itemCode: string[];
250
- itemGroup: string[];
251
- brand: string[];
252
- os: string[];
253
- }
254
- interface Product extends Item {
255
- name: string;
256
- image: string;
257
- }
258
- interface ProductVariant extends ItemVariant {
259
- id: string;
260
- specs: Record<string, string>;
261
- price: number;
262
- stock: number;
263
- }
264
- interface ShopContext {
265
- title?: string;
266
- categories?: Category[];
267
- selectedCategory?: Category;
268
- grades?: string[];
269
- selectedGrade?: string;
270
- products: Product[];
271
- }
272
- interface ProductContext {
273
- currency: string;
274
- product: Product;
275
- specs: Record<string, string[]>;
276
- variants: ProductVariant[];
277
- modelNumbers: Record<string, ModelNumber>;
278
- colours: Record<string, Colour>;
279
- variantImages: Record<string, string[]>;
280
- }
281
-
282
- declare function getShopContext(baseUrl: string, params?: {
283
- categoryName?: string;
284
- gradeName?: string;
285
- }, auth?: AuthOptions): Promise<ShopContext>;
286
- declare function getProductContext(baseUrl: string, productName: string, auth?: AuthOptions): Promise<ProductContext>;
287
-
288
- declare function useShopContext(params?: {
289
- categoryName?: string;
290
- gradeName?: string;
291
- }, options?: Omit<UseQueryOptions<ShopContext, Error>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ShopContext, Error>;
292
- declare function useProductContext(productName: string, options?: Omit<UseQueryOptions<ProductContext, Error>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ProductContext, Error>;
293
-
294
- declare function toDescription(modelNumber: ModelNumber): string | null;
295
-
296
- declare function equalsIgnoreCase(str1: string, str2: string): boolean;
297
-
298
- export { type AaveFeatureSlidesData, type AuthOptions, type Block, type Brand, type Category, type Colour, type Footer, type FooterItem, type FooterItemGroup, type FrappeChildDoc, type FrappeContextValue, type FrappeDoc, type FrappeError, FrappeProvider, type FrappeProviderProps, type FrappeResponse, type Globals, type Header, type Hero, type Item, type ItemVariant, type ModelNumber, type NavbarItem, type NavbarSubItem, type NavbarSubItemGroup, type Page, type Product, type ProductContext, type ProductVariant, type ShopContext, type StorageAdapter, type Topbar, type TopbarItem, clearApiKey, clearAuth, clearToken, createDoc, deleteDoc, equalsIgnoreCase, frappeCall, frappeCallGet, getApiKey, getCount, getCurrentUser, getDoc, getList, getPage, getProductContext, getShopContext, getStorageAdapter, getToken, getValue, isAuthenticated, setApiKey, setStorageAdapter, setToken, setValue, toDescription, updateDoc, useFrappe, useFrappeConfig, useProductContext, useShopContext, webStorageAdapter };
1
+ declare function greet(name: string): string;
2
+ export { greet };
package/dist/index.js CHANGED
@@ -1,339 +1,7 @@
1
- import { decamelizeKeys, camelizeKeys } from 'humps';
2
- export { decamelize as camelToSnake, decamelizeKeys as objectCamelToSnake, camelizeKeys as objectSnakeToCamel, camelize as snakeToCamel } from 'humps';
3
- import { createContext, useState, useEffect, useContext } from 'react';
4
- import { jsx } from 'react/jsx-runtime';
5
- import { useQuery } from '@tanstack/react-query';
6
-
7
- // src/client/core.ts
8
- async function request(baseUrl, endpoint, options = {}, auth) {
9
- const url = `${baseUrl}${endpoint}`;
10
- const headers = {
11
- "Content-Type": "application/json",
12
- Accept: "application/json",
13
- ...options.headers
14
- };
15
- if (auth?.token) {
16
- headers["Authorization"] = `Bearer ${auth.token}`;
17
- } else if (auth?.apiKey) {
18
- headers["Authorization"] = `token ${auth.apiKey.key}:${auth.apiKey.secret}`;
19
- }
20
- const response = await fetch(url, {
21
- ...options,
22
- headers,
23
- credentials: "include"
24
- });
25
- const rawData = await response.json();
26
- if (!response.ok || rawData.exc) {
27
- const errorMessage = rawData._error_message || rawData.exc || "Request failed";
28
- const error = new Error(errorMessage);
29
- error.message = errorMessage;
30
- error.statusCode = response.status;
31
- if (rawData.exc) {
32
- error.exc = rawData.exc;
33
- }
34
- if (rawData._server_messages) {
35
- error.serverMessages = rawData._server_messages;
36
- }
37
- if (rawData.exc_type) {
38
- error.excType = rawData.exc_type;
39
- }
40
- throw error;
41
- }
42
- const result = rawData.message ?? rawData;
43
- return camelizeKeys(result);
1
+ // src/index.ts
2
+ function greet(name) {
3
+ return `Hello, ${name}!`;
44
4
  }
45
- async function frappeCall(baseUrl, method, args, auth) {
46
- const snakeArgs = decamelizeKeys(args ?? {});
47
- return request(
48
- baseUrl,
49
- `/api/method/${method}`,
50
- {
51
- method: "POST",
52
- body: JSON.stringify(snakeArgs)
53
- },
54
- auth
55
- );
56
- }
57
- async function frappeCallGet(baseUrl, method, args, auth) {
58
- const snakeArgs = decamelizeKeys(args ?? {});
59
- const queryParams = new URLSearchParams();
60
- Object.entries(snakeArgs).forEach(([key, value]) => {
61
- queryParams.append(
62
- key,
63
- typeof value === "string" ? value : JSON.stringify(value)
64
- );
65
- });
66
- const endpoint = `/api/method/${method}?${queryParams.toString()}`;
67
- return request(baseUrl, endpoint, { method: "GET" }, auth);
68
- }
69
- async function getList(baseUrl, params, auth) {
70
- const {
71
- doctype,
72
- fields = ["name"],
73
- filters = {},
74
- orderBy = "modified desc",
75
- limitStart = 0,
76
- limitPageLength = 20
77
- } = params;
78
- const snakeFilters = decamelizeKeys(filters);
79
- const queryParams = new URLSearchParams({
80
- fields: JSON.stringify(fields),
81
- filters: JSON.stringify(snakeFilters),
82
- order_by: orderBy,
83
- limit_start: limitStart.toString(),
84
- limit_page_length: limitPageLength.toString()
85
- });
86
- const endpoint = `/api/resource/${doctype}?${queryParams.toString()}`;
87
- const response = await request(baseUrl, endpoint, {}, auth);
88
- return response.data || [];
89
- }
90
- async function getDoc(baseUrl, doctype, name, auth) {
91
- const endpoint = `/api/resource/${doctype}/${encodeURIComponent(name)}`;
92
- const response = await request(baseUrl, endpoint, {}, auth);
93
- return response.data;
94
- }
95
- async function createDoc(baseUrl, doctype, doc, auth) {
96
- const snakeDoc = decamelizeKeys(doc);
97
- const endpoint = `/api/resource/${doctype}`;
98
- const response = await request(
99
- baseUrl,
100
- endpoint,
101
- {
102
- method: "POST",
103
- body: JSON.stringify(snakeDoc)
104
- },
105
- auth
106
- );
107
- return response.data;
108
- }
109
- async function updateDoc(baseUrl, doctype, name, doc, auth) {
110
- const snakeDoc = decamelizeKeys(doc);
111
- const endpoint = `/api/resource/${doctype}/${encodeURIComponent(name)}`;
112
- const response = await request(
113
- baseUrl,
114
- endpoint,
115
- {
116
- method: "PUT",
117
- body: JSON.stringify(snakeDoc)
118
- },
119
- auth
120
- );
121
- return response.data;
122
- }
123
- async function deleteDoc(baseUrl, doctype, name, auth) {
124
- const endpoint = `/api/resource/${doctype}/${encodeURIComponent(name)}`;
125
- await request(
126
- baseUrl,
127
- endpoint,
128
- {
129
- method: "DELETE"
130
- },
131
- auth
132
- );
133
- }
134
- async function getValue(baseUrl, doctype, name, fieldname, auth) {
135
- const endpoint = `/api/resource/${doctype}/${encodeURIComponent(name)}?fields=["${fieldname}"]`;
136
- const response = await request(
137
- baseUrl,
138
- endpoint,
139
- {},
140
- auth
141
- );
142
- const value = response.data[fieldname];
143
- if (value === void 0) {
144
- throw new Error(
145
- `Field "${fieldname}" not found in document "${doctype}/${name}"`
146
- );
147
- }
148
- return value;
149
- }
150
- async function setValue(baseUrl, doctype, name, fieldname, value, auth) {
151
- return updateDoc(baseUrl, doctype, name, { [fieldname]: value }, auth);
152
- }
153
- async function getCount(baseUrl, doctype, filters = {}, auth) {
154
- return frappeCall(
155
- baseUrl,
156
- "frappe.client.get_count",
157
- {
158
- doctype,
159
- filters
160
- },
161
- auth
162
- );
163
- }
164
- async function getCurrentUser(baseUrl, auth) {
165
- return frappeCallGet(baseUrl, "frappe.auth.get_logged_user", {}, auth);
166
- }
167
- var FrappeContext = createContext(null);
168
- function FrappeProvider({
169
- baseUrl,
170
- token: initialToken,
171
- apiKey: initialApiKey,
172
- autoLoadAuth = true,
173
- onLoadAuth,
174
- children
175
- }) {
176
- const [token, setToken2] = useState(initialToken);
177
- const [apiKey, setApiKey2] = useState(
178
- initialApiKey
179
- );
180
- useEffect(() => {
181
- if (autoLoadAuth && !initialToken && !initialApiKey && onLoadAuth) {
182
- Promise.resolve(onLoadAuth()).then((auth) => {
183
- if (auth.token) {
184
- setToken2(auth.token);
185
- } else if (auth.apiKey) {
186
- setApiKey2(auth.apiKey);
187
- }
188
- });
189
- }
190
- }, [autoLoadAuth, initialToken, initialApiKey, onLoadAuth]);
191
- const value = {
192
- baseUrl,
193
- ...token !== void 0 && { token },
194
- ...apiKey !== void 0 && { apiKey }
195
- };
196
- return /* @__PURE__ */ jsx(FrappeContext.Provider, { value, children });
197
- }
198
- function useFrappeConfig() {
199
- const context = useContext(FrappeContext);
200
- if (!context) {
201
- throw new Error("useFrappeConfig must be used within FrappeProvider");
202
- }
203
- return context;
204
- }
205
-
206
- // src/client/hooks.tsx
207
- function useFrappe() {
208
- const { baseUrl, token, apiKey } = useFrappeConfig();
209
- const auth = {
210
- ...token && { token },
211
- ...apiKey && { apiKey }
212
- };
213
- return {
214
- call: (method, args) => frappeCall(baseUrl, method, args, auth),
215
- callGet: (method, args) => frappeCallGet(baseUrl, method, args, auth),
216
- getList: (params) => getList(baseUrl, params, auth),
217
- getDoc: (doctype, name) => getDoc(baseUrl, doctype, name, auth),
218
- createDoc: (doctype, doc) => createDoc(baseUrl, doctype, doc, auth),
219
- updateDoc: (doctype, name, doc) => updateDoc(baseUrl, doctype, name, doc, auth),
220
- deleteDoc: (doctype, name) => deleteDoc(baseUrl, doctype, name, auth),
221
- baseUrl,
222
- auth
223
- };
224
- }
225
-
226
- // src/client/storage.ts
227
- var webStorageAdapter = {
228
- getItem: (key) => {
229
- if (typeof window === "undefined") return null;
230
- return localStorage.getItem(key);
231
- },
232
- setItem: (key, value) => {
233
- if (typeof window === "undefined") return;
234
- localStorage.setItem(key, value);
235
- },
236
- removeItem: (key) => {
237
- if (typeof window === "undefined") return;
238
- localStorage.removeItem(key);
239
- }
5
+ export {
6
+ greet
240
7
  };
241
- var currentAdapter = webStorageAdapter;
242
- function setStorageAdapter(adapter) {
243
- currentAdapter = adapter;
244
- }
245
- function getStorageAdapter() {
246
- return currentAdapter;
247
- }
248
- var TOKEN_KEY = "frappe_token";
249
- var API_KEY_KEY = "frappe_api_key";
250
- var API_SECRET_KEY = "frappe_api_secret";
251
- function getToken() {
252
- return currentAdapter.getItem(TOKEN_KEY);
253
- }
254
- function setToken(token) {
255
- return currentAdapter.setItem(TOKEN_KEY, token);
256
- }
257
- function clearToken() {
258
- return currentAdapter.removeItem(TOKEN_KEY);
259
- }
260
- async function getApiKey() {
261
- const key = await currentAdapter.getItem(API_KEY_KEY);
262
- const secret = await currentAdapter.getItem(API_SECRET_KEY);
263
- if (!key || !secret) return null;
264
- return { key, secret };
265
- }
266
- async function setApiKey(key, secret) {
267
- await currentAdapter.setItem(API_KEY_KEY, key);
268
- await currentAdapter.setItem(API_SECRET_KEY, secret);
269
- }
270
- async function clearApiKey() {
271
- await currentAdapter.removeItem(API_KEY_KEY);
272
- await currentAdapter.removeItem(API_SECRET_KEY);
273
- }
274
- async function clearAuth() {
275
- await clearToken();
276
- await clearApiKey();
277
- }
278
- async function isAuthenticated() {
279
- const token = await getToken();
280
- const apiKey = await getApiKey();
281
- return !!token || !!apiKey;
282
- }
283
-
284
- // src/design/page/api.ts
285
- async function getPage(baseUrl, slug, auth) {
286
- return getDoc(baseUrl, "Design Page", slug, auth);
287
- }
288
-
289
- // src/utils/catalog.ts
290
- function toDescription(modelNumber) {
291
- if (!modelNumber) {
292
- return null;
293
- }
294
- return modelNumber.simCardType;
295
- }
296
-
297
- // src/utils/types.ts
298
- function equalsIgnoreCase(str1, str2) {
299
- return str1.localeCompare(str2, void 0, { sensitivity: "accent" }) === 0;
300
- }
301
-
302
- // src/lasterp/shop/api.ts
303
- async function getShopContext(baseUrl, params, auth) {
304
- return frappeCall(
305
- baseUrl,
306
- "lasterp.shop.controllers.shop_controller.get_context",
307
- params,
308
- auth
309
- );
310
- }
311
- async function getProductContext(baseUrl, productName, auth) {
312
- return frappeCall(
313
- baseUrl,
314
- "lasterp.shop.controllers.product_controller.get_context",
315
- { productName },
316
- auth
317
- );
318
- }
319
- function useShopContext(params, options) {
320
- const { baseUrl, auth } = useFrappe();
321
- return useQuery({
322
- queryKey: ["shop-context", params],
323
- queryFn: () => getShopContext(baseUrl, params, auth),
324
- ...options
325
- });
326
- }
327
- function useProductContext(productName, options) {
328
- const { baseUrl, auth } = useFrappe();
329
- return useQuery({
330
- queryKey: ["product-context", productName],
331
- queryFn: () => getProductContext(baseUrl, productName, auth),
332
- enabled: !!productName,
333
- ...options
334
- });
335
- }
336
-
337
- export { FrappeProvider, clearApiKey, clearAuth, clearToken, createDoc, deleteDoc, equalsIgnoreCase, frappeCall, frappeCallGet, getApiKey, getCount, getCurrentUser, getDoc, getList, getPage, getProductContext, getShopContext, getStorageAdapter, getToken, getValue, isAuthenticated, setApiKey, setStorageAdapter, setToken, setValue, toDescription, updateDoc, useFrappe, useFrappeConfig, useProductContext, useShopContext, webStorageAdapter };
338
- //# sourceMappingURL=index.js.map
339
- //# sourceMappingURL=index.js.map