@maxim_mazurok/gapi.client.tasks-v1 0.2.20260317 → 0.2.20260602

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.
Files changed (3) hide show
  1. package/index.d.ts +3 -3
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://tasks.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260317
12
+ // Revision: 20260602
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -62,14 +62,14 @@ declare namespace gapi.client {
62
62
  /** Output only. Type of the resource. This is always "tasks#task". */
63
63
  kind?: string;
64
64
  /** Output only. Collection of links. This collection is read-only. */
65
- links?: Array<{
65
+ links?: {
66
66
  /** The description (might be empty). */
67
67
  description?: string;
68
68
  /** The URL. */
69
69
  link?: string;
70
70
  /** Type of the link, e.g. "email", "generic", "chat_message", "keep_note". */
71
71
  type?: string;
72
- }>;
72
+ }[];
73
73
  /** Notes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters. */
74
74
  notes?: string;
75
75
  /** Output only. Parent task identifier. This field is omitted if it is a top-level task. Use the "move" method to move the task under a different parent or to the top level. A parent task can never be an assigned task (from Chat Spaces, Docs). This field is read-only. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.tasks-v1",
3
- "version": "0.2.20260317",
3
+ "version": "0.2.20260602",
4
4
  "description": "TypeScript typings for Google Tasks API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,18 @@ Install typings for Google Tasks API:
11
11
  npm install @types/gapi.client.tasks-v1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.tasks-v1"]
22
+ }
23
+ }
24
+ ```
25
+
14
26
  ## Usage
15
27
 
16
28
  You need to initialize Google API client in your code: