@agroyaar/sdk 1.0.2 → 1.0.3
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.cjs +3 -3
- package/package.json +1 -1
- package/dist/index.d.cts +0 -21
- /package/dist/{index.js → index.mjs} +0 -0
package/dist/index.cjs
CHANGED
@@ -28,11 +28,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
30
|
// src/index.ts
|
31
|
-
var
|
32
|
-
__export(
|
31
|
+
var src_exports = {};
|
32
|
+
__export(src_exports, {
|
33
33
|
createSDK: () => createSDK
|
34
34
|
});
|
35
|
-
module.exports = __toCommonJS(
|
35
|
+
module.exports = __toCommonJS(src_exports);
|
36
36
|
|
37
37
|
// src/core/client.ts
|
38
38
|
var import_axios = __toESM(require("axios"), 1);
|
package/package.json
CHANGED
package/dist/index.d.cts
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
type MechanizationVarietyDto = {
|
2
|
-
id: string;
|
3
|
-
name: string;
|
4
|
-
iconUrl: string;
|
5
|
-
kindLabel: string;
|
6
|
-
seasonProcessIds: string[];
|
7
|
-
machineUsageIds: string[];
|
8
|
-
};
|
9
|
-
|
10
|
-
type ClientConfig = {
|
11
|
-
readonly baseURL: string;
|
12
|
-
readonly token?: string;
|
13
|
-
};
|
14
|
-
|
15
|
-
declare const createSDK: (config: ClientConfig) => {
|
16
|
-
mechanization: {
|
17
|
-
getMechanizationVarieties: (kindName: "MOTORIZED" | "NON_MOTORIZED") => Promise<MechanizationVarietyDto[]>;
|
18
|
-
};
|
19
|
-
};
|
20
|
-
|
21
|
-
export { type MechanizationVarietyDto, createSDK };
|
File without changes
|