weave-typescript 0.13.0 → 0.15.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/dist/index.d.ts +9 -16
- package/dist/index.js +13 -21
- package/dist/weaveapi/project/v1/project.pb.d.ts +69 -5
- package/dist/weaveapi/project/v1/project.pb.js +787 -62
- package/dist/weaveapi/project/v1/service.pb.d.ts +110 -69
- package/dist/weaveapi/project/v1/service.pb.js +1056 -392
- package/dist/weaveapi/task/v1/service.pb.d.ts +172 -0
- package/dist/weaveapi/task/v1/service.pb.js +1436 -0
- package/dist/weaveapi/task/v1/task.pb.d.ts +85 -0
- package/dist/weaveapi/task/v1/task.pb.js +802 -0
- package/dist/weavesql/atcdb/event_sql.d.ts +10 -0
- package/dist/weavesql/atcdb/event_sql.js +11 -1
- package/dist/weavesql/atcdb/mailbox_sql.d.ts +2 -2
- package/dist/weavesql/atcdb/mailbox_sql.js +1 -1
- package/dist/weavesql/weavedb/project_sql.d.ts +164 -41
- package/dist/weavesql/weavedb/project_sql.js +398 -103
- package/dist/weavesql/weavedb/task_sql.d.ts +210 -0
- package/dist/weavesql/weavedb/task_sql.js +430 -0
- package/package.json +2 -2
- package/dist/weaveapi/auth/v1/service.pb.d.ts +0 -709
- package/dist/weaveapi/auth/v1/service.pb.js +0 -5058
- package/dist/weaveapi/auth/v1/session.pb.d.ts +0 -43
- package/dist/weaveapi/auth/v1/session.pb.js +0 -308
- package/dist/weaveapi/auth/v1/usage.pb.d.ts +0 -76
- package/dist/weaveapi/auth/v1/usage.pb.js +0 -849
- package/dist/weaveapi/auth/v1/user.pb.d.ts +0 -141
- package/dist/weaveapi/auth/v1/user.pb.js +0 -1625
- package/dist/weaveapi/data/v1/data.pb.d.ts +0 -54
- package/dist/weaveapi/data/v1/data.pb.js +0 -411
- package/dist/weaveapi/data/v1/service.pb.d.ts +0 -296
- package/dist/weaveapi/data/v1/service.pb.js +0 -2777
- package/dist/weaveapi/generate/v1/configuration.pb.d.ts +0 -122
- package/dist/weaveapi/generate/v1/configuration.pb.js +0 -877
- package/dist/weaveapi/generate/v1/generate.pb.d.ts +0 -48
- package/dist/weaveapi/generate/v1/generate.pb.js +0 -367
- package/dist/weaveapi/generate/v1/service.pb.d.ts +0 -173
- package/dist/weaveapi/generate/v1/service.pb.js +0 -1207
- package/dist/weaveapi/input/v1/input.pb.d.ts +0 -77
- package/dist/weaveapi/input/v1/input.pb.js +0 -632
- package/dist/weaveapi/input/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/input/v1/service.pb.js +0 -3610
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +0 -67
- package/dist/weaveapi/integration/v1/integration.pb.js +0 -486
- package/dist/weaveapi/integration/v1/service.pb.d.ts +0 -318
- package/dist/weaveapi/integration/v1/service.pb.js +0 -2992
- package/dist/weaveapi/llmx/v1/architecture.pb.d.ts +0 -665
- package/dist/weaveapi/llmx/v1/architecture.pb.js +0 -3028
- package/dist/weaveapi/llmx/v1/capabilities.pb.d.ts +0 -709
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +0 -3458
- package/dist/weaveapi/llmx/v1/model.pb.d.ts +0 -375
- package/dist/weaveapi/llmx/v1/model.pb.js +0 -1472
- package/dist/weaveapi/llmx/v1/pricing.pb.d.ts +0 -340
- package/dist/weaveapi/llmx/v1/pricing.pb.js +0 -974
- package/dist/weaveapi/llmx/v1/provider.pb.d.ts +0 -72
- package/dist/weaveapi/llmx/v1/provider.pb.js +0 -218
- package/dist/weaveapi/llmx/v1/service.pb.d.ts +0 -683
- package/dist/weaveapi/llmx/v1/service.pb.js +0 -5311
- package/dist/weaveapi/mcpregistry/v1/server.pb.d.ts +0 -54
- package/dist/weaveapi/mcpregistry/v1/server.pb.js +0 -436
- package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +0 -171
- package/dist/weaveapi/mcpregistry/v1/service.pb.js +0 -963
- package/dist/weaveapi/payment/v1/invoice.pb.d.ts +0 -92
- package/dist/weaveapi/payment/v1/invoice.pb.js +0 -998
- package/dist/weaveapi/payment/v1/service.pb.d.ts +0 -662
- package/dist/weaveapi/payment/v1/service.pb.js +0 -5395
- package/dist/weaveapi/payment/v1/subscription.pb.d.ts +0 -165
- package/dist/weaveapi/payment/v1/subscription.pb.js +0 -1930
- package/dist/weaveapi/report/v1/report.pb.d.ts +0 -81
- package/dist/weaveapi/report/v1/report.pb.js +0 -678
- package/dist/weaveapi/report/v1/service.pb.d.ts +0 -194
- package/dist/weaveapi/report/v1/service.pb.js +0 -1923
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +0 -70
- package/dist/weaveapi/requirement/v1/requirement.pb.js +0 -570
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/requirement/v1/service.pb.js +0 -3636
- package/dist/weaveapi/run/v1/run.pb.d.ts +0 -117
- package/dist/weaveapi/run/v1/run.pb.js +0 -1155
- package/dist/weaveapi/run/v1/service.pb.d.ts +0 -229
- package/dist/weaveapi/run/v1/service.pb.js +0 -2426
- package/dist/weaveapi/script/v1/script.pb.d.ts +0 -102
- package/dist/weaveapi/script/v1/script.pb.js +0 -1025
- package/dist/weaveapi/script/v1/service.pb.d.ts +0 -502
- package/dist/weaveapi/script/v1/service.pb.js +0 -4871
- package/dist/weaveapi/storage/v1/auth.pb.d.ts +0 -27
- package/dist/weaveapi/storage/v1/auth.pb.js +0 -110
- package/dist/weaveapi/storage/v1/nosql_database.pb.d.ts +0 -91
- package/dist/weaveapi/storage/v1/nosql_database.pb.js +0 -1056
- package/dist/weaveapi/storage/v1/object_store.pb.d.ts +0 -49
- package/dist/weaveapi/storage/v1/object_store.pb.js +0 -441
- package/dist/weaveapi/storage/v1/service.pb.d.ts +0 -245
- package/dist/weaveapi/storage/v1/service.pb.js +0 -1339
- package/dist/weaveapi/storage/v1/sql_database.pb.d.ts +0 -98
- package/dist/weaveapi/storage/v1/sql_database.pb.js +0 -1184
- package/dist/weaveapi/storage/v1/storage.pb.d.ts +0 -35
- package/dist/weaveapi/storage/v1/storage.pb.js +0 -198
- package/dist/weaveapi/storage/v1/vcs.pb.d.ts +0 -75
- package/dist/weaveapi/storage/v1/vcs.pb.js +0 -864
- package/dist/weaveapi/suite/v1/service.pb.d.ts +0 -539
- package/dist/weaveapi/suite/v1/service.pb.js +0 -5279
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +0 -92
- package/dist/weaveapi/suite/v1/suite.pb.js +0 -876
- package/dist/weaveapi/synthesize/v1/dataset.pb.d.ts +0 -68
- package/dist/weaveapi/synthesize/v1/dataset.pb.js +0 -460
- package/dist/weaveapi/synthesize/v1/inline_data.pb.d.ts +0 -45
- package/dist/weaveapi/synthesize/v1/inline_data.pb.js +0 -166
- package/dist/weaveapi/synthesize/v1/relationship.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/relationship.pb.js +0 -253
- package/dist/weaveapi/synthesize/v1/service.pb.d.ts +0 -144
- package/dist/weaveapi/synthesize/v1/service.pb.js +0 -937
- package/dist/weaveapi/synthesize/v1/training.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/training.pb.js +0 -386
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +0 -498
- package/dist/weaveapi/testcase/v1/service.pb.js +0 -4728
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +0 -91
- package/dist/weaveapi/testcase/v1/testcase.pb.js +0 -794
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -261
- package/dist/weaveapi/workflow/v1/service.pb.js +0 -2120
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +0 -77
- package/dist/weaveapi/workflow/v1/workflow.pb.js +0 -555
- package/dist/weaveapi/workflowdata/v1/service.pb.d.ts +0 -295
- package/dist/weaveapi/workflowdata/v1/service.pb.js +0 -2612
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "weaveapi.task.v1";
|
|
3
|
+
/** TaskStatus represents the lifecycle state of a task. */
|
|
4
|
+
export declare enum TaskStatus {
|
|
5
|
+
TASK_STATUS_UNSPECIFIED = 0,
|
|
6
|
+
TASK_STATUS_HOLD = 1,
|
|
7
|
+
TASK_STATUS_PENDING = 2,
|
|
8
|
+
TASK_STATUS_IN_PROGRESS = 3,
|
|
9
|
+
TASK_STATUS_BLOCKED = 4,
|
|
10
|
+
TASK_STATUS_COMPLETED = 5,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare function taskStatusFromJSON(object: any): TaskStatus;
|
|
14
|
+
export declare function taskStatusToJSON(object: TaskStatus): string;
|
|
15
|
+
/** TaskOwnerKind describes the execution owner category for a task. */
|
|
16
|
+
export declare enum TaskOwnerKind {
|
|
17
|
+
TASK_OWNER_KIND_UNSPECIFIED = 0,
|
|
18
|
+
TASK_OWNER_KIND_AGENT_TEAM = 1,
|
|
19
|
+
TASK_OWNER_KIND_USER = 2,
|
|
20
|
+
UNRECOGNIZED = -1
|
|
21
|
+
}
|
|
22
|
+
export declare function taskOwnerKindFromJSON(object: any): TaskOwnerKind;
|
|
23
|
+
export declare function taskOwnerKindToJSON(object: TaskOwnerKind): string;
|
|
24
|
+
/** Task is the durable work unit inside a project. */
|
|
25
|
+
export interface Task {
|
|
26
|
+
id: string;
|
|
27
|
+
organizationId: string;
|
|
28
|
+
projectId: string;
|
|
29
|
+
projectSlug: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
title: string;
|
|
32
|
+
summary: string;
|
|
33
|
+
description: string;
|
|
34
|
+
status: TaskStatus;
|
|
35
|
+
ownerKind: TaskOwnerKind;
|
|
36
|
+
ownerId: string;
|
|
37
|
+
ownerSlug: string;
|
|
38
|
+
ownerDisplayName: string;
|
|
39
|
+
creatorUserId: string;
|
|
40
|
+
sourceSystem: string;
|
|
41
|
+
sourceId: string;
|
|
42
|
+
sourceMetadata: {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
} | undefined;
|
|
45
|
+
createdAt: Date | undefined;
|
|
46
|
+
updatedAt: Date | undefined;
|
|
47
|
+
completedAt: Date | undefined;
|
|
48
|
+
completionApproved: boolean;
|
|
49
|
+
}
|
|
50
|
+
/** TaskActivityEntry is an immutable activity record for a task. */
|
|
51
|
+
export interface TaskActivityEntry {
|
|
52
|
+
id: string;
|
|
53
|
+
projectId: string;
|
|
54
|
+
taskId: string;
|
|
55
|
+
eventType: string;
|
|
56
|
+
actorId: string;
|
|
57
|
+
actorSlug: string;
|
|
58
|
+
actorLabel: string;
|
|
59
|
+
description: string;
|
|
60
|
+
metadata: {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
} | undefined;
|
|
63
|
+
createdAt: Date | undefined;
|
|
64
|
+
}
|
|
65
|
+
export declare const Task: MessageFns<Task>;
|
|
66
|
+
export declare const TaskActivityEntry: MessageFns<TaskActivityEntry>;
|
|
67
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
68
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
69
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
70
|
+
} : Partial<T>;
|
|
71
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
72
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
73
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
74
|
+
} & {
|
|
75
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
76
|
+
};
|
|
77
|
+
export interface MessageFns<T> {
|
|
78
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
79
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
80
|
+
fromJSON(object: any): T;
|
|
81
|
+
toJSON(message: T): unknown;
|
|
82
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
83
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
84
|
+
}
|
|
85
|
+
export {};
|