@reservation-studio/electron-types 0.0.1 → 0.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/README.md +1 -1
- package/dist/api/index.d.ts +5 -5
- package/dist/enums/actions.enum.d.ts +2 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @reservation-studio/electron-types
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { CertificateInfo } from '../interfaces/certificate-info.interface';
|
|
2
|
-
|
|
2
|
+
declare const ReservationStudioElectron: {
|
|
3
3
|
certificates: {
|
|
4
4
|
list: () => Promise<CertificateInfo[]>;
|
|
5
5
|
};
|
|
6
6
|
xml: {
|
|
7
7
|
sign: (xml: string, certificateId: string, pin?: string) => Promise<string>;
|
|
8
8
|
};
|
|
9
|
-
version: () => string
|
|
9
|
+
version: () => Promise<string>;
|
|
10
10
|
};
|
|
11
|
+
type ApiInterface = typeof ReservationStudioElectron;
|
|
11
12
|
declare global {
|
|
12
|
-
|
|
13
|
-
ReservationStudioElectron: typeof ReservationStudioElectron;
|
|
14
|
-
}
|
|
13
|
+
const ReservationStudioElectron: ApiInterface;
|
|
15
14
|
}
|
|
15
|
+
export { ReservationStudioElectron };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reservation-studio/electron-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "TypeScript типове за ReservationStudioElectron",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc",
|
|
7
|
-
"prebuild": "rimraf ./dist"
|
|
7
|
+
"prebuild": "rimraf ./dist",
|
|
8
|
+
"release": "npm run build && npm publish --access public"
|
|
8
9
|
},
|
|
9
|
-
"main": "./dist/api/index.d.ts",
|
|
10
10
|
"types": "./dist/api/index.d.ts",
|
|
11
11
|
"keywords": [
|
|
12
12
|
"typescript",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"author": "Venelin Iliev",
|
|
17
17
|
"license": "Proprietary - Reservation.Studio",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"typescript": "^4.5.4"
|
|
19
|
+
"typescript": "^4.5.4",
|
|
20
|
+
"@types/node": "^20"
|
|
20
21
|
},
|
|
21
22
|
"files": [
|
|
22
23
|
"dist"
|