@bshsolutions/sdk-beta 0.0.2-beta
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/README.md +7 -0
- package/dist/chunk-HHI43U6W.js +697 -0
- package/dist/chunk-HHI43U6W.js.map +1 -0
- package/dist/chunk-NPZVTE5U.js +217 -0
- package/dist/chunk-NPZVTE5U.js.map +1 -0
- package/dist/chunk-WMHRN3IR.js +55 -0
- package/dist/chunk-WMHRN3IR.js.map +1 -0
- package/dist/client/index.d.ts +7 -0
- package/dist/client/index.js +4 -0
- package/dist/client/index.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +112 -0
- package/dist/index.js.map +1 -0
- package/dist/services/core/index.d.ts +18 -0
- package/dist/services/core/index.js +20 -0
- package/dist/services/core/index.js.map +1 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.js +3 -0
- package/dist/services/index.js.map +1 -0
- package/dist/types/index.d.ts +408 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types-lV042-cm.d.ts +286 -0
- package/package.json +75 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { BshEntities, BshSchemas, BshTypes, BshUser, BshPolicy, BshRole, BshFiles, BshConfigurations, SentEmail, BshEmailTemplate, BshEventLogs, BshTrigger, BshTriggerInstance, BshResponse, BshSearch, LoginParams, AuthTokens, BshUserInit, BshSettings, UploadOptions, UploadResponse, MailingPayload, BshTriggerPlugin, BshTriggerAction, CacheInfo, BshApiKeysForm, BshApiKeys, BshError } from './types/index.js';
|
|
2
|
+
|
|
3
|
+
declare class BshEngine {
|
|
4
|
+
private host?;
|
|
5
|
+
private clientFn;
|
|
6
|
+
private authFn?;
|
|
7
|
+
private refreshTokenFn?;
|
|
8
|
+
private postInterceptors;
|
|
9
|
+
private preInterceptors;
|
|
10
|
+
private errorInterceptors;
|
|
11
|
+
withHost(hostFn: string): this;
|
|
12
|
+
withClient(clientFn: BshClientFn): this;
|
|
13
|
+
withAuth(authFn: BshAuthFn): this;
|
|
14
|
+
withRefreshToken(refreshTokenFn: BshRefreshTokenFn): this;
|
|
15
|
+
postInterceptor(interceptor: BshPostInterceptor<unknown>): this;
|
|
16
|
+
preInterceptor(interceptor: BshPreInterceptor<unknown>): this;
|
|
17
|
+
errorInterceptor(interceptor: BshErrorInterceptor<unknown>): this;
|
|
18
|
+
getPostInterceptors(): BshPostInterceptor<unknown>[];
|
|
19
|
+
getPreInterceptors(): BshPreInterceptor<unknown>[];
|
|
20
|
+
getErrorInterceptors(): BshErrorInterceptor<unknown>[];
|
|
21
|
+
private get client();
|
|
22
|
+
get entities(): EntityService<unknown>;
|
|
23
|
+
entity<T>(entity: string): EntityService<T>;
|
|
24
|
+
get core(): {
|
|
25
|
+
BshEntities: EntityService<BshEntities>;
|
|
26
|
+
BshSchemas: EntityService<BshSchemas>;
|
|
27
|
+
BshTypes: EntityService<BshTypes>;
|
|
28
|
+
BshUsers: EntityService<BshUser>;
|
|
29
|
+
BshPolicies: EntityService<BshPolicy>;
|
|
30
|
+
BshRoles: EntityService<BshRole>;
|
|
31
|
+
BshFiles: EntityService<BshFiles>;
|
|
32
|
+
BshConfigurations: EntityService<BshConfigurations>;
|
|
33
|
+
BshEmails: EntityService<SentEmail>;
|
|
34
|
+
BshEmailTemplates: EntityService<BshEmailTemplate>;
|
|
35
|
+
BshEventLogs: EntityService<BshEventLogs>;
|
|
36
|
+
BshTriggers: EntityService<BshTrigger>;
|
|
37
|
+
BshTriggerInstances: EntityService<BshTriggerInstance>;
|
|
38
|
+
};
|
|
39
|
+
get auth(): AuthService;
|
|
40
|
+
get user(): UserService;
|
|
41
|
+
get settings(): SettingsService;
|
|
42
|
+
get image(): ImageService;
|
|
43
|
+
get mailing(): MailingService;
|
|
44
|
+
get utils(): BshUtilsService;
|
|
45
|
+
get caching(): CachingService;
|
|
46
|
+
get apiKey(): ApiKeyService;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class BshClient {
|
|
50
|
+
private readonly httpClient;
|
|
51
|
+
private readonly authFn?;
|
|
52
|
+
private readonly refreshTokenFn?;
|
|
53
|
+
private readonly host;
|
|
54
|
+
private readonly bshEngine?;
|
|
55
|
+
constructor(host?: string, httpClient?: BshClientFn, authFn?: BshAuthFn, refreshTokenFn?: BshRefreshTokenFn, bshEngine?: BshEngine);
|
|
56
|
+
private handleResponse;
|
|
57
|
+
private refreshTokenIfNeeded;
|
|
58
|
+
private getAuthHeaders;
|
|
59
|
+
get<T = unknown>(params: BshClientFnParams<T>): Promise<BshResponse<T> | undefined>;
|
|
60
|
+
post<T = unknown, R = T>(params: BshClientFnParams<T, R>): Promise<BshResponse<R> | undefined>;
|
|
61
|
+
put<T = unknown>(params: BshClientFnParams<T>): Promise<BshResponse<T> | undefined>;
|
|
62
|
+
delete<T = unknown>(params: BshClientFnParams<T>): Promise<BshResponse<T> | undefined>;
|
|
63
|
+
patch<T = unknown>(params: BshClientFnParams<T>): Promise<BshResponse<T> | undefined>;
|
|
64
|
+
download<T = unknown>(params: BshClientFnParams<T>): Promise<Blob | undefined>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type EntityFnParams<T = unknown, R = T> = BshCallbackParams<T, R> & {
|
|
68
|
+
entity?: string;
|
|
69
|
+
};
|
|
70
|
+
type EntityFnParamsWithPayload<T = unknown, R = T> = BshCallbackParamsWithPayload<T, R> & {
|
|
71
|
+
entity?: string;
|
|
72
|
+
};
|
|
73
|
+
type EntitySearchFnParams<T, R = T> = EntityFnParamsWithPayload<BshSearch<T>, R>;
|
|
74
|
+
declare class EntityService<T = unknown> {
|
|
75
|
+
private readonly client;
|
|
76
|
+
private readonly entity?;
|
|
77
|
+
private readonly baseEndpoint;
|
|
78
|
+
constructor(client: BshClient, entity?: string | undefined);
|
|
79
|
+
findById<TT = T>(params: EntityFnParams<TT> & {
|
|
80
|
+
id: string;
|
|
81
|
+
}): Promise<BshResponse<TT> | undefined>;
|
|
82
|
+
create<TT = T>(params: EntityFnParamsWithPayload<TT>): Promise<BshResponse<TT> | undefined>;
|
|
83
|
+
createMany<TT = T>(params: EntityFnParamsWithPayload<TT[], TT>): Promise<BshResponse<TT> | undefined>;
|
|
84
|
+
update<TT = T>(params: EntityFnParamsWithPayload<TT>): Promise<BshResponse<TT> | undefined>;
|
|
85
|
+
updateMany<TT = T>(params: EntityFnParamsWithPayload<TT[], TT>): Promise<BshResponse<TT> | undefined>;
|
|
86
|
+
search<TT extends T = T, R = TT>(params: EntitySearchFnParams<TT, R>): Promise<BshResponse<R> | undefined>;
|
|
87
|
+
delete<TT = T>(params: EntitySearchFnParams<TT, {
|
|
88
|
+
effected: number;
|
|
89
|
+
}>): Promise<BshResponse<{
|
|
90
|
+
effected: number;
|
|
91
|
+
}> | undefined>;
|
|
92
|
+
deleteById<TT = T>(params: EntityFnParams<TT, {
|
|
93
|
+
effected: number;
|
|
94
|
+
}> & {
|
|
95
|
+
id: string;
|
|
96
|
+
}): Promise<BshResponse<{
|
|
97
|
+
effected: number;
|
|
98
|
+
}> | undefined>;
|
|
99
|
+
columns(params: EntityFnParams<unknown, {
|
|
100
|
+
name: string;
|
|
101
|
+
type: string;
|
|
102
|
+
}>): Promise<BshResponse<{
|
|
103
|
+
name: string;
|
|
104
|
+
type: string;
|
|
105
|
+
}> | undefined>;
|
|
106
|
+
export<TT = T>(params: EntityFnParamsWithPayload<BshSearch<TT>, Blob> & {
|
|
107
|
+
format: 'csv' | 'json' | 'excel';
|
|
108
|
+
filename?: string;
|
|
109
|
+
}): Promise<void>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare class AuthService {
|
|
113
|
+
private readonly client;
|
|
114
|
+
private readonly baseEndpoint;
|
|
115
|
+
constructor(client: BshClient);
|
|
116
|
+
login(params: BshCallbackParamsWithPayload<LoginParams, AuthTokens>): Promise<BshResponse<AuthTokens> | undefined>;
|
|
117
|
+
register(params: BshCallbackParamsWithPayload<BshUserInit, BshUser>): Promise<BshResponse<BshUser> | undefined>;
|
|
118
|
+
refreshToken(params: BshCallbackParamsWithPayload<{
|
|
119
|
+
refresh: string;
|
|
120
|
+
}, AuthTokens>): Promise<BshResponse<AuthTokens> | undefined>;
|
|
121
|
+
forgetPassword(params: BshCallbackParamsWithPayload<{
|
|
122
|
+
email: string;
|
|
123
|
+
}, unknown>): Promise<BshResponse<unknown> | undefined>;
|
|
124
|
+
resetPassword(params: BshCallbackParamsWithPayload<{
|
|
125
|
+
email: string;
|
|
126
|
+
code: string;
|
|
127
|
+
newPassword: string;
|
|
128
|
+
}, unknown>): Promise<BshResponse<unknown> | undefined>;
|
|
129
|
+
activateAccount(params: BshCallbackParamsWithPayload<{
|
|
130
|
+
email: string;
|
|
131
|
+
code: string;
|
|
132
|
+
}, unknown>): Promise<BshResponse<unknown> | undefined>;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
declare class UserService {
|
|
136
|
+
private readonly client;
|
|
137
|
+
private readonly baseEndpoint;
|
|
138
|
+
constructor(client: BshClient);
|
|
139
|
+
me(params: BshCallbackParams<unknown, BshUser>): Promise<BshResponse<BshUser> | undefined>;
|
|
140
|
+
init(params: BshCallbackParamsWithPayload<BshUserInit, BshUser>): Promise<BshResponse<BshUser> | undefined>;
|
|
141
|
+
updateProfile(params: BshCallbackParamsWithPayload<Partial<BshUser['profile']>, BshUser>): Promise<BshResponse<BshUser> | undefined>;
|
|
142
|
+
updatePicture(params: BshCallbackParamsWithPayload<File, BshUser>): Promise<BshResponse<BshUser> | undefined>;
|
|
143
|
+
updatePassword(params: BshCallbackParamsWithPayload<{
|
|
144
|
+
currentPassword: string;
|
|
145
|
+
newPassword: string;
|
|
146
|
+
}, {
|
|
147
|
+
message: string;
|
|
148
|
+
}>): Promise<BshResponse<{
|
|
149
|
+
message: string;
|
|
150
|
+
}> | undefined>;
|
|
151
|
+
getById(params: BshCallbackParams<unknown, BshUser> & {
|
|
152
|
+
id: string;
|
|
153
|
+
}): Promise<BshResponse<BshUser> | undefined>;
|
|
154
|
+
search(params: BshCallbackParamsWithPayload<BshSearch<BshUser> | undefined, BshUser>): Promise<BshResponse<BshUser> | undefined>;
|
|
155
|
+
list(params: BshCallbackParams<unknown, BshUser> & {
|
|
156
|
+
queryParams?: {
|
|
157
|
+
page?: string;
|
|
158
|
+
size?: string;
|
|
159
|
+
sort?: string;
|
|
160
|
+
filter?: string;
|
|
161
|
+
};
|
|
162
|
+
}): Promise<BshResponse<BshUser> | undefined>;
|
|
163
|
+
update(params: BshCallbackParamsWithPayload<Partial<BshUser>, BshUser>): Promise<BshResponse<BshUser> | undefined>;
|
|
164
|
+
deleteById(params: BshCallbackParams<unknown, BshUser> & {
|
|
165
|
+
id: string;
|
|
166
|
+
}): Promise<BshResponse<BshUser> | undefined>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare class SettingsService {
|
|
170
|
+
private readonly client;
|
|
171
|
+
private readonly baseEndpoint;
|
|
172
|
+
constructor(client: BshClient);
|
|
173
|
+
load(params: BshCallbackParams<unknown, BshSettings>): Promise<BshResponse<BshSettings> | undefined>;
|
|
174
|
+
update(params: BshCallbackParamsWithPayload<BshSettings, BshSettings>): Promise<BshResponse<BshSettings> | undefined>;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
declare class ImageService {
|
|
178
|
+
private readonly client;
|
|
179
|
+
private readonly baseEndpoint;
|
|
180
|
+
constructor(client: BshClient);
|
|
181
|
+
upload(params: BshCallbackParamsWithPayload<{
|
|
182
|
+
file: File;
|
|
183
|
+
namespace?: string;
|
|
184
|
+
assetId?: string;
|
|
185
|
+
options?: UploadOptions;
|
|
186
|
+
}, UploadResponse>): Promise<BshResponse<UploadResponse> | undefined>;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare class MailingService {
|
|
190
|
+
private readonly client;
|
|
191
|
+
private readonly baseEndpoint;
|
|
192
|
+
constructor(client: BshClient);
|
|
193
|
+
send(params: BshCallbackParamsWithPayload<MailingPayload, MailingPayload>): Promise<BshResponse<MailingPayload> | undefined>;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare class BshUtilsService {
|
|
197
|
+
private readonly client;
|
|
198
|
+
private readonly baseEndpoint;
|
|
199
|
+
constructor(client: BshClient);
|
|
200
|
+
triggerPlugins(params: BshCallbackParams<unknown, BshTriggerPlugin>): Promise<BshResponse<BshTriggerPlugin> | undefined>;
|
|
201
|
+
triggerActions(params: BshCallbackParams<unknown, BshTriggerAction>): Promise<BshResponse<BshTriggerAction> | undefined>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
type CacheRemoveResponse = {
|
|
205
|
+
caches: string[];
|
|
206
|
+
};
|
|
207
|
+
declare class CachingService {
|
|
208
|
+
private readonly client;
|
|
209
|
+
private readonly baseEndpoint;
|
|
210
|
+
constructor(client: BshClient);
|
|
211
|
+
findById(params: BshCallbackParams<unknown, CacheInfo> & {
|
|
212
|
+
id: string;
|
|
213
|
+
}): Promise<BshResponse<CacheInfo> | undefined>;
|
|
214
|
+
search(params: BshCallbackParamsWithPayload<BshSearch, CacheInfo>): Promise<BshResponse<CacheInfo> | undefined>;
|
|
215
|
+
names(params: BshCallbackParams<unknown, string>): Promise<BshResponse<string> | undefined>;
|
|
216
|
+
clearById(params: BshCallbackParams<unknown, CacheRemoveResponse> & {
|
|
217
|
+
id: string;
|
|
218
|
+
}): Promise<BshResponse<CacheRemoveResponse> | undefined>;
|
|
219
|
+
clearAll(params: BshCallbackParams<unknown, CacheRemoveResponse>): Promise<BshResponse<CacheRemoveResponse> | undefined>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
declare class ApiKeyService {
|
|
223
|
+
private readonly client;
|
|
224
|
+
private readonly baseEndpoint;
|
|
225
|
+
constructor(client: BshClient);
|
|
226
|
+
create(params: BshCallbackParamsWithPayload<BshApiKeysForm, BshApiKeys>): Promise<BshResponse<BshApiKeys> | undefined>;
|
|
227
|
+
details(params: BshCallbackParams<unknown, BshApiKeys> & {
|
|
228
|
+
id: number;
|
|
229
|
+
}): Promise<BshResponse<BshApiKeys> | undefined>;
|
|
230
|
+
revoke(params: BshCallbackParams<unknown, BshApiKeys> & {
|
|
231
|
+
id: number;
|
|
232
|
+
}): Promise<BshResponse<BshApiKeys> | undefined>;
|
|
233
|
+
getById(params: BshCallbackParams<unknown, BshApiKeys> & {
|
|
234
|
+
id: string;
|
|
235
|
+
}): Promise<BshResponse<BshApiKeys> | undefined>;
|
|
236
|
+
search(params: BshCallbackParamsWithPayload<BshSearch<BshApiKeys> | undefined, BshApiKeys>): Promise<BshResponse<BshApiKeys> | undefined>;
|
|
237
|
+
list(params: BshCallbackParams<unknown, BshApiKeys> & {
|
|
238
|
+
queryParams?: {
|
|
239
|
+
page?: string;
|
|
240
|
+
size?: string;
|
|
241
|
+
sort?: string;
|
|
242
|
+
filter?: string;
|
|
243
|
+
};
|
|
244
|
+
}): Promise<BshResponse<BshApiKeys> | undefined>;
|
|
245
|
+
deleteById(params: BshCallbackParams<unknown, BshApiKeys> & {
|
|
246
|
+
id: string;
|
|
247
|
+
}): Promise<BshResponse<BshApiKeys> | undefined>;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
type BshCallbackParams<T = unknown, R = T> = {
|
|
251
|
+
onSuccess?: (response: BshResponse<R>) => void;
|
|
252
|
+
onDownload?: (blob: Blob) => void;
|
|
253
|
+
onError?: (error: BshError) => void;
|
|
254
|
+
};
|
|
255
|
+
type BshCallbackParamsWithPayload<T = unknown, R = T> = BshCallbackParams<T, R> & {
|
|
256
|
+
payload: T;
|
|
257
|
+
};
|
|
258
|
+
type BshSearchCallbackParams<T, R = T> = BshCallbackParamsWithPayload<BshSearch<T>, R>;
|
|
259
|
+
|
|
260
|
+
type BshClientFnParams<T = unknown, R = T> = {
|
|
261
|
+
path: string;
|
|
262
|
+
options: {
|
|
263
|
+
method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
264
|
+
responseType?: 'json' | 'blob' | 'text' | 'arrayBuffer';
|
|
265
|
+
requestFormat?: 'json' | 'text' | 'form';
|
|
266
|
+
body?: T | BshSearch<T> | unknown;
|
|
267
|
+
formData?: FormData;
|
|
268
|
+
queryParams?: Record<string, string>;
|
|
269
|
+
headers?: Record<string, string>;
|
|
270
|
+
};
|
|
271
|
+
bshOptions: BshCallbackParams<T, R>;
|
|
272
|
+
api?: string;
|
|
273
|
+
};
|
|
274
|
+
type BshClientFn = <T = unknown>(params: BshClientFnParams<T>) => Promise<Response>;
|
|
275
|
+
declare const defaultClientFn: BshClientFn;
|
|
276
|
+
type AuthToken = {
|
|
277
|
+
type: 'JWT' | 'APIKEY';
|
|
278
|
+
token: string;
|
|
279
|
+
};
|
|
280
|
+
type BshAuthFn = () => Promise<AuthToken | undefined | null>;
|
|
281
|
+
type BshRefreshTokenFn = () => Promise<string | undefined | null>;
|
|
282
|
+
type BshPostInterceptor<T = any> = (result: BshResponse<T>, params?: BshClientFnParams<T>) => Promise<BshResponse<T>>;
|
|
283
|
+
type BshPreInterceptor<T = any> = (params: BshClientFnParams<T>) => Promise<BshClientFnParams<T>>;
|
|
284
|
+
type BshErrorInterceptor<T = any> = (error: BshError, response?: BshResponse<T>, params?: BshClientFnParams<T>) => Promise<BshError | undefined>;
|
|
285
|
+
|
|
286
|
+
export { type AuthToken as A, type BshClientFn as B, type CacheRemoveResponse as C, type EntityFnParams as E, ImageService as I, MailingService as M, SettingsService as S, UserService as U, type BshAuthFn as a, BshEngine as b, type BshClientFnParams as c, defaultClientFn as d, type BshRefreshTokenFn as e, type BshPostInterceptor as f, type BshPreInterceptor as g, type BshErrorInterceptor as h, BshClient as i, type BshCallbackParams as j, type BshCallbackParamsWithPayload as k, type BshSearchCallbackParams as l, type EntityFnParamsWithPayload as m, type EntitySearchFnParams as n, EntityService as o, AuthService as p, BshUtilsService as q, CachingService as r, ApiKeyService as s };
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bshsolutions/sdk-beta",
|
|
3
|
+
"version": "0.0.2-beta",
|
|
4
|
+
"description": "TypeScript SDK for integrating with BSH Engine - API services and utilities",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./client": {
|
|
15
|
+
"types": "./dist/client/index.d.ts",
|
|
16
|
+
"import": "./dist/client/index.js",
|
|
17
|
+
"require": "./dist/client/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./services": {
|
|
20
|
+
"types": "./dist/services/index.d.ts",
|
|
21
|
+
"import": "./dist/services/index.js",
|
|
22
|
+
"require": "./dist/services/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./services/core": {
|
|
25
|
+
"types": "./dist/services/core/index.d.ts",
|
|
26
|
+
"import": "./dist/services/core/index.js",
|
|
27
|
+
"require": "./dist/services/core/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./types": {
|
|
30
|
+
"types": "./dist/types/index.d.ts",
|
|
31
|
+
"import": "./dist/types/index.js",
|
|
32
|
+
"require": "./dist/types/index.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsup",
|
|
40
|
+
"prepublishOnly": "npm run build",
|
|
41
|
+
"clean": "rm -rf dist",
|
|
42
|
+
"update-demos": "bash scripts/update-demos.sh",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"test:watch": "vitest",
|
|
45
|
+
"test:coverage": "vitest run --coverage"
|
|
46
|
+
},
|
|
47
|
+
"keywords": [
|
|
48
|
+
"bsh",
|
|
49
|
+
"bsh-engine",
|
|
50
|
+
"sdk",
|
|
51
|
+
"api",
|
|
52
|
+
"typescript",
|
|
53
|
+
"client"
|
|
54
|
+
],
|
|
55
|
+
"author": "Bousalih Hamza <hamza.bousalih.com>",
|
|
56
|
+
"license": "MIT",
|
|
57
|
+
"repository": {
|
|
58
|
+
"type": "git",
|
|
59
|
+
"url": "https://github.com/bshgenerator/bshengine.sdk.ts"
|
|
60
|
+
},
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@types/node": "^20.0.0",
|
|
66
|
+
"@vitest/coverage-v8": "^2.0.0",
|
|
67
|
+
"tsup": "^8.0.0",
|
|
68
|
+
"typescript": "^5.0.0",
|
|
69
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
70
|
+
"vitest": "^2.0.0"
|
|
71
|
+
},
|
|
72
|
+
"overrides": {
|
|
73
|
+
"esbuild": "^0.25.0"
|
|
74
|
+
}
|
|
75
|
+
}
|