@onetaskgraph/sdk 0.14.12 → 0.14.13

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/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { CacheCleared, Classification, CommentBatch, CommentList, CommentsAdded, CommentsSince, CommentWritten, CopyReport, DeletedComment, DocumentDetail, EffectiveConfig, FailureDocument, FieldsReport, FindRequest, FoundTasks, HumanTaskProjected, IssuesCompleted, LocateReport, MetadataSet, Attested, AttestationCheck, ProjectAttestationCheck, PlannedProject, NativeId, Priority, ProjectGraph, ProjectStatusSet, QueryResponseOfQualifiedDocument, QueryResponseOfQualifiedEdge, QueryResponseOfQualifiedLabel, QueryResponseOfQualifiedProject, QueryResponseOfQualifiedTask, QueryResponseOfSearchHit, Regenerated, RenderedTemplate, SanitizeDryRun, SourceListings, SourceRoute, StatusCategory, StatusesReconciled, StatusNamesReport, StatusOptionsReport, SweepReport, TaskAssetNames, TaskContentSet, TaskDetail, TaskDetails, TaskPrioritySet, TaskStatusSet, TasksUpdated, TaskUpdated, TemplateAnswers, TemplateVariables, UpdateBatch } from "./generated/models.ts";
1
+ import type { CacheCleared, Classification, CommentBatch, CommentList, CommentsAdded, CommentsSince, CommentWritten, CopyReport, DeletedComment, DocumentDetail, EffectiveConfig, FailureDocument, FieldsReport, FindRequest, FoundTasks, HumanTaskProjected, IssuesCompleted, LinkBatch, LinksWritten, LocateReport, MetadataSet, Attested, AttestationCheck, ProjectAttestationCheck, PlannedProject, NativeId, ParentBatch, ParentsSet, Priority, ProjectGraph, ProjectStatusSet, QueryResponseOfQualifiedDocument, QueryResponseOfQualifiedEdge, QueryResponseOfQualifiedLabel, QueryResponseOfQualifiedProject, QueryResponseOfQualifiedTask, QueryResponseOfSearchHit, Regenerated, RenderedTemplate, SanitizeDryRun, SourceListings, SourceRoute, StatusCategory, StatusesReconciled, StatusNamesReport, StatusOptionsReport, SweepReport, TaskAssetNames, TaskContentSet, TaskDetail, TaskDetails, TaskPrioritySet, TaskRelations, TaskStatusSet, TasksUpdated, TaskUpdated, TemplateAnswers, TemplateVariables, UpdateBatch } from "./generated/models.ts";
2
2
  import { runtimeSchemas } from "./generated/schemas.ts";
3
3
  export type QueryOptions = {
4
4
  sources?: string[];
@@ -363,6 +363,12 @@ export declare class OnetaskgraphClient {
363
363
  taskCommentAddMany(source: string, batch: CommentBatch, options?: WriteOptions & {
364
364
  sanitizeDryRun?: false;
365
365
  }): Promise<CommentsAdded>;
366
+ taskParentSetMany(batch: ParentBatch): Promise<ParentsSet>;
367
+ taskLinkAddMany(batch: LinkBatch): Promise<LinksWritten>;
368
+ taskLinkRemoveMany(batch: LinkBatch): Promise<LinksWritten>;
369
+ taskRelations(ids: string[], options?: {
370
+ complete?: boolean;
371
+ }): Promise<TaskRelations>;
366
372
  taskProjectHuman(input: string): Promise<HumanTaskProjected>;
367
373
  projectCreate(source: string, id: NativeId, title: string, options: ProjectCreateOptions & {
368
374
  dryRun: true;
@@ -1 +1 @@
1
- export declare const binaryCommands: readonly ["schema", "config show", "sources list", "sources status-options", "sources fields", "sources route", "sources sanitize", "task list", "task show", "task show-many", "task deps", "task copy", "task locate", "task comment add", "task comment list", "task comment edit", "task comment delete", "task comment add-many", "task comments", "task find", "task update-many", "task status set", "task status reconcile", "task status complete", "task priority set", "task content set", "task metadata set", "task attest", "task attestation check", "task update", "task create", "task render", "task answers", "task assets", "task project-human", "project list", "project show", "project deps", "project graph", "project copy", "project metadata set", "project attest", "project attestation check", "project status set", "project create", "project render", "project answers", "document list", "document show", "document copy", "document metadata set", "document attest", "document attestation check", "document create", "document render", "document answers", "label list", "search", "cache clear", "template variables", "template render"];
1
+ export declare const binaryCommands: readonly ["schema", "config show", "sources list", "sources status-options", "sources fields", "sources route", "sources sanitize", "task list", "task show", "task show-many", "task deps", "task copy", "task locate", "task comment add", "task comment list", "task comment edit", "task comment delete", "task comment add-many", "task comments", "task find", "task update-many", "task parent set-many", "task link add-many", "task link remove-many", "task relations", "task status set", "task status reconcile", "task status complete", "task priority set", "task content set", "task metadata set", "task attest", "task attestation check", "task update", "task create", "task render", "task answers", "task assets", "task project-human", "project list", "project show", "project deps", "project graph", "project copy", "project metadata set", "project attest", "project attestation check", "project status set", "project create", "project render", "project answers", "document list", "document show", "document copy", "document metadata set", "document attest", "document attestation check", "document create", "document render", "document answers", "label list", "search", "cache clear", "template variables", "template render"];
@@ -1,4 +1,4 @@
1
- export declare const SCHEMA_BUNDLE_VERSION: 61;
1
+ export declare const SCHEMA_BUNDLE_VERSION: 62;
2
2
  export declare namespace GeneratedAsset {
3
3
  /**
4
4
  * One asset a record holds, as a read reports it.
@@ -6502,6 +6502,14 @@ export declare namespace GeneratedLinearConfig {
6502
6502
  * source reads and writes team-wide.
6503
6503
  */
6504
6504
  project?: (LinearProjectId | null);
6505
+ /**
6506
+ * The link types this source mirrors as Linear's own `related` issue relation, each as
6507
+ * `<type>: {"native": "related"}` — the one word a Linear source mirrors a link as. A type
6508
+ * not named here is kept in the store's metadata alone.
6509
+ */
6510
+ link_types?: {
6511
+ [k: string]: LinkTypeConfig;
6512
+ };
6505
6513
  }
6506
6514
  /**
6507
6515
  * Which workflow state of the configured team a task's status category is, and which of
@@ -6518,8 +6526,154 @@ export declare namespace GeneratedLinearConfig {
6518
6526
  interface StatusMapping {
6519
6527
  [k: string]: (StatusNames | null);
6520
6528
  }
6529
+ /**
6530
+ * One entry of a source's `link_types` configuration, as written.
6531
+ */
6532
+ interface LinkTypeConfig {
6533
+ /**
6534
+ * The destination's own relation this type is mirrored as.
6535
+ */
6536
+ native?: (string | null);
6537
+ }
6521
6538
  }
6522
6539
  export type LinearConfig = GeneratedLinearConfig.LinearConfig;
6540
+ export declare namespace GeneratedLinkBatch {
6541
+ /**
6542
+ * What `task link add-many` and `task link remove-many` read: many typed links.
6543
+ */
6544
+ interface LinkBatch {
6545
+ /**
6546
+ * `1`.
6547
+ */
6548
+ schema_version: number;
6549
+ /**
6550
+ * The links, each added or removed on its own.
6551
+ */
6552
+ links: LinkItem[];
6553
+ }
6554
+ /**
6555
+ * One link of a [`LinkBatch`]: a type name over a directed pair of items.
6556
+ */
6557
+ interface LinkItem {
6558
+ /**
6559
+ * The link's `from`, a qualified task id.
6560
+ */
6561
+ from: string;
6562
+ /**
6563
+ * The link's `to`, a qualified task id of any configured source.
6564
+ */
6565
+ to: string;
6566
+ /**
6567
+ * The link's type name.
6568
+ */
6569
+ type: string;
6570
+ }
6571
+ }
6572
+ export type LinkBatch = GeneratedLinkBatch.LinkBatch;
6573
+ export declare namespace GeneratedLinkOutcome {
6574
+ /**
6575
+ * What became of one link.
6576
+ */
6577
+ type LinkOutcome = ("written" | "exists" | "absent" | "partial" | "error");
6578
+ }
6579
+ export type LinkOutcome = GeneratedLinkOutcome.LinkOutcome;
6580
+ export declare namespace GeneratedLinksWritten {
6581
+ /**
6582
+ * What a locator names.
6583
+ */
6584
+ type LocatorKind = ("source" | "item" | "field" | "metadata-key" | "comment" | "path" | "identity");
6585
+ /**
6586
+ * What `task link add-many` and `task link remove-many` answer: one result per link.
6587
+ */
6588
+ interface LinksWritten {
6589
+ /**
6590
+ * `1`.
6591
+ */
6592
+ schema_version: number;
6593
+ /**
6594
+ * One per link, in the order given.
6595
+ */
6596
+ results: LinkResult[];
6597
+ sanitization?: (Sanitization | null);
6598
+ [k: string]: any;
6599
+ }
6600
+ /**
6601
+ * What became of one link of a [`LinkBatch`].
6602
+ */
6603
+ interface LinkResult {
6604
+ /**
6605
+ * The `from` as the batch named it.
6606
+ */
6607
+ from: string;
6608
+ /**
6609
+ * The `to` as the batch named it.
6610
+ */
6611
+ to: string;
6612
+ /**
6613
+ * The link's type name.
6614
+ */
6615
+ type: string;
6616
+ /**
6617
+ * What became of it.
6618
+ */
6619
+ outcome: ("written" | "exists" | "absent" | "partial" | "error");
6620
+ /**
6621
+ * The `from` endpoint's version — after this call's write of it, else as read.
6622
+ */
6623
+ from_version?: (string | null);
6624
+ /**
6625
+ * The `to` endpoint's version — after this call's write of it, else as read.
6626
+ */
6627
+ to_version?: (string | null);
6628
+ /**
6629
+ * Why it is answered `partial` — naming the endpoint that landed — or `error`.
6630
+ */
6631
+ reason?: (string | null);
6632
+ [k: string]: any;
6633
+ }
6634
+ /**
6635
+ * What the screened writes of one command replaced, and what sanitise-on-refusal changed:
6636
+ * the `sanitization` member a write's answer carries when it is not empty.
6637
+ */
6638
+ interface Sanitization {
6639
+ /**
6640
+ * Spans the writes' own sanitisations rewrote.
6641
+ */
6642
+ replaced: number;
6643
+ /**
6644
+ * Each field or comment of an item sanitisation changed beyond the write itself.
6645
+ */
6646
+ side_effect: SideEffect[];
6647
+ /**
6648
+ * Whether nothing was written, the changes only reported.
6649
+ */
6650
+ dry_run: boolean;
6651
+ [k: string]: any;
6652
+ }
6653
+ /**
6654
+ * One field or comment of an item a sanitisation changed, named by screened locators.
6655
+ */
6656
+ interface SideEffect {
6657
+ /**
6658
+ * The item, by its qualified id as screened.
6659
+ */
6660
+ item: (string | {
6661
+ redacted: true;
6662
+ kind: LocatorKind;
6663
+ ordinal: number;
6664
+ });
6665
+ /**
6666
+ * The field — `content`, `title`, `label`, `metadata:<key>` — or `comment:<id>`.
6667
+ */
6668
+ field: (string | {
6669
+ redacted: true;
6670
+ kind: LocatorKind;
6671
+ ordinal: number;
6672
+ });
6673
+ [k: string]: any;
6674
+ }
6675
+ }
6676
+ export type LinksWritten = GeneratedLinksWritten.LinksWritten;
6523
6677
  export declare namespace GeneratedLocateReport {
6524
6678
  /**
6525
6679
  * One item, qualified by the source it came from.
@@ -7141,6 +7295,13 @@ export declare namespace GeneratedOrigin {
7141
7295
  });
7142
7296
  }
7143
7297
  export type Origin = GeneratedOrigin.Origin;
7298
+ export declare namespace GeneratedOtherEnd {
7299
+ /**
7300
+ * Whether a link's other end holds it too.
7301
+ */
7302
+ type OtherEnd = ("present" | "missing" | "unread");
7303
+ }
7304
+ export type OtherEnd = GeneratedOtherEnd.OtherEnd;
7144
7305
  export declare namespace GeneratedOutputFormat {
7145
7306
  /**
7146
7307
  * How output is rendered.
@@ -7948,6 +8109,137 @@ export declare namespace GeneratedPageToken {
7948
8109
  type PageToken = string;
7949
8110
  }
7950
8111
  export type PageToken = GeneratedPageToken.PageToken;
8112
+ export declare namespace GeneratedParentBatch {
8113
+ /**
8114
+ * What `task parent set-many` reads: many parent writes.
8115
+ */
8116
+ interface ParentBatch {
8117
+ /**
8118
+ * `1`.
8119
+ */
8120
+ schema_version: number;
8121
+ /**
8122
+ * The edges, each written on its own.
8123
+ */
8124
+ edges: ParentEdge[];
8125
+ }
8126
+ /**
8127
+ * One edge of a [`ParentBatch`]: `child`'s parent set to `parent`, or removed for `null`.
8128
+ */
8129
+ interface ParentEdge {
8130
+ /**
8131
+ * The child's qualified id, `<source>:<native-id>`.
8132
+ */
8133
+ child: string;
8134
+ /**
8135
+ * The parent's qualified id, a task of the child's own source, or `null` to remove the
8136
+ * child's parent. Required: an edge leaving it out is refused rather than read as a removal.
8137
+ */
8138
+ parent: (string | null);
8139
+ /**
8140
+ * The version the child must be at for anything to be written, as a read reported it.
8141
+ */
8142
+ if_version?: (string | null);
8143
+ }
8144
+ }
8145
+ export type ParentBatch = GeneratedParentBatch.ParentBatch;
8146
+ export declare namespace GeneratedParentOutcome {
8147
+ /**
8148
+ * What became of one parent edge.
8149
+ */
8150
+ type ParentOutcome = ("written" | "unchanged" | "version-moved" | "refused" | "error");
8151
+ }
8152
+ export type ParentOutcome = GeneratedParentOutcome.ParentOutcome;
8153
+ export declare namespace GeneratedParentsSet {
8154
+ /**
8155
+ * What a locator names.
8156
+ */
8157
+ type LocatorKind = ("source" | "item" | "field" | "metadata-key" | "comment" | "path" | "identity");
8158
+ /**
8159
+ * What `task parent set-many` answers: one result per edge, in the order given.
8160
+ */
8161
+ interface ParentsSet {
8162
+ /**
8163
+ * `1`.
8164
+ */
8165
+ schema_version: number;
8166
+ /**
8167
+ * One per edge.
8168
+ */
8169
+ results: ParentResult[];
8170
+ sanitization?: (Sanitization | null);
8171
+ [k: string]: any;
8172
+ }
8173
+ /**
8174
+ * What became of one edge of a [`ParentBatch`].
8175
+ */
8176
+ interface ParentResult {
8177
+ /**
8178
+ * The child as the batch named it.
8179
+ */
8180
+ child: string;
8181
+ /**
8182
+ * The parent as the batch named it, `null` for a removal.
8183
+ */
8184
+ parent?: (string | null);
8185
+ /**
8186
+ * What became of it.
8187
+ */
8188
+ outcome: ("written" | "unchanged" | "version-moved" | "refused" | "error");
8189
+ /**
8190
+ * The child's version: after the write when `written` and the write's answer says, as read
8191
+ * when `unchanged`, and the version it was found at when `version-moved`.
8192
+ */
8193
+ version?: (string | null);
8194
+ /**
8195
+ * Why it is answered `refused` or `error`.
8196
+ */
8197
+ reason?: (string | null);
8198
+ [k: string]: any;
8199
+ }
8200
+ /**
8201
+ * What the screened writes of one command replaced, and what sanitise-on-refusal changed:
8202
+ * the `sanitization` member a write's answer carries when it is not empty.
8203
+ */
8204
+ interface Sanitization {
8205
+ /**
8206
+ * Spans the writes' own sanitisations rewrote.
8207
+ */
8208
+ replaced: number;
8209
+ /**
8210
+ * Each field or comment of an item sanitisation changed beyond the write itself.
8211
+ */
8212
+ side_effect: SideEffect[];
8213
+ /**
8214
+ * Whether nothing was written, the changes only reported.
8215
+ */
8216
+ dry_run: boolean;
8217
+ [k: string]: any;
8218
+ }
8219
+ /**
8220
+ * One field or comment of an item a sanitisation changed, named by screened locators.
8221
+ */
8222
+ interface SideEffect {
8223
+ /**
8224
+ * The item, by its qualified id as screened.
8225
+ */
8226
+ item: (string | {
8227
+ redacted: true;
8228
+ kind: LocatorKind;
8229
+ ordinal: number;
8230
+ });
8231
+ /**
8232
+ * The field — `content`, `title`, `label`, `metadata:<key>` — or `comment:<id>`.
8233
+ */
8234
+ field: (string | {
8235
+ redacted: true;
8236
+ kind: LocatorKind;
8237
+ ordinal: number;
8238
+ });
8239
+ [k: string]: any;
8240
+ }
8241
+ }
8242
+ export type ParentsSet = GeneratedParentsSet.ParentsSet;
7951
8243
  export declare namespace GeneratedPlacement {
7952
8244
  /**
7953
8245
  * Where one item written to a source lands, and which of its routes put it there.
@@ -11691,6 +11983,32 @@ export declare namespace GeneratedQueryResponseOfSearchHit {
11691
11983
  }
11692
11984
  }
11693
11985
  export type QueryResponseOfSearchHit = GeneratedQueryResponseOfSearchHit.QueryResponseOfSearchHit;
11986
+ export declare namespace GeneratedReadLink {
11987
+ /**
11988
+ * One link as one endpoint holds it.
11989
+ */
11990
+ interface ReadLink {
11991
+ /**
11992
+ * The link's type name.
11993
+ */
11994
+ type: string;
11995
+ /**
11996
+ * Which end of the link this item is.
11997
+ */
11998
+ direction: ("out" | "in");
11999
+ /**
12000
+ * The other item's qualified id.
12001
+ */
12002
+ other: string;
12003
+ /**
12004
+ * Whether the other end holds this link too: `present` or `missing` when the other item
12005
+ * is among the ids asked, and `unread` otherwise.
12006
+ */
12007
+ other_end: ("present" | "missing" | "unread");
12008
+ [k: string]: any;
12009
+ }
12010
+ }
12011
+ export type ReadLink = GeneratedReadLink.ReadLink;
11694
12012
  export declare namespace GeneratedReconcileOutcome {
11695
12013
  /**
11696
12014
  * What reconciling one item came to.
@@ -11816,6 +12134,72 @@ export declare namespace GeneratedRegenerated {
11816
12134
  }
11817
12135
  }
11818
12136
  export type Regenerated = GeneratedRegenerated.Regenerated;
12137
+ export declare namespace GeneratedRelationsItem {
12138
+ /**
12139
+ * One item, qualified by the source it came from.
12140
+ *
12141
+ * Rendered `<source>:<native>` and parsed by splitting on the **first** colon,
12142
+ * so a native id may contain colons freely.
12143
+ */
12144
+ type GlobalId = string;
12145
+ /**
12146
+ * One task's relations.
12147
+ */
12148
+ interface RelationsItem {
12149
+ /**
12150
+ * The task's qualified id.
12151
+ */
12152
+ item: string;
12153
+ /**
12154
+ * Its parent's qualified id, or `null`.
12155
+ */
12156
+ parent?: (GlobalId | null);
12157
+ /**
12158
+ * Its children's qualified ids.
12159
+ */
12160
+ children: GlobalId[];
12161
+ /**
12162
+ * Whether `children` is every child.
12163
+ */
12164
+ children_complete: boolean;
12165
+ /**
12166
+ * Its links, as it holds them.
12167
+ */
12168
+ links: ReadLink[];
12169
+ /**
12170
+ * Whether `links` is every link it holds.
12171
+ */
12172
+ links_complete: boolean;
12173
+ [k: string]: any;
12174
+ }
12175
+ /**
12176
+ * One link as one endpoint holds it.
12177
+ */
12178
+ interface ReadLink {
12179
+ /**
12180
+ * The link's type name.
12181
+ */
12182
+ type: string;
12183
+ /**
12184
+ * Which end of the link this item is.
12185
+ */
12186
+ direction: ("out" | "in");
12187
+ /**
12188
+ * One item, qualified by the source it came from.
12189
+ *
12190
+ * Rendered `<source>:<native>` and parsed by splitting on the **first** colon,
12191
+ * so a native id may contain colons freely.
12192
+ */
12193
+ other: string;
12194
+ /**
12195
+ * Whether the other end holds this link too: `present` or `missing` when the other item
12196
+ * is among the ids asked, and `unread` otherwise.
12197
+ */
12198
+ other_end: ("present" | "missing" | "unread");
12199
+ [k: string]: any;
12200
+ }
12201
+ }
12202
+ export type RelationsItem = GeneratedRelationsItem.RelationsItem;
11819
12203
  export declare namespace GeneratedRenderedTemplate {
11820
12204
  /**
11821
12205
  * A rendered template: what `onetaskgraph template render` answers with.
@@ -15587,6 +15971,26 @@ export declare namespace GeneratedTaskDetails {
15587
15971
  }
15588
15972
  }
15589
15973
  export type TaskDetails = GeneratedTaskDetails.TaskDetails;
15974
+ export declare namespace GeneratedTaskLink {
15975
+ /**
15976
+ * One typed link, as one endpoint holds it under [`TaskLink::METADATA_KEY`].
15977
+ */
15978
+ interface TaskLink {
15979
+ /**
15980
+ * The link's type name — the caller's word, which no destination stores natively.
15981
+ */
15982
+ type: string;
15983
+ /**
15984
+ * Which end of the directed link this item is.
15985
+ */
15986
+ direction: ("out" | "in");
15987
+ /**
15988
+ * The other item's qualified id, `<source>:<native-id>`.
15989
+ */
15990
+ other: string;
15991
+ }
15992
+ }
15993
+ export type TaskLink = GeneratedTaskLink.TaskLink;
15590
15994
  export declare namespace GeneratedTaskPrioritySet {
15591
15995
  /**
15592
15996
  * One mutation of an expected write.
@@ -16027,6 +16431,86 @@ export declare namespace GeneratedTaskRef {
16027
16431
  type TaskRef = string;
16028
16432
  }
16029
16433
  export type TaskRef = GeneratedTaskRef.TaskRef;
16434
+ export declare namespace GeneratedTaskRelations {
16435
+ /**
16436
+ * One item, qualified by the source it came from.
16437
+ *
16438
+ * Rendered `<source>:<native>` and parsed by splitting on the **first** colon,
16439
+ * so a native id may contain colons freely.
16440
+ */
16441
+ type GlobalId = string;
16442
+ /**
16443
+ * What `task relations` answers: one item per id asked, in the order asked.
16444
+ */
16445
+ interface TaskRelations {
16446
+ /**
16447
+ * `1`.
16448
+ */
16449
+ schema_version: number;
16450
+ /**
16451
+ * One per id.
16452
+ */
16453
+ items: RelationsItem[];
16454
+ [k: string]: any;
16455
+ }
16456
+ /**
16457
+ * One task's relations.
16458
+ */
16459
+ interface RelationsItem {
16460
+ /**
16461
+ * The task's qualified id.
16462
+ */
16463
+ item: string;
16464
+ /**
16465
+ * Its parent's qualified id, or `null`.
16466
+ */
16467
+ parent?: (GlobalId | null);
16468
+ /**
16469
+ * Its children's qualified ids.
16470
+ */
16471
+ children: GlobalId[];
16472
+ /**
16473
+ * Whether `children` is every child.
16474
+ */
16475
+ children_complete: boolean;
16476
+ /**
16477
+ * Its links, as it holds them.
16478
+ */
16479
+ links: ReadLink[];
16480
+ /**
16481
+ * Whether `links` is every link it holds.
16482
+ */
16483
+ links_complete: boolean;
16484
+ [k: string]: any;
16485
+ }
16486
+ /**
16487
+ * One link as one endpoint holds it.
16488
+ */
16489
+ interface ReadLink {
16490
+ /**
16491
+ * The link's type name.
16492
+ */
16493
+ type: string;
16494
+ /**
16495
+ * Which end of the link this item is.
16496
+ */
16497
+ direction: ("out" | "in");
16498
+ /**
16499
+ * One item, qualified by the source it came from.
16500
+ *
16501
+ * Rendered `<source>:<native>` and parsed by splitting on the **first** colon,
16502
+ * so a native id may contain colons freely.
16503
+ */
16504
+ other: string;
16505
+ /**
16506
+ * Whether the other end holds this link too: `present` or `missing` when the other item
16507
+ * is among the ids asked, and `unread` otherwise.
16508
+ */
16509
+ other_end: ("present" | "missing" | "unread");
16510
+ [k: string]: any;
16511
+ }
16512
+ }
16513
+ export type TaskRelations = GeneratedTaskRelations.TaskRelations;
16030
16514
  export declare namespace GeneratedTaskStatusSet {
16031
16515
  /**
16032
16516
  * What keeping one delivered task in step with one deliverer came to.
@@ -7,7 +7,7 @@ export type JsonSchemaDocument = {
7
7
  readonly [key: string]: JsonSchemaValue;
8
8
  };
9
9
  /** Every root name the binary emitted, so a validator selects only an emitted root. */
10
- export type RuntimeSchemaRoot = "Asset" | "AssetContentType" | "AssetName" | "AssetPayload" | "AssetUpload" | "AssetUploads" | "AssetWrite" | "AssetsWritten" | "Attestation" | "AttestationCheck" | "AttestationState" | "Attested" | "AuthorKind" | "BatchOutcome" | "CacheCleared" | "CacheUse" | "Capabilities" | "Classification" | "ClosedAs" | "Comment" | "CommentActivity" | "CommentBatch" | "CommentList" | "CommentWritten" | "CommentsAdded" | "CommentsSince" | "CompleteAction" | "Completion" | "ContradictedItem" | "CopyAction" | "CopyLink" | "CopyOutcome" | "CopyReport" | "CopyVia" | "CreateSettings" | "CredentialLayer" | "DeletedComment" | "Delivered" | "DeliveryOutcome" | "DependencyEdge" | "DependencyEndpoint" | "DependencyKind" | "Direction" | "Document" | "DocumentDetail" | "DocumentQuery" | "EffectiveConfig" | "ExpectedWrite" | "Failure" | "FailureClass" | "FailureDocument" | "FindRequest" | "FoundTasks" | "GlobalId" | "Health" | "HeldTask" | "HumanTaskProjected" | "HumanTaskProjection" | "IssueCompleted" | "IssueHolding" | "IssueRef" | "IssuesCompleted" | "ItemKind" | "ItemType" | "Label" | "LinearConfig" | "LocateReport" | "Located" | "Location" | "MemberDeclaration" | "MetadataSet" | "NativeId" | "NewComment" | "Origin" | "OutputFormat" | "PageOfComment" | "PageOfDependencyEdge" | "PageOfDocument" | "PageOfLabel" | "PageOfProject" | "PageOfTask" | "PageRequest" | "PageToken" | "Placement" | "PlannedProject" | "Predicate" | "Priority" | "Project" | "ProjectAttestationCheck" | "ProjectGraph" | "ProjectQuery" | "ProjectStatusSet" | "PublicProjections" | "PublicWriteInput" | "QualifiedDocument" | "QualifiedEdge" | "QualifiedEndpoint" | "QualifiedLabel" | "QualifiedProject" | "QualifiedTask" | "QueryPlan" | "QueryResponseOfQualifiedDocument" | "QueryResponseOfQualifiedEdge" | "QueryResponseOfQualifiedLabel" | "QueryResponseOfQualifiedProject" | "QueryResponseOfQualifiedTask" | "QueryResponseOfSearchHit" | "ReconcileOutcome" | "Regenerated" | "RenderedTemplate" | "Repository" | "RepositoryVisibility" | "ResolvedCredential" | "Sanitization" | "SanitizeDryRun" | "SearchHit" | "SearchKind" | "SecretsReport" | "Setting" | "SourceCacheConfig" | "SourceError" | "SourceFailure" | "SourceListing" | "SourceListings" | "SourceName" | "SourcePlan" | "SourceRoute" | "SourceVisibility" | "Status" | "StatusCategory" | "StatusContradiction" | "StatusMapping" | "StatusReconciled" | "StatusesReconciled" | "SweepReport" | "Task" | "TaskAssetNames" | "TaskContentSet" | "TaskDetail" | "TaskDetails" | "TaskPrioritySet" | "TaskQuery" | "TaskRef" | "TaskStatusSet" | "TaskUpdate" | "TaskUpdateOutcome" | "TaskUpdated" | "TasksUpdated" | "TemplateAnswers" | "TemplateProvenance" | "TemplateVariable" | "TemplateVariables" | "TextFields" | "UpdateBatch" | "UpdatedField" | "VariableType" | "VoidReason" | "WritePolicyConfig" | "WriteVerdict" | "StatusOptionsReport" | "FieldsReport" | "StatusNamesReport";
10
+ export type RuntimeSchemaRoot = "Asset" | "AssetContentType" | "AssetName" | "AssetPayload" | "AssetUpload" | "AssetUploads" | "AssetWrite" | "AssetsWritten" | "Attestation" | "AttestationCheck" | "AttestationState" | "Attested" | "AuthorKind" | "BatchOutcome" | "CacheCleared" | "CacheUse" | "Capabilities" | "Classification" | "ClosedAs" | "Comment" | "CommentActivity" | "CommentBatch" | "CommentList" | "CommentWritten" | "CommentsAdded" | "CommentsSince" | "CompleteAction" | "Completion" | "ContradictedItem" | "CopyAction" | "CopyLink" | "CopyOutcome" | "CopyReport" | "CopyVia" | "CreateSettings" | "CredentialLayer" | "DeletedComment" | "Delivered" | "DeliveryOutcome" | "DependencyEdge" | "DependencyEndpoint" | "DependencyKind" | "Direction" | "Document" | "DocumentDetail" | "DocumentQuery" | "EffectiveConfig" | "ExpectedWrite" | "Failure" | "FailureClass" | "FailureDocument" | "FindRequest" | "FoundTasks" | "GlobalId" | "Health" | "HeldTask" | "HumanTaskProjected" | "HumanTaskProjection" | "IssueCompleted" | "IssueHolding" | "IssueRef" | "IssuesCompleted" | "ItemKind" | "ItemType" | "Label" | "LinearConfig" | "LinkBatch" | "LinkOutcome" | "LinksWritten" | "LocateReport" | "Located" | "Location" | "MemberDeclaration" | "MetadataSet" | "NativeId" | "NewComment" | "Origin" | "OtherEnd" | "OutputFormat" | "PageOfComment" | "PageOfDependencyEdge" | "PageOfDocument" | "PageOfLabel" | "PageOfProject" | "PageOfTask" | "PageRequest" | "PageToken" | "ParentBatch" | "ParentOutcome" | "ParentsSet" | "Placement" | "PlannedProject" | "Predicate" | "Priority" | "Project" | "ProjectAttestationCheck" | "ProjectGraph" | "ProjectQuery" | "ProjectStatusSet" | "PublicProjections" | "PublicWriteInput" | "QualifiedDocument" | "QualifiedEdge" | "QualifiedEndpoint" | "QualifiedLabel" | "QualifiedProject" | "QualifiedTask" | "QueryPlan" | "QueryResponseOfQualifiedDocument" | "QueryResponseOfQualifiedEdge" | "QueryResponseOfQualifiedLabel" | "QueryResponseOfQualifiedProject" | "QueryResponseOfQualifiedTask" | "QueryResponseOfSearchHit" | "ReadLink" | "ReconcileOutcome" | "Regenerated" | "RelationsItem" | "RenderedTemplate" | "Repository" | "RepositoryVisibility" | "ResolvedCredential" | "Sanitization" | "SanitizeDryRun" | "SearchHit" | "SearchKind" | "SecretsReport" | "Setting" | "SourceCacheConfig" | "SourceError" | "SourceFailure" | "SourceListing" | "SourceListings" | "SourceName" | "SourcePlan" | "SourceRoute" | "SourceVisibility" | "Status" | "StatusCategory" | "StatusContradiction" | "StatusMapping" | "StatusReconciled" | "StatusesReconciled" | "SweepReport" | "Task" | "TaskAssetNames" | "TaskContentSet" | "TaskDetail" | "TaskDetails" | "TaskLink" | "TaskPrioritySet" | "TaskQuery" | "TaskRef" | "TaskRelations" | "TaskStatusSet" | "TaskUpdate" | "TaskUpdateOutcome" | "TaskUpdated" | "TasksUpdated" | "TemplateAnswers" | "TemplateProvenance" | "TemplateVariable" | "TemplateVariables" | "TextFields" | "UpdateBatch" | "UpdatedField" | "VariableType" | "VoidReason" | "WritePolicyConfig" | "WriteVerdict" | "StatusOptionsReport" | "FieldsReport" | "StatusNamesReport";
11
11
  export declare const runtimeSchemas: {
12
12
  readonly [Root in RuntimeSchemaRoot]: JsonSchemaDocument;
13
13
  };
package/dist/index.d.ts CHANGED
@@ -6,6 +6,6 @@
6
6
  * implementation of the query semantics across the CLI and both SDKs.
7
7
  */
8
8
  /** The version this package publishes. `package.json` must agree; see the tests. */
9
- export declare const VERSION = "0.14.12";
9
+ export declare const VERSION = "0.14.13";
10
10
  export * from "./client.ts";
11
11
  export type * from "./generated/models.ts";