@funpay-pilot/contracts 0.1.17 → 0.1.19

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.
@@ -0,0 +1,12 @@
1
+ export interface AccountExecuteRunnerEvent {
2
+ accountId: string;
3
+ goldenKey: string;
4
+ phpsessid: string;
5
+ csrfToken: string;
6
+ runnerObjects: object[];
7
+ runnerCommands: object[];
8
+ }
9
+ export interface AccountRunnerExecutedEvent {
10
+ accountId: string;
11
+ runnerObjects: object[];
12
+ }
@@ -1,2 +1,5 @@
1
1
  "use strict";
2
+ // export interface Events {
3
+ // chat:
4
+ // }
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,3 +2,16 @@ export interface AccountFetchEvent {
2
2
  accountId: string;
3
3
  goldenKey: string;
4
4
  }
5
+ export interface AccountFetchedEvent {
6
+ accountId: string;
7
+ funpayId: number;
8
+ csrfToken: string;
9
+ phpsessid: string;
10
+ username: string;
11
+ avatarUrl: string;
12
+ balance: number;
13
+ }
14
+ export interface AccountFetchFailedEvent {
15
+ accountId: string;
16
+ error: string;
17
+ }
@@ -1,4 +1,2 @@
1
- export * from "./fetch-failed.interface";
2
- export * from "./fetch-runner-updates.interface";
3
- export * from "./fetch.interface";
4
- export * from "./fetched.interface";
1
+ export * from './execute-runner.interface';
2
+ export * from './fetch.interface';
@@ -14,7 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./fetch-failed.interface"), exports);
18
- __exportStar(require("./fetch-runner-updates.interface"), exports);
17
+ __exportStar(require("./execute-runner.interface"), exports);
19
18
  __exportStar(require("./fetch.interface"), exports);
20
- __exportStar(require("./fetched.interface"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funpay-pilot/contracts",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -22,7 +22,15 @@
22
22
  "ts-proto": "^2.11.6"
23
23
  },
24
24
  "devDependencies": {
25
+ "@eslint/eslintrc": "^3.3.5",
26
+ "@eslint/js": "^10.0.1",
25
27
  "@types/node": "^25.5.0",
26
- "typescript": "^6.0.2"
28
+ "eslint": "^10.2.1",
29
+ "eslint-config-prettier": "^10.1.8",
30
+ "eslint-plugin-prettier": "^5.5.5",
31
+ "globals": "^17.5.0",
32
+ "prettier": "^3.8.3",
33
+ "typescript": "^6.0.2",
34
+ "typescript-eslint": "^8.59.0"
27
35
  }
28
36
  }
@@ -1,4 +0,0 @@
1
- export interface AccountFetchFailedEvent {
2
- accountId: string;
3
- error: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- export interface AccountFetchRunnerUpdatesEvent {
2
- accountId: string;
3
- goldenKey: string;
4
- phpsessid: string;
5
- csrfToken: string;
6
- runnerObjects: Array<object>;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- export interface AccountFetchedEvent {
2
- accountId: string;
3
- funpayId: number;
4
- csrfToken: string;
5
- phpsessid: string;
6
- username: string;
7
- avatarUrl: string;
8
- balance: number;
9
- }