@funpay-pilot/contracts 0.1.33 → 0.1.35
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/messages/account/get-runner.type.d.ts +20 -0
- package/dist/messages/account/index.d.ts +2 -2
- package/dist/messages/account/index.js +2 -2
- package/package.json +1 -1
- package/dist/messages/account/execute-runner.interface.d.ts +0 -32
- /package/dist/messages/account/{execute-runner.interface.js → get-runner.type.js} +0 -0
- /package/dist/messages/account/{get.interface.d.ts → get.type.d.ts} +0 -0
- /package/dist/messages/account/{get.interface.js → get.type.js} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface ChatBookmarks {
|
|
2
|
+
type: 'chat_bookmarks';
|
|
3
|
+
id: number;
|
|
4
|
+
tag: string;
|
|
5
|
+
data: [][];
|
|
6
|
+
}
|
|
7
|
+
export interface GetRunnerRequest {
|
|
8
|
+
accountId: string;
|
|
9
|
+
funpayId: number;
|
|
10
|
+
goldenKey: string;
|
|
11
|
+
phpsessid: string;
|
|
12
|
+
csrfToken: string;
|
|
13
|
+
chatBookmarks?: ChatBookmarks;
|
|
14
|
+
}
|
|
15
|
+
export interface GetRunnerResponse {
|
|
16
|
+
accountId: string;
|
|
17
|
+
phpsessid: string;
|
|
18
|
+
csrfToken: string;
|
|
19
|
+
chatBookmarks: ChatBookmarks;
|
|
20
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './get.
|
|
1
|
+
export * from './get-runner.type';
|
|
2
|
+
export * from './get.type';
|
|
@@ -14,5 +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("./
|
|
18
|
-
__exportStar(require("./get.
|
|
17
|
+
__exportStar(require("./get-runner.type"), exports);
|
|
18
|
+
__exportStar(require("./get.type"), exports);
|
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface NewMessageEvent {
|
|
2
|
-
id: number;
|
|
3
|
-
chatId: number;
|
|
4
|
-
authorId: number;
|
|
5
|
-
accountId: string;
|
|
6
|
-
text: string;
|
|
7
|
-
}
|
|
8
|
-
export interface SendMessageCommand {
|
|
9
|
-
action: 'chat_message';
|
|
10
|
-
data: {
|
|
11
|
-
node: number;
|
|
12
|
-
last_message: -1;
|
|
13
|
-
content: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export type Command = SendMessageCommand;
|
|
17
|
-
export interface AccountExecuteRunnerEvent {
|
|
18
|
-
accountId: string;
|
|
19
|
-
funpayId: number;
|
|
20
|
-
goldenKey: string;
|
|
21
|
-
phpsessid: string;
|
|
22
|
-
csrfToken: string;
|
|
23
|
-
runnerObjects: object[];
|
|
24
|
-
command: Command;
|
|
25
|
-
}
|
|
26
|
-
export interface AccountRunnerExecutedEvent {
|
|
27
|
-
accountId: string;
|
|
28
|
-
phpsessid: string;
|
|
29
|
-
csrfToken: string;
|
|
30
|
-
newMessageEvents: NewMessageEvent[];
|
|
31
|
-
runnerObjects: object[];
|
|
32
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|