@moneypot/hub 1.5.0 → 1.5.1
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 +3 -3
- package/dist/src/index.d.ts +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @moneypot/hub
|
|
2
2
|
|
|
3
|
-
@moneypot/hub is our official game server
|
|
3
|
+
@moneypot/hub is our official GraphQL game server for building games for [MoneyPot.com](https://moneypot.com).
|
|
4
4
|
|
|
5
5
|
- Extend it with custom tables and game logic.
|
|
6
6
|
- Give it an api key for each controller you've registered on each casino.
|
|
@@ -13,7 +13,7 @@ Example implementations:
|
|
|
13
13
|
|
|
14
14
|
## Manual
|
|
15
15
|
|
|
16
|
-
View our docs: https://moneypot.com
|
|
16
|
+
View our docs: <https://docs.moneypot.com>
|
|
17
17
|
|
|
18
18
|
## Install
|
|
19
19
|
|
|
@@ -76,7 +76,7 @@ insert into hub.api_key default values returning key;
|
|
|
76
76
|
|
|
77
77
|
## Changelog
|
|
78
78
|
|
|
79
|
-
### 1.5.
|
|
79
|
+
### 1.5.x
|
|
80
80
|
|
|
81
81
|
Migrated to Postgraphile beta.52 which has new plugin and polymorphism systems:
|
|
82
82
|
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { Express } from "express";
|
|
2
2
|
import { Logger } from "./logger.js";
|
|
3
|
+
import { PluginIdentity } from "./server/graphile.config.js";
|
|
4
|
+
declare global {
|
|
5
|
+
namespace Grafast {
|
|
6
|
+
interface Context {
|
|
7
|
+
identity?: PluginIdentity;
|
|
8
|
+
abortSignal: AbortSignal;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
namespace GraphileBuild {
|
|
14
|
+
interface SchemaOptions {
|
|
15
|
+
pgDeletedColumnName?: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
3
19
|
export { MakeOutcomeBetPlugin, type OutcomeBetConfigMap, type OutcomeBetConfig, } from "./plugins/hub-make-outcome-bet.js";
|
|
4
20
|
export { defaultPlugins, type PluginIdentity, type UserSessionContext, } from "./server/graphile.config.js";
|
|
5
21
|
export type ServerOptions = {
|