@opexa/portal-sdk 0.0.95 → 0.0.96
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/README.md +1622 -1622
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sdk/types.d.ts +13 -9
- package/package.json +81 -81
package/dist/sdk/types.d.ts
CHANGED
|
@@ -343,7 +343,10 @@ export interface Announcement {
|
|
|
343
343
|
dateTimeCreated: Date;
|
|
344
344
|
dateTimeLastUpdated: Date;
|
|
345
345
|
}
|
|
346
|
+
interface AnnouncementsFilterInput extends Omit<Internal.AnnouncementsQueryVariables['filter'], 'visibility'> {
|
|
347
|
+
}
|
|
346
348
|
export interface AnnouncementsInput extends Omit<Internal.AnnouncementsQueryVariables, 'filter'> {
|
|
349
|
+
filter?: AnnouncementsFilterInput;
|
|
347
350
|
}
|
|
348
351
|
export type AnnouncementsReturn = OperationResult<never, PaginatedQueryResult<'announcements', Announcement>>;
|
|
349
352
|
export type BetRecordStatus = UnionAlias<Internal.BetRecordStatus>;
|
|
@@ -374,15 +377,16 @@ export interface BetRecord {
|
|
|
374
377
|
odds?: string;
|
|
375
378
|
};
|
|
376
379
|
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
380
|
+
interface BetRecordsFilterInput {
|
|
381
|
+
status?: NonNullable<Internal.BetRecordsQueryVariables['filter']>['status'];
|
|
382
|
+
serialCode?: NonNullable<Internal.BetRecordsQueryVariables['filter']>['serialCode'];
|
|
383
|
+
gameType?: NonNullable<Internal.BetRecordsQueryVariables['filter']>['game__type'];
|
|
384
|
+
gameProvider?: NonNullable<Internal.BetRecordsQueryVariables['filter']>['game__provider'];
|
|
385
|
+
vendorRoundId?: NonNullable<Internal.BetRecordsQueryVariables['filter']>['vendorRoundId'];
|
|
386
|
+
dateTimeCreated?: NonNullable<Internal.BetRecordsQueryVariables['filter']>['dateTimeCreated'];
|
|
387
|
+
}
|
|
388
|
+
export interface BetRecordsInput extends Omit<Internal.BetRecordsQueryVariables, 'filter'> {
|
|
389
|
+
filter?: BetRecordsFilterInput;
|
|
386
390
|
}
|
|
387
391
|
export type BetRecordsReturn = OperationResult<never, PaginatedQueryResult<'betRecords', BetRecord>>;
|
|
388
392
|
export interface LatestBetRecord {
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@opexa/portal-sdk",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"typings": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"require": "./dist/index.js",
|
|
11
|
-
"import": "./dist/index.mjs",
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./package.json": "./package.json"
|
|
15
|
-
},
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
"access": "public"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"dist"
|
|
21
|
-
],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"dev": "vite",
|
|
24
|
-
"build": "tsc --noEmit && vite build --mode library",
|
|
25
|
-
"test": "vitest",
|
|
26
|
-
"release": "release-it"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"@opexa/object-id": "0.1.6"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@ark-ui/react": "3.5.0",
|
|
33
|
-
"@faker-js/faker": "8.4.1",
|
|
34
|
-
"@fontsource/fira-code": "5.0.18",
|
|
35
|
-
"@fontsource/inter": "5.0.19",
|
|
36
|
-
"@hookform/resolvers": "3.9.0",
|
|
37
|
-
"@types/node": "20.14.11",
|
|
38
|
-
"@types/react": "18.3.3",
|
|
39
|
-
"@types/react-dom": "18.3.0",
|
|
40
|
-
"@untitled-theme/icons-react": "0.10.5",
|
|
41
|
-
"@vitejs/plugin-react-swc": "3.7.0",
|
|
42
|
-
"autoprefixer": "10.4.19",
|
|
43
|
-
"clsx": "2.1.1",
|
|
44
|
-
"date-fns": "3.6.0",
|
|
45
|
-
"graphql-config": "5.0.3",
|
|
46
|
-
"msw": "2.3.2",
|
|
47
|
-
"postcss": "8.4.39",
|
|
48
|
-
"react": "18.3.1",
|
|
49
|
-
"react-dom": "18.3.1",
|
|
50
|
-
"react-hook-form": "7.52.1",
|
|
51
|
-
"react-router-dom": "6.25.1",
|
|
52
|
-
"release-it": "17.6.0",
|
|
53
|
-
"shiki": "1.11.0",
|
|
54
|
-
"tailwind-variants": "0.2.1",
|
|
55
|
-
"tailwindcss": "3.4.6",
|
|
56
|
-
"typescript": "5.5.4",
|
|
57
|
-
"vite": "5.3.4",
|
|
58
|
-
"vite-plugin-dts": "3.9.1",
|
|
59
|
-
"vite-plugin-node-polyfills": "0.22.0",
|
|
60
|
-
"vite-tsconfig-paths": "4.3.2",
|
|
61
|
-
"vitest": "2.0.4",
|
|
62
|
-
"zod": "3.23.8"
|
|
63
|
-
},
|
|
64
|
-
"release-it": {
|
|
65
|
-
"git": {
|
|
66
|
-
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
67
|
-
"tagName": "${npm.name}@${version}"
|
|
68
|
-
},
|
|
69
|
-
"github": {
|
|
70
|
-
"release": false
|
|
71
|
-
},
|
|
72
|
-
"hooks": {
|
|
73
|
-
"before:init": [
|
|
74
|
-
"pnpm test"
|
|
75
|
-
],
|
|
76
|
-
"after:bump": [
|
|
77
|
-
"pnpm build"
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opexa/portal-sdk",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.96",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"typings": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"require": "./dist/index.js",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"build": "tsc --noEmit && vite build --mode library",
|
|
25
|
+
"test": "vitest",
|
|
26
|
+
"release": "release-it"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@opexa/object-id": "0.1.6"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@ark-ui/react": "3.5.0",
|
|
33
|
+
"@faker-js/faker": "8.4.1",
|
|
34
|
+
"@fontsource/fira-code": "5.0.18",
|
|
35
|
+
"@fontsource/inter": "5.0.19",
|
|
36
|
+
"@hookform/resolvers": "3.9.0",
|
|
37
|
+
"@types/node": "20.14.11",
|
|
38
|
+
"@types/react": "18.3.3",
|
|
39
|
+
"@types/react-dom": "18.3.0",
|
|
40
|
+
"@untitled-theme/icons-react": "0.10.5",
|
|
41
|
+
"@vitejs/plugin-react-swc": "3.7.0",
|
|
42
|
+
"autoprefixer": "10.4.19",
|
|
43
|
+
"clsx": "2.1.1",
|
|
44
|
+
"date-fns": "3.6.0",
|
|
45
|
+
"graphql-config": "5.0.3",
|
|
46
|
+
"msw": "2.3.2",
|
|
47
|
+
"postcss": "8.4.39",
|
|
48
|
+
"react": "18.3.1",
|
|
49
|
+
"react-dom": "18.3.1",
|
|
50
|
+
"react-hook-form": "7.52.1",
|
|
51
|
+
"react-router-dom": "6.25.1",
|
|
52
|
+
"release-it": "17.6.0",
|
|
53
|
+
"shiki": "1.11.0",
|
|
54
|
+
"tailwind-variants": "0.2.1",
|
|
55
|
+
"tailwindcss": "3.4.6",
|
|
56
|
+
"typescript": "5.5.4",
|
|
57
|
+
"vite": "5.3.4",
|
|
58
|
+
"vite-plugin-dts": "3.9.1",
|
|
59
|
+
"vite-plugin-node-polyfills": "0.22.0",
|
|
60
|
+
"vite-tsconfig-paths": "4.3.2",
|
|
61
|
+
"vitest": "2.0.4",
|
|
62
|
+
"zod": "3.23.8"
|
|
63
|
+
},
|
|
64
|
+
"release-it": {
|
|
65
|
+
"git": {
|
|
66
|
+
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
67
|
+
"tagName": "${npm.name}@${version}"
|
|
68
|
+
},
|
|
69
|
+
"github": {
|
|
70
|
+
"release": false
|
|
71
|
+
},
|
|
72
|
+
"hooks": {
|
|
73
|
+
"before:init": [
|
|
74
|
+
"pnpm test"
|
|
75
|
+
],
|
|
76
|
+
"after:bump": [
|
|
77
|
+
"pnpm build"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|