@fctc/interface-logic 1.3.8 → 1.3.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.
@@ -31,18 +31,6 @@ interface Specification {
31
31
  interface ContextApi {
32
32
  [key: string]: any;
33
33
  }
34
- interface GetAllParams {
35
- model?: string;
36
- ids?: number[];
37
- specification: Specification;
38
- domain?: any[];
39
- offset?: number;
40
- sort: any;
41
- fields: any;
42
- groupby: any;
43
- context?: ContextApi;
44
- limit?: number;
45
- }
46
34
  interface GetListParams {
47
35
  model: string;
48
36
  ids?: number[];
@@ -96,18 +84,4 @@ type GetSelectionType = {
96
84
  specification?: any;
97
85
  };
98
86
 
99
- type View = [number | boolean, string];
100
- type Option = {
101
- action_id?: number;
102
- load_filters?: boolean;
103
- toolbar?: boolean;
104
- };
105
- interface GetViewParams {
106
- model?: string;
107
- views?: View[];
108
- context?: Record<string, any>;
109
- options?: Option;
110
- aid?: number | string | null | boolean;
111
- }
112
-
113
- export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetAllParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetListParams as b, GetSelectionType as c, SocialTokenBody as d, Specification as e, GetViewParams as f, View as g, updatePasswordBody as u };
87
+ export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetListParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetSelectionType as b, SocialTokenBody as c, updatePasswordBody as u };
@@ -31,18 +31,6 @@ interface Specification {
31
31
  interface ContextApi {
32
32
  [key: string]: any;
33
33
  }
34
- interface GetAllParams {
35
- model?: string;
36
- ids?: number[];
37
- specification: Specification;
38
- domain?: any[];
39
- offset?: number;
40
- sort: any;
41
- fields: any;
42
- groupby: any;
43
- context?: ContextApi;
44
- limit?: number;
45
- }
46
34
  interface GetListParams {
47
35
  model: string;
48
36
  ids?: number[];
@@ -96,18 +84,4 @@ type GetSelectionType = {
96
84
  specification?: any;
97
85
  };
98
86
 
99
- type View = [number | boolean, string];
100
- type Option = {
101
- action_id?: number;
102
- load_filters?: boolean;
103
- toolbar?: boolean;
104
- };
105
- interface GetViewParams {
106
- model?: string;
107
- views?: View[];
108
- context?: Record<string, any>;
109
- options?: Option;
110
- aid?: number | string | null | boolean;
111
- }
112
-
113
- export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetAllParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetListParams as b, GetSelectionType as c, SocialTokenBody as d, Specification as e, GetViewParams as f, View as g, updatePasswordBody as u };
87
+ export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetListParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetSelectionType as b, SocialTokenBody as c, updatePasswordBody as u };
@@ -37,7 +37,7 @@ declare class EnvStore {
37
37
  refreshTokenEndpoint?: string;
38
38
  constructor(envStore: EnhancedStore, localStorageUtils?: any, sessionStorageUtils?: any);
39
39
  setup(): void;
40
- setupEnv(envConfig: Partial<EnvStore>): void;
40
+ setupEnv(envConfig: EnvStore): void;
41
41
  setUid(uid: number): void;
42
42
  setLang(lang: string): void;
43
43
  setAllowCompanies(allowCompanies: number[]): void;
@@ -46,7 +46,8 @@ declare class EnvStore {
46
46
  setUserInfo(userInfo: any): void;
47
47
  }
48
48
  declare let env: EnvStore | null;
49
- declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
49
+ declare function initEnv({ envStore, localStorageUtils, sessionStorageUtils, }: {
50
+ envStore?: any;
50
51
  localStorageUtils?: LocalStorageUtilsType;
51
52
  sessionStorageUtils?: SessionStorageUtilsType;
52
53
  }): EnvStore;
@@ -37,7 +37,7 @@ declare class EnvStore {
37
37
  refreshTokenEndpoint?: string;
38
38
  constructor(envStore: EnhancedStore, localStorageUtils?: any, sessionStorageUtils?: any);
39
39
  setup(): void;
40
- setupEnv(envConfig: Partial<EnvStore>): void;
40
+ setupEnv(envConfig: EnvStore): void;
41
41
  setUid(uid: number): void;
42
42
  setLang(lang: string): void;
43
43
  setAllowCompanies(allowCompanies: number[]): void;
@@ -46,7 +46,8 @@ declare class EnvStore {
46
46
  setUserInfo(userInfo: any): void;
47
47
  }
48
48
  declare let env: EnvStore | null;
49
- declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
49
+ declare function initEnv({ envStore, localStorageUtils, sessionStorageUtils, }: {
50
+ envStore?: any;
50
51
  localStorageUtils?: LocalStorageUtilsType;
51
52
  sessionStorageUtils?: SessionStorageUtilsType;
52
53
  }): EnvStore;
@@ -3038,8 +3038,7 @@ var EnvStore = class {
3038
3038
  sessionStorageUtils: this.sessionStorageUtils
3039
3039
  };
3040
3040
  const requests = axiosClient.init(env2);
3041
- const fullEnv = { ...env2, requests };
3042
- dispatch(setEnv(fullEnv));
3041
+ dispatch(setEnv({ ...env2, requests }));
3043
3042
  this.setup();
3044
3043
  }
3045
3044
  setUid(uid) {
@@ -3075,10 +3074,11 @@ var EnvStore = class {
3075
3074
  };
3076
3075
  var env = null;
3077
3076
  function initEnv({
3077
+ envStore: envStore2,
3078
3078
  localStorageUtils: localStorageUtils2,
3079
3079
  sessionStorageUtils: sessionStorageUtils2
3080
3080
  }) {
3081
- env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
3081
+ env = new EnvStore(envStore2, localStorageUtils2, sessionStorageUtils2);
3082
3082
  return env;
3083
3083
  }
3084
3084
  function getEnv() {
@@ -2999,8 +2999,7 @@ var EnvStore = class {
2999
2999
  sessionStorageUtils: this.sessionStorageUtils
3000
3000
  };
3001
3001
  const requests = axiosClient.init(env2);
3002
- const fullEnv = { ...env2, requests };
3003
- dispatch(setEnv(fullEnv));
3002
+ dispatch(setEnv({ ...env2, requests }));
3004
3003
  this.setup();
3005
3004
  }
3006
3005
  setUid(uid) {
@@ -3036,10 +3035,11 @@ var EnvStore = class {
3036
3035
  };
3037
3036
  var env = null;
3038
3037
  function initEnv({
3038
+ envStore: envStore2,
3039
3039
  localStorageUtils: localStorageUtils2,
3040
3040
  sessionStorageUtils: sessionStorageUtils2
3041
3041
  }) {
3042
- env = new EnvStore(envStore, localStorageUtils2, sessionStorageUtils2);
3042
+ env = new EnvStore(envStore2, localStorageUtils2, sessionStorageUtils2);
3043
3043
  return env;
3044
3044
  }
3045
3045
  function getEnv() {
package/dist/hooks.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, c as GetSelectionType, f as GetViewParams } from './view-type-BGJfDe73.mjs';
2
+ import { L as LoginCredentialBody, c as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, b as GetSelectionType } from './api-type-38YDuhk_.mjs';
3
3
 
4
4
  declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
5
5
 
@@ -166,7 +166,6 @@ interface BaseModelInit {
166
166
  actContext?: Record<string, any>;
167
167
  fields?: any;
168
168
  }
169
-
170
169
  declare class BaseModel {
171
170
  name: string;
172
171
  view: Record<string, any>;
@@ -271,6 +270,19 @@ declare const useGetSelection: ({ data, queryKey, enabled, }: {
271
270
  enabled?: boolean;
272
271
  }) => _tanstack_react_query.UseQueryResult<any, Error>;
273
272
 
273
+ type View = [number | boolean, string];
274
+ type Option = {
275
+ action_id?: number;
276
+ load_filters?: boolean;
277
+ toolbar?: boolean;
278
+ };
279
+ interface GetViewParams {
280
+ model?: string;
281
+ views?: View[];
282
+ context?: Record<string, any>;
283
+ options?: Option;
284
+ aid?: number | string | null | boolean;
285
+ }
274
286
  declare const useGetView: (viewParams: GetViewParams, actData?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
275
287
 
276
288
  declare const useLoadAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
package/dist/hooks.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, c as GetSelectionType, f as GetViewParams } from './view-type-BGJfDe73.js';
2
+ import { L as LoginCredentialBody, c as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, b as GetSelectionType } from './api-type-38YDuhk_.js';
3
3
 
4
4
  declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
5
5
 
@@ -166,7 +166,6 @@ interface BaseModelInit {
166
166
  actContext?: Record<string, any>;
167
167
  fields?: any;
168
168
  }
169
-
170
169
  declare class BaseModel {
171
170
  name: string;
172
171
  view: Record<string, any>;
@@ -271,6 +270,19 @@ declare const useGetSelection: ({ data, queryKey, enabled, }: {
271
270
  enabled?: boolean;
272
271
  }) => _tanstack_react_query.UseQueryResult<any, Error>;
273
272
 
273
+ type View = [number | boolean, string];
274
+ type Option = {
275
+ action_id?: number;
276
+ load_filters?: boolean;
277
+ toolbar?: boolean;
278
+ };
279
+ interface GetViewParams {
280
+ model?: string;
281
+ views?: View[];
282
+ context?: Record<string, any>;
283
+ options?: Option;
284
+ aid?: number | string | null | boolean;
285
+ }
274
286
  declare const useGetView: (viewParams: GetViewParams, actData?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
275
287
 
276
288
  declare const useLoadAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
package/dist/hooks.js CHANGED
@@ -3162,8 +3162,7 @@ var EnvStore = class {
3162
3162
  sessionStorageUtils: this.sessionStorageUtils
3163
3163
  };
3164
3164
  const requests = axiosClient.init(env2);
3165
- const fullEnv = { ...env2, requests };
3166
- dispatch(setEnv(fullEnv));
3165
+ dispatch(setEnv({ ...env2, requests }));
3167
3166
  this.setup();
3168
3167
  }
3169
3168
  setUid(uid) {
@@ -4549,7 +4548,6 @@ var ViewService = {
4549
4548
  },
4550
4549
  async getVersion() {
4551
4550
  const env2 = getEnv();
4552
- console.log("quan", env2);
4553
4551
  return env2?.requests.get("", {
4554
4552
  headers: {
4555
4553
  "Content-Type": "application/json"
package/dist/hooks.mjs CHANGED
@@ -3059,8 +3059,7 @@ var EnvStore = class {
3059
3059
  sessionStorageUtils: this.sessionStorageUtils
3060
3060
  };
3061
3061
  const requests = axiosClient.init(env2);
3062
- const fullEnv = { ...env2, requests };
3063
- dispatch(setEnv(fullEnv));
3062
+ dispatch(setEnv({ ...env2, requests }));
3064
3063
  this.setup();
3065
3064
  }
3066
3065
  setUid(uid) {
@@ -4446,7 +4445,6 @@ var ViewService = {
4446
4445
  },
4447
4446
  async getVersion() {
4448
4447
  const env2 = getEnv();
4449
- console.log("quan", env2);
4450
4448
  return env2?.requests.get("", {
4451
4449
  headers: {
4452
4450
  "Content-Type": "application/json"
@@ -1,15 +1,16 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import { ReactNode } from 'react';
2
3
 
3
4
  declare const MainProvider: ({ children }: {
4
5
  children: ReactNode;
5
- }) => JSX.Element;
6
+ }) => react_jsx_runtime.JSX.Element;
6
7
 
7
8
  declare const ReactQueryProvider: ({ children }: {
8
9
  children: ReactNode;
9
- }) => JSX.Element;
10
+ }) => react_jsx_runtime.JSX.Element;
10
11
 
11
12
  declare const VersionGate: ({ children }: {
12
13
  children: ReactNode;
13
- }) => JSX.Element | null;
14
+ }) => react_jsx_runtime.JSX.Element | null;
14
15
 
15
16
  export { MainProvider, ReactQueryProvider, VersionGate };
@@ -1,15 +1,16 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import { ReactNode } from 'react';
2
3
 
3
4
  declare const MainProvider: ({ children }: {
4
5
  children: ReactNode;
5
- }) => JSX.Element;
6
+ }) => react_jsx_runtime.JSX.Element;
6
7
 
7
8
  declare const ReactQueryProvider: ({ children }: {
8
9
  children: ReactNode;
9
- }) => JSX.Element;
10
+ }) => react_jsx_runtime.JSX.Element;
10
11
 
11
12
  declare const VersionGate: ({ children }: {
12
13
  children: ReactNode;
13
- }) => JSX.Element | null;
14
+ }) => react_jsx_runtime.JSX.Element | null;
14
15
 
15
16
  export { MainProvider, ReactQueryProvider, VersionGate };
package/dist/provider.js CHANGED
@@ -3074,8 +3074,7 @@ var EnvStore = class {
3074
3074
  sessionStorageUtils: this.sessionStorageUtils
3075
3075
  };
3076
3076
  const requests = axiosClient.init(env2);
3077
- const fullEnv = { ...env2, requests };
3078
- dispatch(setEnv(fullEnv));
3077
+ dispatch(setEnv({ ...env2, requests }));
3079
3078
  this.setup();
3080
3079
  }
3081
3080
  setUid(uid) {
@@ -3377,7 +3376,6 @@ var ViewService = {
3377
3376
  },
3378
3377
  async getVersion() {
3379
3378
  const env2 = getEnv();
3380
- console.log("quan", env2);
3381
3379
  return env2?.requests.get("", {
3382
3380
  headers: {
3383
3381
  "Content-Type": "application/json"
package/dist/provider.mjs CHANGED
@@ -3036,8 +3036,7 @@ var EnvStore = class {
3036
3036
  sessionStorageUtils: this.sessionStorageUtils
3037
3037
  };
3038
3038
  const requests = axiosClient.init(env2);
3039
- const fullEnv = { ...env2, requests };
3040
- dispatch(setEnv(fullEnv));
3039
+ dispatch(setEnv({ ...env2, requests }));
3041
3040
  this.setup();
3042
3041
  }
3043
3042
  setUid(uid) {
@@ -3339,7 +3338,6 @@ var ViewService = {
3339
3338
  },
3340
3339
  async getVersion() {
3341
3340
  const env2 = getEnv();
3342
- console.log("quan", env2);
3343
3341
  return env2?.requests.get("", {
3344
3342
  headers: {
3345
3343
  "Content-Type": "application/json"
@@ -1,4 +1,4 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-BGJfDe73.mjs';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, G as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, b as GetSelectionType } from './api-type-38YDuhk_.mjs';
2
2
 
3
3
  declare const ActionService: {
4
4
  loadAction({ idAction, context, }: {
@@ -187,6 +187,19 @@ declare const UserService: {
187
187
  switchUserLocale: ({ id, values }: any) => Promise<any>;
188
188
  };
189
189
 
190
+ type View = [number | boolean, string];
191
+ type Option = {
192
+ action_id?: number;
193
+ load_filters?: boolean;
194
+ toolbar?: boolean;
195
+ };
196
+ interface GetViewParams {
197
+ model?: string;
198
+ views?: View[];
199
+ context?: Record<string, any>;
200
+ options?: Option;
201
+ aid?: number | string | null | boolean;
202
+ }
190
203
  declare const ViewService: {
191
204
  getView({ model, views, context, options, aid, }: GetViewParams): Promise<any>;
192
205
  getMenu(context: any): Promise<any>;
@@ -1,4 +1,4 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-BGJfDe73.js';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, G as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, b as GetSelectionType } from './api-type-38YDuhk_.js';
2
2
 
3
3
  declare const ActionService: {
4
4
  loadAction({ idAction, context, }: {
@@ -187,6 +187,19 @@ declare const UserService: {
187
187
  switchUserLocale: ({ id, values }: any) => Promise<any>;
188
188
  };
189
189
 
190
+ type View = [number | boolean, string];
191
+ type Option = {
192
+ action_id?: number;
193
+ load_filters?: boolean;
194
+ toolbar?: boolean;
195
+ };
196
+ interface GetViewParams {
197
+ model?: string;
198
+ views?: View[];
199
+ context?: Record<string, any>;
200
+ options?: Option;
201
+ aid?: number | string | null | boolean;
202
+ }
190
203
  declare const ViewService: {
191
204
  getView({ model, views, context, options, aid, }: GetViewParams): Promise<any>;
192
205
  getMenu(context: any): Promise<any>;
package/dist/services.js CHANGED
@@ -3078,8 +3078,7 @@ var EnvStore = class {
3078
3078
  sessionStorageUtils: this.sessionStorageUtils
3079
3079
  };
3080
3080
  const requests = axiosClient.init(env2);
3081
- const fullEnv = { ...env2, requests };
3082
- dispatch(setEnv(fullEnv));
3081
+ dispatch(setEnv({ ...env2, requests }));
3083
3082
  this.setup();
3084
3083
  }
3085
3084
  setUid(uid) {
@@ -4465,7 +4464,6 @@ var ViewService = {
4465
4464
  },
4466
4465
  async getVersion() {
4467
4466
  const env2 = getEnv();
4468
- console.log("quan", env2);
4469
4467
  return env2?.requests.get("", {
4470
4468
  headers: {
4471
4469
  "Content-Type": "application/json"
package/dist/services.mjs CHANGED
@@ -3034,8 +3034,7 @@ var EnvStore = class {
3034
3034
  sessionStorageUtils: this.sessionStorageUtils
3035
3035
  };
3036
3036
  const requests = axiosClient.init(env2);
3037
- const fullEnv = { ...env2, requests };
3038
- dispatch(setEnv(fullEnv));
3037
+ dispatch(setEnv({ ...env2, requests }));
3039
3038
  this.setup();
3040
3039
  }
3041
3040
  setUid(uid) {
@@ -4421,7 +4420,6 @@ var ViewService = {
4421
4420
  },
4422
4421
  async getVersion() {
4423
4422
  const env2 = getEnv();
4424
- console.log("quan", env2);
4425
4423
  return env2?.requests.get("", {
4426
4424
  headers: {
4427
4425
  "Content-Type": "application/json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -49,11 +49,6 @@
49
49
  "types": "./dist/utils.d.ts",
50
50
  "import": "./dist/utils.mjs",
51
51
  "require": "./dist/utils.cjs"
52
- },
53
- "./types": {
54
- "types": "./dist/types.d.ts",
55
- "import": "./dist/types.mjs",
56
- "require": "./dist/types.cjs"
57
52
  }
58
53
  },
59
54
  "files": [
package/dist/types.d.mts DELETED
@@ -1,17 +0,0 @@
1
- export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, a as GetDetailParams, b as GetListParams, c as GetSelectionType, f as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, d as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-BGJfDe73.mjs';
2
-
3
- interface Config {
4
- baseUrl: string;
5
- grantType: string;
6
- clientId: string;
7
- clientSecret: string;
8
- }
9
-
10
- interface Context {
11
- uid: number;
12
- lang: string;
13
- allowCompanys: number[];
14
- [key: string]: any;
15
- }
16
-
17
- export type { Config, Context };
package/dist/types.d.ts DELETED
@@ -1,17 +0,0 @@
1
- export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, G as GetAllParams, a as GetDetailParams, b as GetListParams, c as GetSelectionType, f as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, S as SaveParams, d as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-BGJfDe73.js';
2
-
3
- interface Config {
4
- baseUrl: string;
5
- grantType: string;
6
- clientId: string;
7
- clientSecret: string;
8
- }
9
-
10
- interface Context {
11
- uid: number;
12
- lang: string;
13
- allowCompanys: number[];
14
- [key: string]: any;
15
- }
16
-
17
- export type { Config, Context };
package/dist/types.js DELETED
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
-
16
- // src/types.ts
17
- var types_exports = {};
18
- module.exports = __toCommonJS(types_exports);
package/dist/types.mjs DELETED
File without changes