weave-typescript 0.11.14 → 0.11.16
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/weaveapi/data/v1/data.pb.d.ts +54 -0
- package/dist/weaveapi/data/v1/data.pb.js +411 -0
- package/dist/weaveapi/data/v1/service.pb.d.ts +296 -0
- package/dist/weaveapi/data/v1/service.pb.js +2779 -0
- package/dist/weaveapi/input/v1/input.pb.d.ts +77 -0
- package/dist/weaveapi/input/v1/input.pb.js +632 -0
- package/dist/weaveapi/input/v1/service.pb.d.ts +390 -0
- package/dist/weaveapi/input/v1/service.pb.js +3612 -0
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +67 -0
- package/dist/weaveapi/integration/v1/integration.pb.js +486 -0
- package/dist/weaveapi/integration/v1/service.pb.d.ts +318 -0
- package/dist/weaveapi/integration/v1/service.pb.js +2994 -0
- package/dist/weaveapi/project/v1/project.pb.d.ts +1 -0
- package/dist/weaveapi/project/v1/project.pb.js +17 -1
- package/dist/weaveapi/project/v1/service.pb.d.ts +25 -0
- package/dist/weaveapi/project/v1/service.pb.js +248 -5
- package/dist/weaveapi/report/v1/report.pb.d.ts +81 -0
- package/dist/weaveapi/report/v1/report.pb.js +678 -0
- package/dist/weaveapi/report/v1/service.pb.d.ts +194 -0
- package/dist/weaveapi/report/v1/service.pb.js +1925 -0
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +70 -0
- package/dist/weaveapi/requirement/v1/requirement.pb.js +570 -0
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +390 -0
- package/dist/weaveapi/requirement/v1/service.pb.js +3638 -0
- package/dist/weaveapi/run/v1/run.pb.d.ts +117 -0
- package/dist/weaveapi/run/v1/run.pb.js +1155 -0
- package/dist/weaveapi/run/v1/service.pb.d.ts +229 -0
- package/dist/weaveapi/run/v1/service.pb.js +2428 -0
- package/dist/weaveapi/script/v1/script.pb.d.ts +102 -0
- package/dist/weaveapi/script/v1/script.pb.js +1025 -0
- package/dist/weaveapi/script/v1/service.pb.d.ts +502 -0
- package/dist/weaveapi/script/v1/service.pb.js +4873 -0
- package/dist/weaveapi/storage/v1/service.pb.d.ts +4 -0
- package/dist/weaveapi/storage/v1/service.pb.js +50 -7
- package/dist/weaveapi/storage/v1/storage.pb.d.ts +2 -0
- package/dist/weaveapi/storage/v1/storage.pb.js +23 -0
- package/dist/weaveapi/storage/v1/vcs.pb.d.ts +75 -0
- package/dist/weaveapi/storage/v1/vcs.pb.js +864 -0
- package/dist/weaveapi/suite/v1/service.pb.d.ts +539 -0
- package/dist/weaveapi/suite/v1/service.pb.js +5281 -0
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +92 -0
- package/dist/weaveapi/suite/v1/suite.pb.js +876 -0
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +498 -0
- package/dist/weaveapi/testcase/v1/service.pb.js +4730 -0
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +91 -0
- package/dist/weaveapi/testcase/v1/testcase.pb.js +794 -0
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +26 -0
- package/dist/weaveapi/workflow/v1/service.pb.js +293 -5
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +1 -0
- package/dist/weaveapi/workflow/v1/workflow.pb.js +17 -1
- package/dist/weavesql/weavedb/data_asset_sql.d.ts +206 -0
- package/dist/weavesql/weavedb/data_asset_sql.js +335 -0
- package/dist/weavesql/weavedb/input_sql.d.ts +293 -0
- package/dist/weavesql/weavedb/input_sql.js +500 -0
- package/dist/weavesql/weavedb/integration_sql.d.ts +236 -0
- package/dist/weavesql/weavedb/integration_sql.js +377 -0
- package/dist/weavesql/weavedb/project_sql.d.ts +29 -5
- package/dist/weavesql/weavedb/project_sql.js +73 -37
- package/dist/weavesql/weavedb/report_sql.d.ts +192 -0
- package/dist/weavesql/weavedb/report_sql.js +308 -0
- package/dist/weavesql/weavedb/requirement_sql.d.ts +231 -0
- package/dist/weavesql/weavedb/requirement_sql.js +399 -0
- package/dist/weavesql/weavedb/run_sql.d.ts +283 -0
- package/dist/weavesql/weavedb/run_sql.js +462 -0
- package/dist/weavesql/weavedb/suite_sql.d.ts +354 -0
- package/dist/weavesql/weavedb/suite_sql.js +631 -0
- package/dist/weavesql/weavedb/test_case_sql.d.ts +325 -0
- package/dist/weavesql/weavedb/test_case_sql.js +563 -0
- package/dist/weavesql/weavedb/test_script_sql.d.ts +354 -0
- package/dist/weavesql/weavedb/test_script_sql.js +605 -0
- package/dist/weavesql/weavedb/traceability_sql.d.ts +117 -0
- package/dist/weavesql/weavedb/traceability_sql.js +363 -0
- package/dist/weavesql/weavedb/workflow_sql.d.ts +30 -5
- package/dist/weavesql/weavedb/workflow_sql.js +76 -38
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "weaveapi.script.v1";
|
|
3
|
+
export declare enum ScriptLanguage {
|
|
4
|
+
SCRIPT_LANGUAGE_UNSPECIFIED = 0,
|
|
5
|
+
SCRIPT_LANGUAGE_JAVASCRIPT = 1,
|
|
6
|
+
SCRIPT_LANGUAGE_TYPESCRIPT = 2,
|
|
7
|
+
SCRIPT_LANGUAGE_PYTHON = 3,
|
|
8
|
+
UNRECOGNIZED = -1
|
|
9
|
+
}
|
|
10
|
+
export declare function scriptLanguageFromJSON(object: any): ScriptLanguage;
|
|
11
|
+
export declare function scriptLanguageToJSON(object: ScriptLanguage): string;
|
|
12
|
+
export declare enum ScriptStatus {
|
|
13
|
+
SCRIPT_STATUS_UNSPECIFIED = 0,
|
|
14
|
+
SCRIPT_STATUS_GENERATED = 1,
|
|
15
|
+
SCRIPT_STATUS_EDITED = 2,
|
|
16
|
+
SCRIPT_STATUS_APPROVED = 3,
|
|
17
|
+
SCRIPT_STATUS_DEPRECATED = 4,
|
|
18
|
+
SCRIPT_STATUS_ARCHIVED = 5,
|
|
19
|
+
UNRECOGNIZED = -1
|
|
20
|
+
}
|
|
21
|
+
export declare function scriptStatusFromJSON(object: any): ScriptStatus;
|
|
22
|
+
export declare function scriptStatusToJSON(object: ScriptStatus): string;
|
|
23
|
+
export declare enum ScriptSourceLocationType {
|
|
24
|
+
SCRIPT_SOURCE_LOCATION_TYPE_UNSPECIFIED = 0,
|
|
25
|
+
SCRIPT_SOURCE_LOCATION_TYPE_INLINE_DB = 1,
|
|
26
|
+
SCRIPT_SOURCE_LOCATION_TYPE_STORAGE_CONNECTION = 2,
|
|
27
|
+
SCRIPT_SOURCE_LOCATION_TYPE_VCS = 3,
|
|
28
|
+
UNRECOGNIZED = -1
|
|
29
|
+
}
|
|
30
|
+
export declare function scriptSourceLocationTypeFromJSON(object: any): ScriptSourceLocationType;
|
|
31
|
+
export declare function scriptSourceLocationTypeToJSON(object: ScriptSourceLocationType): string;
|
|
32
|
+
export interface TestScript {
|
|
33
|
+
testScriptId: string;
|
|
34
|
+
projectId: string;
|
|
35
|
+
testCaseId: string;
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
language: ScriptLanguage;
|
|
39
|
+
framework: string;
|
|
40
|
+
status: ScriptStatus;
|
|
41
|
+
currentTestScriptVersionId: string;
|
|
42
|
+
metadata: {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
} | undefined;
|
|
45
|
+
createdAt: Date | undefined;
|
|
46
|
+
updatedAt: Date | undefined;
|
|
47
|
+
archivedAt: Date | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface TestScriptVersion {
|
|
50
|
+
testScriptVersionId: string;
|
|
51
|
+
testScriptId: string;
|
|
52
|
+
versionNumber: number;
|
|
53
|
+
sourceCode: string;
|
|
54
|
+
promptVersion: string;
|
|
55
|
+
metadata: {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
} | undefined;
|
|
58
|
+
createdAt: Date | undefined;
|
|
59
|
+
sourceLocationType: ScriptSourceLocationType;
|
|
60
|
+
storageConnectionId: string;
|
|
61
|
+
sourceUri: string;
|
|
62
|
+
externalRevision: string;
|
|
63
|
+
sourceChecksum: string;
|
|
64
|
+
sourceSizeBytes: number;
|
|
65
|
+
}
|
|
66
|
+
export interface ScriptBinding {
|
|
67
|
+
scriptBindingId: string;
|
|
68
|
+
testScriptId: string;
|
|
69
|
+
bindingKey: string;
|
|
70
|
+
bindingType: string;
|
|
71
|
+
datasetId: string;
|
|
72
|
+
columnName: string;
|
|
73
|
+
defaultValue: string;
|
|
74
|
+
isRequired: boolean;
|
|
75
|
+
metadata: {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
} | undefined;
|
|
78
|
+
createdAt: Date | undefined;
|
|
79
|
+
updatedAt: Date | undefined;
|
|
80
|
+
}
|
|
81
|
+
export declare const TestScript: MessageFns<TestScript>;
|
|
82
|
+
export declare const TestScriptVersion: MessageFns<TestScriptVersion>;
|
|
83
|
+
export declare const ScriptBinding: MessageFns<ScriptBinding>;
|
|
84
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
85
|
+
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 {} ? {
|
|
86
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
87
|
+
} : Partial<T>;
|
|
88
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
89
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
90
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
91
|
+
} & {
|
|
92
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
93
|
+
};
|
|
94
|
+
export interface MessageFns<T> {
|
|
95
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
96
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
97
|
+
fromJSON(object: any): T;
|
|
98
|
+
toJSON(message: T): unknown;
|
|
99
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
100
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
101
|
+
}
|
|
102
|
+
export {};
|