@quesmed/types 1.4.2 → 1.4.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/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { EPlatformId } from '../../..';
|
|
2
2
|
import { Id } from '../../../models';
|
|
3
|
+
import { RestrictedData } from '../../types';
|
|
4
|
+
export declare const AGORA_TOKEN: import("@apollo/client").DocumentNode;
|
|
3
5
|
export interface IAgoraTokenVar {
|
|
4
6
|
platformId: EPlatformId;
|
|
5
7
|
channel: string;
|
|
6
8
|
uid: Id;
|
|
7
9
|
}
|
|
8
|
-
export declare type IAgoraTokenData = string
|
|
10
|
+
export declare type IAgoraTokenData = RestrictedData<string, 'agoraToken'>;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AGORA_TOKEN = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
exports.AGORA_TOKEN = (0, client_1.gql) `
|
|
6
|
+
mutation AgoraToken($platformId: Int!, $channel: String!, $uid: Int!) {
|
|
7
|
+
restricted {
|
|
8
|
+
agoraToken(platformId: $platformId, channel: $channel, uid: $uid)
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
`;
|
|
@@ -46,7 +46,9 @@ export interface IOsceMatchmakingAction {
|
|
|
46
46
|
completed: boolean;
|
|
47
47
|
}
|
|
48
48
|
export declare type IOsceMatchmakingData = RootData<IOsceMatchmakingAction, 'osceMatchmaking'>;
|
|
49
|
-
export
|
|
49
|
+
export interface IOsceMatchmakingVar {
|
|
50
|
+
userId: Id;
|
|
51
|
+
}
|
|
50
52
|
export declare const OSCE_MATCHMAKING_USERS: import("@apollo/client").DocumentNode;
|
|
51
53
|
export declare type IOsceMatchmakingUsersData = RootData<number, 'osceMatchmakingUsers'>;
|
|
52
54
|
export declare type IOsceMatchmakingUsersVar = null;
|