@thetimes/times-public-api-types 1.0.13777 → 1.0.13794

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/index.d.ts CHANGED
@@ -24,6 +24,7 @@ export * from "./queries/draft-articles";
24
24
  export * from "./queries/draft-slice";
25
25
  export * from "./queries/draft-tile";
26
26
  export * from "./queries/edition";
27
+ export * from "./queries/game-stats";
27
28
  export * from "./queries/interactive";
28
29
  export * from "./queries/layout";
29
30
  export * from "./queries/link";
@@ -88,6 +89,7 @@ export * from "./mutations/draft-slice-input";
88
89
  export * from "./mutations/draft-tile-input";
89
90
  export * from "./mutations/edition-input";
90
91
  export * from "./mutations/edition-upsert-result";
92
+ export * from "./mutations/game-stats-save-input";
91
93
  export * from "./mutations/live-blog-input";
92
94
  export * from "./mutations/page-delete-input";
93
95
  export * from "./mutations/page-delete-result";
@@ -10,4 +10,5 @@ export type AuthorCreateInput = {
10
10
  hasLeadAssets: boolean;
11
11
  shortBio?: string | null;
12
12
  metaDescription: string | null;
13
+ isFollowable?: boolean | null;
13
14
  };
@@ -9,4 +9,5 @@ export type AuthorUpdateInput = {
9
9
  hasLeadAssets: boolean;
10
10
  shortBio?: string | null;
11
11
  metaDescription: string | null;
12
+ isFollowable?: boolean | null;
12
13
  };
@@ -0,0 +1,6 @@
1
+ import { DateTime, JsonObject } from "../common";
2
+ export type GameStatsSaveInput = {
3
+ puzzle: string;
4
+ timestamp: DateTime;
5
+ stats: JsonObject;
6
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetimes/times-public-api-types",
3
- "version": "1.0.13777",
3
+ "version": "1.0.13794",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
@@ -0,0 +1,5 @@
1
+ import { JsonObject } from "../common";
2
+ export type GameStats = {
3
+ puzzle: string;
4
+ stats: JsonObject;
5
+ };
package/queries/user.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { UUID } from "../common";
2
2
  import { PageOfBookmarks } from "./bookmark";
3
3
  import { MostCommentedArticle } from "./most-commented-article";
4
+ import { GameStats } from "./game-stats";
4
5
  export type User = {
5
6
  spotimCodeB: (args: {
6
7
  codeA: string;
@@ -33,4 +34,7 @@ export type User = {
33
34
  mostCommented: (args: {
34
35
  limit?: number;
35
36
  }) => MostCommentedArticle[];
37
+ gameStats: (args: {
38
+ puzzle?: string;
39
+ }) => GameStats[];
36
40
  };