@colior115/all-connected-be-sdk 1.0.23
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/package.json +15 -0
- package/src/clients/business.client.ts +22 -0
- package/src/clients/businessRelation.client.ts +33 -0
- package/src/clients/customer.client.ts +31 -0
- package/src/clients/employee.client.ts +34 -0
- package/src/clients/user.client.ts +22 -0
- package/src/clients/userRole.client.ts +19 -0
- package/src/http.ts +52 -0
- package/src/index.ts +20 -0
- package/src/types.ts +120 -0
- package/tsconfig.json +11 -0
- package/yarn-error.log +46 -0
package/package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@colior115/all-connected-be-sdk",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/colior115/allConnectedBE.git"
|
|
9
|
+
},
|
|
10
|
+
"version": "1.0.23",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"main": "src/index.ts",
|
|
13
|
+
"types": "src/index.ts",
|
|
14
|
+
"license": "MIT"
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { request, SdkConfig } from "../http";
|
|
2
|
+
import { BusinessDTO, BusinessPublicDetailsDTO, CreateBusinessInputDTO, UpdateBusinessInputDTO } from "../types";
|
|
3
|
+
|
|
4
|
+
export const createBusinessClient = (config: SdkConfig) => ({
|
|
5
|
+
getPublicDetails: (id: string) =>
|
|
6
|
+
request<BusinessPublicDetailsDTO>(config, `/api/business/${id}/public`, { withAuth: false }),
|
|
7
|
+
|
|
8
|
+
getAll: () =>
|
|
9
|
+
request<BusinessDTO[]>(config, "/api/business/all"),
|
|
10
|
+
|
|
11
|
+
get: (id: string) =>
|
|
12
|
+
request<BusinessDTO>(config, `/api/business/${id}`, { withBusinessToken: true }),
|
|
13
|
+
|
|
14
|
+
create: (input: CreateBusinessInputDTO) =>
|
|
15
|
+
request<BusinessDTO>(config, "/api/business", { method: "POST", body: input }),
|
|
16
|
+
|
|
17
|
+
update: (id: string, input: UpdateBusinessInputDTO) =>
|
|
18
|
+
request<BusinessDTO>(config, `/api/business/${id}`, { method: "PUT", body: input, withBusinessToken: true }),
|
|
19
|
+
|
|
20
|
+
delete: (id: string) =>
|
|
21
|
+
request<BusinessDTO>(config, `/api/business/${id}`, { method: "DELETE", withBusinessToken: true }),
|
|
22
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { request, SdkConfig } from "../http";
|
|
2
|
+
import {
|
|
3
|
+
BusinessRelationDTO,
|
|
4
|
+
BusinessRelationEnrichedDTO,
|
|
5
|
+
CreateBusinessRelationInputDTO,
|
|
6
|
+
UpdateBusinessRelationInputDTO,
|
|
7
|
+
} from "../types";
|
|
8
|
+
|
|
9
|
+
export const createBusinessRelationClient = (config: SdkConfig) => ({
|
|
10
|
+
getAll: (businessId: string) =>
|
|
11
|
+
request<BusinessRelationDTO[]>(config, `/api/businessRelation/${businessId}/all`),
|
|
12
|
+
|
|
13
|
+
get: (id: string) =>
|
|
14
|
+
request<BusinessRelationDTO>(config, `/api/businessRelation/${id}`),
|
|
15
|
+
|
|
16
|
+
create: (input: CreateBusinessRelationInputDTO) =>
|
|
17
|
+
request<BusinessRelationDTO>(config, "/api/businessRelation", { method: "POST", body: input }),
|
|
18
|
+
|
|
19
|
+
update: (id: string, input: UpdateBusinessRelationInputDTO) =>
|
|
20
|
+
request<BusinessRelationDTO>(config, `/api/businessRelation/${id}`, { method: "PUT", body: input }),
|
|
21
|
+
|
|
22
|
+
delete: (id: string) =>
|
|
23
|
+
request<BusinessRelationDTO>(config, `/api/businessRelation/${id}`, { method: "DELETE" }),
|
|
24
|
+
|
|
25
|
+
connect: (businessId: string) =>
|
|
26
|
+
request<{ token: string }>(config, "/api/businessRelation/connect", {
|
|
27
|
+
method: "POST",
|
|
28
|
+
body: { businessId },
|
|
29
|
+
}),
|
|
30
|
+
|
|
31
|
+
getUserBusinesses: () =>
|
|
32
|
+
request<BusinessRelationEnrichedDTO[]>(config, "/api/businessRelation/user/businesses"),
|
|
33
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { request, SdkConfig } from "../http";
|
|
2
|
+
import { CustomerDTO, CustomerListResponseDTO, CreateCustomerInputDTO, UpdateCustomerInputDTO } from "../types";
|
|
3
|
+
|
|
4
|
+
export type GetAllCustomersParams = {
|
|
5
|
+
page?: number;
|
|
6
|
+
limit?: number;
|
|
7
|
+
search?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const createCustomerClient = (config: SdkConfig) => ({
|
|
11
|
+
getAll: (businessId: string, params: GetAllCustomersParams = {}) => {
|
|
12
|
+
const query = new URLSearchParams();
|
|
13
|
+
if (params.page !== undefined) query.set("page", String(params.page));
|
|
14
|
+
if (params.limit !== undefined) query.set("limit", String(params.limit));
|
|
15
|
+
if (params.search) query.set("search", params.search);
|
|
16
|
+
const qs = query.toString();
|
|
17
|
+
return request<CustomerListResponseDTO>(config, `/api/customer/${businessId}/all${qs ? `?${qs}` : ""}`);
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
get: (id: string) =>
|
|
21
|
+
request<CustomerDTO>(config, `/api/customer/${id}`),
|
|
22
|
+
|
|
23
|
+
create: (input: CreateCustomerInputDTO) =>
|
|
24
|
+
request<CustomerDTO>(config, "/api/customer", { method: "POST", body: input }),
|
|
25
|
+
|
|
26
|
+
update: (id: string, input: UpdateCustomerInputDTO) =>
|
|
27
|
+
request<CustomerDTO>(config, `/api/customer/${id}`, { method: "PUT", body: input }),
|
|
28
|
+
|
|
29
|
+
delete: (id: string) =>
|
|
30
|
+
request<CustomerDTO>(config, `/api/customer/${id}`, { method: "DELETE" }),
|
|
31
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { request, SdkConfig } from "../http";
|
|
2
|
+
import { EmployeeDTO, EmployeeListResponseDTO, CreateEmployeeInputDTO, UpdateEmployeeInputDTO } from "../types";
|
|
3
|
+
|
|
4
|
+
export type GetAllEmployeesParams = {
|
|
5
|
+
page?: number;
|
|
6
|
+
limit?: number;
|
|
7
|
+
search?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const createEmployeeClient = (config: SdkConfig) => ({
|
|
11
|
+
getAll: (businessId: string, params: GetAllEmployeesParams = {}) => {
|
|
12
|
+
const query = new URLSearchParams();
|
|
13
|
+
if (params.page !== undefined) query.set("page", String(params.page));
|
|
14
|
+
if (params.limit !== undefined) query.set("limit", String(params.limit));
|
|
15
|
+
if (params.search) query.set("search", params.search);
|
|
16
|
+
const qs = query.toString();
|
|
17
|
+
return request<EmployeeListResponseDTO>(config, `/api/employee/${businessId}/all${qs ? `?${qs}` : ""}`);
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
get: (employeeId: string) =>
|
|
21
|
+
request<EmployeeDTO>(config, `/api/employee/${employeeId}`),
|
|
22
|
+
|
|
23
|
+
getByBusinessIdAndEmail: (businessId: string, email: string) =>
|
|
24
|
+
request<EmployeeDTO>(config, `/api/employee/${businessId}/email/${encodeURIComponent(email)}`),
|
|
25
|
+
|
|
26
|
+
create: (input: CreateEmployeeInputDTO) =>
|
|
27
|
+
request<EmployeeDTO>(config, "/api/employee", { method: "POST", body: input }),
|
|
28
|
+
|
|
29
|
+
update: (employeeId: string, input: UpdateEmployeeInputDTO) =>
|
|
30
|
+
request<EmployeeDTO>(config, `/api/employee/${employeeId}`, { method: "PUT", body: input }),
|
|
31
|
+
|
|
32
|
+
delete: (employeeId: string) =>
|
|
33
|
+
request<EmployeeDTO>(config, `/api/employee/${employeeId}`, { method: "DELETE" }),
|
|
34
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { request, SdkConfig } from "../http";
|
|
2
|
+
import { UserDTO, CreateUserInputDTO, UpdateUserInputDTO, UserSystemRole } from "../types";
|
|
3
|
+
|
|
4
|
+
export const createUserClient = (config: SdkConfig) => ({
|
|
5
|
+
get: (id: string) =>
|
|
6
|
+
request<UserDTO>(config, `/api/user/${id}`),
|
|
7
|
+
|
|
8
|
+
getByEmail: (email: string) =>
|
|
9
|
+
request<UserDTO>(config, `/api/user/email/${encodeURIComponent(email)}`),
|
|
10
|
+
|
|
11
|
+
create: (input: CreateUserInputDTO) =>
|
|
12
|
+
request<UserDTO>(config, "/api/user", { method: "POST", body: input }),
|
|
13
|
+
|
|
14
|
+
update: (id: string, input: UpdateUserInputDTO) =>
|
|
15
|
+
request<UserDTO>(config, `/api/user/${id}`, { method: "PUT", body: input }),
|
|
16
|
+
|
|
17
|
+
delete: (id: string) =>
|
|
18
|
+
request<UserDTO>(config, `/api/user/${id}`, { method: "DELETE" }),
|
|
19
|
+
|
|
20
|
+
setRole: (id: string, role: UserSystemRole) =>
|
|
21
|
+
request<UserDTO>(config, `/api/user/${id}/role`, { method: "PUT", body: { role } }),
|
|
22
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { request, SdkConfig } from "../http";
|
|
2
|
+
import { UserRoleDTO, CreateUserRoleInputDTO, UpdateUserRoleInputDTO } from "../types";
|
|
3
|
+
|
|
4
|
+
export const createUserRoleClient = (config: SdkConfig) => ({
|
|
5
|
+
getAll: (businessId: string) =>
|
|
6
|
+
request<UserRoleDTO[]>(config, `/api/userRole/${businessId}/all`),
|
|
7
|
+
|
|
8
|
+
get: (id: string) =>
|
|
9
|
+
request<UserRoleDTO>(config, `/api/userRole/${id}`),
|
|
10
|
+
|
|
11
|
+
create: (input: CreateUserRoleInputDTO) =>
|
|
12
|
+
request<UserRoleDTO>(config, "/api/userRole", { method: "POST", body: input }),
|
|
13
|
+
|
|
14
|
+
update: (id: string, input: UpdateUserRoleInputDTO) =>
|
|
15
|
+
request<UserRoleDTO>(config, `/api/userRole/${id}`, { method: "PUT", body: input }),
|
|
16
|
+
|
|
17
|
+
delete: (id: string) =>
|
|
18
|
+
request<UserRoleDTO>(config, `/api/userRole/${id}`, { method: "DELETE" }),
|
|
19
|
+
});
|
package/src/http.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export type SdkConfig = {
|
|
2
|
+
baseUrl: string;
|
|
3
|
+
getAuthToken: () => Promise<string | undefined>;
|
|
4
|
+
getBusinessToken: () => Promise<string | undefined>;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export class SdkError extends Error {
|
|
8
|
+
constructor(public status: number, message: string) {
|
|
9
|
+
super(message);
|
|
10
|
+
this.name = "SdkError";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type RequestOptions = {
|
|
15
|
+
method?: "GET" | "POST" | "PUT" | "DELETE";
|
|
16
|
+
body?: unknown;
|
|
17
|
+
withAuth?: boolean;
|
|
18
|
+
withBusinessToken?: boolean;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export async function request<T>(
|
|
22
|
+
config: SdkConfig,
|
|
23
|
+
path: string,
|
|
24
|
+
options: RequestOptions = {}
|
|
25
|
+
): Promise<T> {
|
|
26
|
+
const { method = "GET", body, withAuth = true, withBusinessToken = false } = options;
|
|
27
|
+
|
|
28
|
+
const headers: Record<string, string> = { "Content-Type": "application/json" };
|
|
29
|
+
|
|
30
|
+
if (withAuth) {
|
|
31
|
+
const token = await config.getAuthToken();
|
|
32
|
+
if (token) headers["Authorization"] = `Bearer ${token}`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (withBusinessToken) {
|
|
36
|
+
const token = await config.getBusinessToken();
|
|
37
|
+
if (token) headers["x-business-token"] = token;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const res = await fetch(`${config.baseUrl}${path}`, {
|
|
41
|
+
method,
|
|
42
|
+
headers,
|
|
43
|
+
body: body !== undefined ? JSON.stringify(body) : undefined,
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
if (!res.ok) {
|
|
47
|
+
const payload = await res.json().catch(() => ({ message: res.statusText }));
|
|
48
|
+
throw new SdkError(res.status, (payload as { message?: string }).message ?? res.statusText);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return res.json() as Promise<T>;
|
|
52
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SdkConfig } from "./http";
|
|
2
|
+
import { createUserClient } from "./clients/user.client";
|
|
3
|
+
import { createBusinessClient } from "./clients/business.client";
|
|
4
|
+
import { createEmployeeClient } from "./clients/employee.client";
|
|
5
|
+
import { createBusinessRelationClient } from "./clients/businessRelation.client";
|
|
6
|
+
import { createUserRoleClient } from "./clients/userRole.client";
|
|
7
|
+
import { createCustomerClient } from "./clients/customer.client";
|
|
8
|
+
|
|
9
|
+
export const createSdk = (config: SdkConfig) => ({
|
|
10
|
+
user: createUserClient(config),
|
|
11
|
+
business: createBusinessClient(config),
|
|
12
|
+
employee: createEmployeeClient(config),
|
|
13
|
+
businessRelation: createBusinessRelationClient(config),
|
|
14
|
+
userRole: createUserRoleClient(config),
|
|
15
|
+
customer: createCustomerClient(config),
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export type { SdkConfig } from "./http";
|
|
19
|
+
export { SdkError } from "./http";
|
|
20
|
+
export * from "./types";
|
package/src/types.ts
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// ── Shared primitives ─────────────────────────────────────────────────────────
|
|
2
|
+
|
|
3
|
+
export type UserSystemRole = "admin" | "user";
|
|
4
|
+
export type AppArea = "employees" | "accounts" | "customers";
|
|
5
|
+
export type PermissionLevel = "EDIT" | "VIEW" | "NONE";
|
|
6
|
+
export type Permissions = { [K in AppArea]: PermissionLevel };
|
|
7
|
+
export type EmploymentStatus = "active" | "terminated" | "on_leave";
|
|
8
|
+
export type Gender = "male" | "female" | "other";
|
|
9
|
+
|
|
10
|
+
// ── User ──────────────────────────────────────────────────────────────────────
|
|
11
|
+
|
|
12
|
+
export type UserDTO = {
|
|
13
|
+
id: string;
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
email: string;
|
|
17
|
+
role: UserSystemRole;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type CreateUserInputDTO = Omit<UserDTO, "id">;
|
|
21
|
+
export type UpdateUserInputDTO = Partial<CreateUserInputDTO>;
|
|
22
|
+
|
|
23
|
+
// ── Business ──────────────────────────────────────────────────────────────────
|
|
24
|
+
|
|
25
|
+
export type BusinessDTO = {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
businessId: string;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export type BusinessPublicDetailsDTO = Pick<BusinessDTO, "id" | "name">;
|
|
32
|
+
export type CreateBusinessInputDTO = Omit<BusinessDTO, "id">;
|
|
33
|
+
export type UpdateBusinessInputDTO = Partial<CreateBusinessInputDTO>;
|
|
34
|
+
|
|
35
|
+
// ── Employee ──────────────────────────────────────────────────────────────────
|
|
36
|
+
|
|
37
|
+
export type EmployeeDTO = {
|
|
38
|
+
id: string;
|
|
39
|
+
businessId: string;
|
|
40
|
+
firstName: string;
|
|
41
|
+
lastName: string;
|
|
42
|
+
gender: Gender;
|
|
43
|
+
hireDate: string;
|
|
44
|
+
employmentStatus: EmploymentStatus;
|
|
45
|
+
employeeId: string;
|
|
46
|
+
email?: string;
|
|
47
|
+
phone?: string;
|
|
48
|
+
terminationDate?: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type EmployeeListItemDTO = {
|
|
52
|
+
id: string;
|
|
53
|
+
firstName: string;
|
|
54
|
+
lastName: string;
|
|
55
|
+
email?: string;
|
|
56
|
+
employmentStatus: EmploymentStatus;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type EmployeeListResponseDTO = {
|
|
60
|
+
data: EmployeeListItemDTO[];
|
|
61
|
+
total: number;
|
|
62
|
+
page: number;
|
|
63
|
+
limit: number;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export type CreateEmployeeInputDTO = Omit<EmployeeDTO, "id">;
|
|
67
|
+
export type UpdateEmployeeInputDTO = Partial<CreateEmployeeInputDTO>;
|
|
68
|
+
|
|
69
|
+
// ── UserRole ──────────────────────────────────────────────────────────────────
|
|
70
|
+
|
|
71
|
+
export type UserRoleDTO = {
|
|
72
|
+
id: string;
|
|
73
|
+
businessId: string;
|
|
74
|
+
roleName: string;
|
|
75
|
+
permissions: Permissions;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type CreateUserRoleInputDTO = Omit<UserRoleDTO, "id">;
|
|
79
|
+
export type UpdateUserRoleInputDTO = Partial<Omit<UserRoleDTO, "id">>;
|
|
80
|
+
|
|
81
|
+
// ── BusinessRelation ──────────────────────────────────────────────────────────
|
|
82
|
+
|
|
83
|
+
export type BusinessRelationDTO = {
|
|
84
|
+
id: string;
|
|
85
|
+
userId: string;
|
|
86
|
+
businessId: string;
|
|
87
|
+
roleId: string;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export type CreateBusinessRelationInputDTO = Omit<BusinessRelationDTO, "id">;
|
|
91
|
+
export type UpdateBusinessRelationInputDTO = { roleId?: string };
|
|
92
|
+
|
|
93
|
+
export type BusinessRelationEnrichedDTO = {
|
|
94
|
+
id: string;
|
|
95
|
+
userId: string;
|
|
96
|
+
business: BusinessDTO;
|
|
97
|
+
role: UserRoleDTO;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
// ── Customer ──────────────────────────────────────────────────────────────────
|
|
101
|
+
|
|
102
|
+
export type CustomerDTO = {
|
|
103
|
+
id: string;
|
|
104
|
+
businessId: string;
|
|
105
|
+
name: string;
|
|
106
|
+
individual: boolean;
|
|
107
|
+
address?: string;
|
|
108
|
+
phone?: string;
|
|
109
|
+
email?: string;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export type CustomerListResponseDTO = {
|
|
113
|
+
data: CustomerDTO[];
|
|
114
|
+
total: number;
|
|
115
|
+
page: number;
|
|
116
|
+
limit: number;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export type CreateCustomerInputDTO = Omit<CustomerDTO, "id">;
|
|
120
|
+
export type UpdateCustomerInputDTO = Partial<Omit<CustomerDTO, "id">>;
|
package/tsconfig.json
ADDED
package/yarn-error.log
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Arguments:
|
|
2
|
+
/usr/local/Cellar/node/25.8.1/bin/node /usr/local/Cellar/yarn/1.22.19/libexec/bin/yarn.js build
|
|
3
|
+
|
|
4
|
+
PATH:
|
|
5
|
+
/usr/local/sbin:/Users/liorcohen/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Users/liorcohen/Library/Application Support/Code/User/globalStorage/github.copilot-chat/copilotCli:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Users/liorcohen/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Users/liorcohen/Library/Application Support/Code/User/globalStorage/github.copilot-chat/copilotCli:/usr/local/sbin
|
|
6
|
+
|
|
7
|
+
Yarn version:
|
|
8
|
+
1.22.19
|
|
9
|
+
|
|
10
|
+
Node version:
|
|
11
|
+
25.8.1
|
|
12
|
+
|
|
13
|
+
Platform:
|
|
14
|
+
darwin x64
|
|
15
|
+
|
|
16
|
+
Trace:
|
|
17
|
+
SyntaxError: /Users/liorcohen/Documents/AllConnected/allConnectedBE/package.json: Expected ',' or '}' after property value in JSON at position 620 (line 17 column 5)
|
|
18
|
+
at JSON.parse (<anonymous>)
|
|
19
|
+
at /usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:1629:59
|
|
20
|
+
at Generator.next (<anonymous>)
|
|
21
|
+
at step (/usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:310:30)
|
|
22
|
+
at /usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:321:13
|
|
23
|
+
|
|
24
|
+
npm manifest:
|
|
25
|
+
{
|
|
26
|
+
"name": "@colior115/all-connected-be-sdk",
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"registry": "https://npm.pkg.github.com"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/colior115/allConnectedBE.git"
|
|
33
|
+
},
|
|
34
|
+
"version": "1.0.5",
|
|
35
|
+
"type": "module",
|
|
36
|
+
"main": "src/index.ts",
|
|
37
|
+
"types": "src/index.ts",
|
|
38
|
+
"license": "MIT"
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
yarn manifest:
|
|
42
|
+
No manifest
|
|
43
|
+
|
|
44
|
+
Lockfile:
|
|
45
|
+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
46
|
+
# yarn lockfile v1
|