promogame-player 0.0.33 → 1.0.0
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/components/PromogameGame/index.js +5 -5
- package/dist/gql/gql.d.ts +4 -4
- package/dist/gql/gql.js +4 -4
- package/dist/gql/graphql.d.ts +544 -535
- package/dist/gql/graphql.js +10 -11
- package/package.json +1 -1
|
@@ -7296,8 +7296,8 @@ function Ru(t) {
|
|
|
7296
7296
|
});
|
|
7297
7297
|
}
|
|
7298
7298
|
const Cu = lr(`
|
|
7299
|
-
query GetCampaign($id:
|
|
7300
|
-
|
|
7299
|
+
query GetCampaign($id: ID, $zaloAppId: String) {
|
|
7300
|
+
campaign(identifier: {campaignId: $id, zaloAppId: $zaloAppId}) {
|
|
7301
7301
|
id
|
|
7302
7302
|
game {
|
|
7303
7303
|
id
|
|
@@ -7307,12 +7307,12 @@ const Cu = lr(`
|
|
|
7307
7307
|
}
|
|
7308
7308
|
`), Mu = lr(`
|
|
7309
7309
|
mutation StartAppSession(
|
|
7310
|
-
$campaignId:
|
|
7310
|
+
$campaignId: ID!
|
|
7311
7311
|
$externalUserId: String
|
|
7312
7312
|
$checksum: String
|
|
7313
7313
|
$requestedAt: String
|
|
7314
7314
|
$parameters: JSON!
|
|
7315
|
-
$authenticateRequestId:
|
|
7315
|
+
$authenticateRequestId: ID
|
|
7316
7316
|
$authenticateRequestPassword: String
|
|
7317
7317
|
) {
|
|
7318
7318
|
startAppSession(
|
|
@@ -7438,7 +7438,7 @@ mutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String,
|
|
|
7438
7438
|
c,
|
|
7439
7439
|
f
|
|
7440
7440
|
]);
|
|
7441
|
-
const R = (B = (A = _ == null ? void 0 : _.
|
|
7441
|
+
const R = (B = (A = _ == null ? void 0 : _.campaign) == null ? void 0 : A.game) == null ? void 0 : B.gameLink;
|
|
7442
7442
|
return E && console.error(E), R && w ? /* @__PURE__ */ jr(
|
|
7443
7443
|
ha,
|
|
7444
7444
|
{
|
package/dist/gql/gql.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ import * as types from './graphql';
|
|
|
12
12
|
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
|
13
13
|
*/
|
|
14
14
|
type Documents = {
|
|
15
|
-
"\n query GetCampaign($id:
|
|
16
|
-
"\n mutation StartAppSession(\n $campaignId:
|
|
15
|
+
"\n query GetCampaign($id: ID, $zaloAppId: String) {\n campaign(identifier: {campaignId: $id, zaloAppId: $zaloAppId}) {\n id\n game {\n id\n gameLink\n }\n }\n }\n": typeof types.GetCampaignDocument;
|
|
16
|
+
"\n mutation StartAppSession(\n $campaignId: ID!\n $externalUserId: String\n $checksum: String\n $requestedAt: String\n $parameters: JSON!\n $authenticateRequestId: ID\n $authenticateRequestPassword: String\n ) {\n startAppSession(\n input: {\n campaignId: $campaignId\n externalUserId: $externalUserId\n checksum: $checksum\n requestedAt: $requestedAt\n parameters: $parameters\n authenticateRequestId: $authenticateRequestId\n authenticateRequestPassword: $authenticateRequestPassword\n }\n ) {\n accessToken\n }\n }\n": typeof types.StartAppSessionDocument;
|
|
17
17
|
"\nmutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String, $displayName: String) {\n updateParticipantInfo(input: {\n email: $email\n phone: $phone\n avatar: $avatar\n displayName: $displayName\n }) {\n id\n }\n}\n": typeof types.UpdateParticipantInfoDocument;
|
|
18
18
|
};
|
|
19
19
|
declare const documents: Documents;
|
|
@@ -33,11 +33,11 @@ export declare function graphql(source: string): unknown;
|
|
|
33
33
|
/**
|
|
34
34
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
35
35
|
*/
|
|
36
|
-
export declare function graphql(source: "\n query GetCampaign($id:
|
|
36
|
+
export declare function graphql(source: "\n query GetCampaign($id: ID, $zaloAppId: String) {\n campaign(identifier: {campaignId: $id, zaloAppId: $zaloAppId}) {\n id\n game {\n id\n gameLink\n }\n }\n }\n"): (typeof documents)["\n query GetCampaign($id: ID, $zaloAppId: String) {\n campaign(identifier: {campaignId: $id, zaloAppId: $zaloAppId}) {\n id\n game {\n id\n gameLink\n }\n }\n }\n"];
|
|
37
37
|
/**
|
|
38
38
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
39
39
|
*/
|
|
40
|
-
export declare function graphql(source: "\n mutation StartAppSession(\n $campaignId:
|
|
40
|
+
export declare function graphql(source: "\n mutation StartAppSession(\n $campaignId: ID!\n $externalUserId: String\n $checksum: String\n $requestedAt: String\n $parameters: JSON!\n $authenticateRequestId: ID\n $authenticateRequestPassword: String\n ) {\n startAppSession(\n input: {\n campaignId: $campaignId\n externalUserId: $externalUserId\n checksum: $checksum\n requestedAt: $requestedAt\n parameters: $parameters\n authenticateRequestId: $authenticateRequestId\n authenticateRequestPassword: $authenticateRequestPassword\n }\n ) {\n accessToken\n }\n }\n"): (typeof documents)["\n mutation StartAppSession(\n $campaignId: ID!\n $externalUserId: String\n $checksum: String\n $requestedAt: String\n $parameters: JSON!\n $authenticateRequestId: ID\n $authenticateRequestPassword: String\n ) {\n startAppSession(\n input: {\n campaignId: $campaignId\n externalUserId: $externalUserId\n checksum: $checksum\n requestedAt: $requestedAt\n parameters: $parameters\n authenticateRequestId: $authenticateRequestId\n authenticateRequestPassword: $authenticateRequestPassword\n }\n ) {\n accessToken\n }\n }\n"];
|
|
41
41
|
/**
|
|
42
42
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
43
43
|
*/
|
package/dist/gql/gql.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UpdateParticipantInfoDocument as
|
|
1
|
+
import { UpdateParticipantInfoDocument as e, StartAppSessionDocument as t, GetCampaignDocument as a } from "./graphql.js";
|
|
2
2
|
const i = {
|
|
3
|
-
"\n query GetCampaign($id:
|
|
4
|
-
"\n mutation StartAppSession(\n $campaignId:
|
|
5
|
-
"\nmutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String, $displayName: String) {\n updateParticipantInfo(input: {\n email: $email\n phone: $phone\n avatar: $avatar\n displayName: $displayName\n }) {\n id\n }\n}\n":
|
|
3
|
+
"\n query GetCampaign($id: ID, $zaloAppId: String) {\n campaign(identifier: {campaignId: $id, zaloAppId: $zaloAppId}) {\n id\n game {\n id\n gameLink\n }\n }\n }\n": a,
|
|
4
|
+
"\n mutation StartAppSession(\n $campaignId: ID!\n $externalUserId: String\n $checksum: String\n $requestedAt: String\n $parameters: JSON!\n $authenticateRequestId: ID\n $authenticateRequestPassword: String\n ) {\n startAppSession(\n input: {\n campaignId: $campaignId\n externalUserId: $externalUserId\n checksum: $checksum\n requestedAt: $requestedAt\n parameters: $parameters\n authenticateRequestId: $authenticateRequestId\n authenticateRequestPassword: $authenticateRequestPassword\n }\n ) {\n accessToken\n }\n }\n": t,
|
|
5
|
+
"\nmutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String, $displayName: String) {\n updateParticipantInfo(input: {\n email: $email\n phone: $phone\n avatar: $avatar\n displayName: $displayName\n }) {\n id\n }\n}\n": e
|
|
6
6
|
};
|
|
7
7
|
function p(n) {
|
|
8
8
|
return i[n] ?? {};
|