@funpay-pilot/contracts 0.1.16 → 0.1.18
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/events/account/fetch-runner-updates.interface.d.ts +11 -0
- package/dist/events/account/{fetch-failed.interface.js → fetch-runner-updates.interface.js} +3 -0
- package/dist/events/account/fetch.interface.d.ts +13 -0
- package/dist/events/account/index.d.ts +1 -2
- package/dist/events/account/index.js +1 -2
- package/package.json +10 -2
- package/dist/events/account/fetch-failed.interface.d.ts +0 -4
- package/dist/events/account/fetched.interface.d.ts +0 -9
- package/dist/events/account/fetched.interface.js +0 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface AccountExecuteRunnerEvent {
|
|
2
|
+
accountId: string;
|
|
3
|
+
goldenKey: string;
|
|
4
|
+
phpsessid: string;
|
|
5
|
+
csrfToken: string;
|
|
6
|
+
runnerObjects: object[];
|
|
7
|
+
}
|
|
8
|
+
export interface AccountRunnerExecutedEvent {
|
|
9
|
+
accountId: string;
|
|
10
|
+
runnerObjects: object[];
|
|
11
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -14,6 +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-
|
|
17
|
+
__exportStar(require("./fetch-runner-updates.interface"), exports);
|
|
18
18
|
__exportStar(require("./fetch.interface"), exports);
|
|
19
|
-
__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.
|
|
3
|
+
"version": "0.1.18",
|
|
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
|
-
"
|
|
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
|
}
|