xpt-shared-types 1.19.0 → 1.20.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/README.md
CHANGED
|
@@ -117,6 +117,13 @@ using npm trusted publishing, so no npm token or 2FA prompt is involved.
|
|
|
117
117
|
2. `yarn version --patch` (or `--minor`), which commits and tags `vX.Y.Z`
|
|
118
118
|
3. `git push --follow-tags`
|
|
119
119
|
|
|
120
|
+
If the version was bumped by hand instead, commit it and tag with
|
|
121
|
+
`git tag -a vX.Y.Z -m vX.Y.Z` before pushing: `--follow-tags` only sends
|
|
122
|
+
annotated tags, so a plain `git tag vX.Y.Z` (or no tag at all) pushes nothing
|
|
123
|
+
and prints "Everything up-to-date". `git push origin vX.Y.Z` also works.
|
|
124
|
+
After the run succeeds the registry can lag a minute or two; confirm with
|
|
125
|
+
`npm view xpt-shared-types dist-tags.latest` before installing.
|
|
126
|
+
|
|
120
127
|
The workflow fires on the `v*` tag, refuses to run if the tag and
|
|
121
128
|
`package.json` version disagree, then builds and publishes.
|
|
122
129
|
|
|
@@ -336,6 +336,7 @@ export interface Tournament extends StrapiDocument {
|
|
|
336
336
|
rules?: string | null;
|
|
337
337
|
hasThirdPlace?: boolean | null;
|
|
338
338
|
hasMatchLobby?: boolean | null;
|
|
339
|
+
requireVerifiedAccounts?: boolean | null;
|
|
339
340
|
visibility?: TournamentVisibility | null;
|
|
340
341
|
access?: TournamentAccess | null;
|
|
341
342
|
checkInTime?: number | null;
|
|
@@ -33,4 +33,8 @@ export interface TournamentTeamJoinInput {
|
|
|
33
33
|
* `error.details.name` values the entry endpoints raise that a client is
|
|
34
34
|
* expected to branch on. Anything else is a plain message.
|
|
35
35
|
*/
|
|
36
|
-
export type TournamentEntryErrorName = 'NotEntryLeader' | 'MembersMissingGameAccount' | 'InsufficientCoins' | 'GameAccountRequired' | 'TeamEntryRequired'
|
|
36
|
+
export type TournamentEntryErrorName = 'NotEntryLeader' | 'MembersMissingGameAccount' | 'InsufficientCoins' | 'GameAccountRequired' | 'TeamEntryRequired'
|
|
37
|
+
/** The tournament admits only accounts verified by signing in; yours is typed. */
|
|
38
|
+
| 'GameAccountUnverified'
|
|
39
|
+
/** Same, for the named players on a team roster. */
|
|
40
|
+
| 'MembersUnverifiedGameAccount';
|
package/package.json
CHANGED
package/src/generated/inputs.ts
CHANGED
package/src/generated/models.ts
CHANGED
|
@@ -417,6 +417,7 @@ export interface Tournament extends StrapiDocument {
|
|
|
417
417
|
rules?: string | null;
|
|
418
418
|
hasThirdPlace?: boolean | null;
|
|
419
419
|
hasMatchLobby?: boolean | null;
|
|
420
|
+
requireVerifiedAccounts?: boolean | null;
|
|
420
421
|
visibility?: TournamentVisibility | null;
|
|
421
422
|
access?: TournamentAccess | null;
|
|
422
423
|
checkInTime?: number | null;
|
|
@@ -51,4 +51,8 @@ export type TournamentEntryErrorName =
|
|
|
51
51
|
| 'MembersMissingGameAccount'
|
|
52
52
|
| 'InsufficientCoins'
|
|
53
53
|
| 'GameAccountRequired'
|
|
54
|
-
| 'TeamEntryRequired'
|
|
54
|
+
| 'TeamEntryRequired'
|
|
55
|
+
/** The tournament admits only accounts verified by signing in; yours is typed. */
|
|
56
|
+
| 'GameAccountUnverified'
|
|
57
|
+
/** Same, for the named players on a team roster. */
|
|
58
|
+
| 'MembersUnverifiedGameAccount';
|