@tiangong-lca/cli 0.1.0 → 0.1.2
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/README.md +58 -6
- package/dist/src/batch.d.ts +6 -0
- package/dist/src/batch.js +6 -0
- package/dist/src/batch.js.map +1 -0
- package/dist/src/cli.d.ts +161 -0
- package/dist/src/cli.js +130 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/command-spec.d.ts +90 -0
- package/dist/src/command-spec.js +400 -0
- package/dist/src/command-spec.js.map +1 -0
- package/dist/src/lib/artifacts.d.ts +9 -0
- package/dist/src/lib/auth-identity-receipt.d.ts +160 -0
- package/dist/src/lib/auth-identity-receipt.js +634 -0
- package/dist/src/lib/auth-identity-receipt.js.map +1 -0
- package/dist/src/lib/batch/attempt-recovery.d.ts +12 -0
- package/dist/src/lib/batch/attempt-recovery.js +183 -0
- package/dist/src/lib/batch/attempt-recovery.js.map +1 -0
- package/dist/src/lib/batch/canonical-contracts.d.ts +21 -0
- package/dist/src/lib/batch/canonical-contracts.js +180 -0
- package/dist/src/lib/batch/canonical-contracts.js.map +1 -0
- package/dist/src/lib/batch/engine.d.ts +2 -0
- package/dist/src/lib/batch/engine.js +294 -0
- package/dist/src/lib/batch/engine.js.map +1 -0
- package/dist/src/lib/batch/errors.d.ts +51 -0
- package/dist/src/lib/batch/errors.js +81 -0
- package/dist/src/lib/batch/errors.js.map +1 -0
- package/dist/src/lib/batch/item-projection.d.ts +10 -0
- package/dist/src/lib/batch/item-projection.js +118 -0
- package/dist/src/lib/batch/item-projection.js.map +1 -0
- package/dist/src/lib/batch/run-lock.d.ts +4 -0
- package/dist/src/lib/batch/run-lock.js +155 -0
- package/dist/src/lib/batch/run-lock.js.map +1 -0
- package/dist/src/lib/batch/scheduler-runtime.d.ts +29 -0
- package/dist/src/lib/batch/scheduler-runtime.js +114 -0
- package/dist/src/lib/batch/scheduler-runtime.js.map +1 -0
- package/dist/src/lib/batch/types.d.ts +183 -0
- package/dist/src/lib/batch/types.js +2 -0
- package/dist/src/lib/batch/types.js.map +1 -0
- package/dist/src/lib/dataset-author.d.ts +39 -0
- package/dist/src/lib/dataset-bilingual.d.ts +165 -0
- package/dist/src/lib/dataset-classification.d.ts +279 -0
- package/dist/src/lib/dataset-command.d.ts +53 -0
- package/dist/src/lib/dataset-contract.d.ts +82 -0
- package/dist/src/lib/dataset-curation-queue.d.ts +219 -0
- package/dist/src/lib/dataset-evidence-search.d.ts +134 -0
- package/dist/src/lib/dataset-import-lca.d.ts +136 -0
- package/dist/src/lib/dataset-local.d.ts +23 -0
- package/dist/src/lib/dataset-maintenance-alias-request.d.ts +12 -0
- package/dist/src/lib/dataset-maintenance-alias-rewrite.d.ts +111 -0
- package/dist/src/lib/dataset-maintenance-apply.d.ts +458 -0
- package/dist/src/lib/dataset-maintenance-clear-account.d.ts +161 -0
- package/dist/src/lib/dataset-maintenance-contract.d.ts +317 -0
- package/dist/src/lib/dataset-maintenance-derivatives.d.ts +48 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-approval-claim.d.ts +50 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-capture.d.ts +110 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-command.d.ts +15 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-contract.d.ts +387 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-execution-contract.d.ts +456 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-freeze.d.ts +99 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-plan.d.ts +85 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-recovery.d.ts +268 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-run.d.ts +123 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-seal.d.ts +50 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-verify.d.ts +85 -0
- package/dist/src/lib/dataset-maintenance-flow-identity-wire.d.ts +32 -0
- package/dist/src/lib/dataset-maintenance-pagination.d.ts +58 -0
- package/dist/src/lib/dataset-maintenance-plan.d.ts +40 -0
- package/dist/src/lib/dataset-maintenance-protected-artifacts.d.ts +16 -0
- package/dist/src/lib/dataset-maintenance-protected-before.d.ts +71 -0
- package/dist/src/lib/dataset-maintenance-protected-contract.d.ts +385 -0
- package/dist/src/lib/dataset-maintenance-protected-freeze.d.ts +148 -0
- package/dist/src/lib/dataset-maintenance-protected-preparation.d.ts +76 -0
- package/dist/src/lib/dataset-maintenance-protected-run.d.ts +252 -0
- package/dist/src/lib/dataset-maintenance-protected-seal.d.ts +93 -0
- package/dist/src/lib/dataset-maintenance-protected-toolchain.d.ts +31 -0
- package/dist/src/lib/dataset-maintenance-protected-verify.d.ts +99 -0
- package/dist/src/lib/dataset-maintenance-remote.d.ts +212 -0
- package/dist/src/lib/dataset-maintenance-support-validation.d.ts +18 -0
- package/dist/src/lib/dataset-maintenance-verify.d.ts +102 -0
- package/dist/src/lib/dataset-patch.d.ts +193 -0
- package/dist/src/lib/dataset-references-rewrite.d.ts +77 -0
- package/dist/src/lib/dataset-remote-refresh.d.ts +64 -0
- package/dist/src/lib/dataset-remote-verify.d.ts +168 -0
- package/dist/src/lib/dataset-save-draft-run.d.ts +283 -0
- package/dist/src/lib/dataset-save-draft-run.js +54 -21
- package/dist/src/lib/dataset-save-draft-run.js.map +1 -1
- package/dist/src/lib/dataset-source-upload-attachments.d.ts +109 -0
- package/dist/src/lib/dataset-validate.d.ts +62 -0
- package/dist/src/lib/dotenv.d.ts +6 -0
- package/dist/src/lib/env.d.ts +59 -0
- package/dist/src/lib/errors.d.ts +18 -0
- package/dist/src/lib/flow-build-alias-map.d.ts +80 -0
- package/dist/src/lib/flow-fetch-rows.d.ts +70 -0
- package/dist/src/lib/flow-get.d.ts +35 -0
- package/dist/src/lib/flow-governance.d.ts +22 -0
- package/dist/src/lib/flow-list.d.ts +57 -0
- package/dist/src/lib/flow-materialize-decisions.d.ts +67 -0
- package/dist/src/lib/flow-payload-validation.d.ts +32 -0
- package/dist/src/lib/flow-publish-reviewed-data.d.ts +262 -0
- package/dist/src/lib/flow-publish-version.d.ts +193 -0
- package/dist/src/lib/flow-qa.d.ts +289 -0
- package/dist/src/lib/flow-read.d.ts +70 -0
- package/dist/src/lib/flow-regen-product.d.ts +431 -0
- package/dist/src/lib/flow-remediate.d.ts +133 -0
- package/dist/src/lib/http.d.ts +25 -0
- package/dist/src/lib/http.js.map +1 -1
- package/dist/src/lib/identity-preflight.d.ts +235 -0
- package/dist/src/lib/io.d.ts +2 -0
- package/dist/src/lib/kb-search.d.ts +23 -0
- package/dist/src/lib/lca-release.d.ts +105 -0
- package/dist/src/lib/lifecyclemodel-auto-build.d.ts +223 -0
- package/dist/src/lib/lifecyclemodel-bundle-save.d.ts +71 -0
- package/dist/src/lib/lifecyclemodel-graph.d.ts +91 -0
- package/dist/src/lib/lifecyclemodel-orchestrate.d.ts +349 -0
- package/dist/src/lib/lifecyclemodel-publish-build.d.ts +77 -0
- package/dist/src/lib/lifecyclemodel-publish-resulting-process.d.ts +27 -0
- package/dist/src/lib/lifecyclemodel-qa.d.ts +206 -0
- package/dist/src/lib/lifecyclemodel-resulting-process.d.ts +204 -0
- package/dist/src/lib/lifecyclemodel-save-draft-run.d.ts +96 -0
- package/dist/src/lib/lifecyclemodel-validate-build.d.ts +78 -0
- package/dist/src/lib/llm.d.ts +51 -0
- package/dist/src/lib/package-version.d.ts +3 -0
- package/dist/src/lib/process-auto-build.d.ts +168 -0
- package/dist/src/lib/process-batch-build.d.ts +97 -0
- package/dist/src/lib/process-dedup-review.d.ts +253 -0
- package/dist/src/lib/process-flow-build-plan.d.ts +108 -0
- package/dist/src/lib/process-get.d.ts +26 -0
- package/dist/src/lib/process-list.d.ts +87 -0
- package/dist/src/lib/process-payload-validation.d.ts +27 -0
- package/dist/src/lib/process-publish-build.d.ts +148 -0
- package/dist/src/lib/process-qa.d.ts +243 -0
- package/dist/src/lib/process-refresh-references.d.ts +179 -0
- package/dist/src/lib/process-required-fields.d.ts +142 -0
- package/dist/src/lib/process-resume-build.d.ts +77 -0
- package/dist/src/lib/process-save-draft-run.d.ts +72 -0
- package/dist/src/lib/process-save-draft.d.ts +53 -0
- package/dist/src/lib/process-scope-statistics.d.ts +210 -0
- package/dist/src/lib/process-verify-rows.d.ts +71 -0
- package/dist/src/lib/publish.d.ts +219 -0
- package/dist/src/lib/remote.d.ts +19 -0
- package/dist/src/lib/run.d.ts +60 -0
- package/dist/src/lib/runtime-rulesets.d.ts +29 -0
- package/dist/src/lib/state-lock.d.ts +25 -0
- package/dist/src/lib/state-lock.js +23 -1
- package/dist/src/lib/state-lock.js.map +1 -1
- package/dist/src/lib/supabase-client.d.ts +47 -0
- package/dist/src/lib/supabase-data-api-contract.d.ts +304 -0
- package/dist/src/lib/supabase-data-api-replay.d.ts +74 -0
- package/dist/src/lib/supabase-json-ordered-write.d.ts +65 -0
- package/dist/src/lib/supabase-rest.d.ts +26 -0
- package/dist/src/lib/supabase-session.d.ts +115 -0
- package/dist/src/lib/tidas-languages.d.ts +3 -0
- package/dist/src/lib/tidas-sdk-package-validator.d.ts +111 -0
- package/dist/src/lib/tidas-sdk-validation.d.ts +42 -0
- package/dist/src/lib/unstructured.d.ts +32 -0
- package/dist/src/lib/user-api-key.d.ts +16 -0
- package/dist/src/lib/validation.d.ts +82 -0
- package/dist/src/main.d.ts +4 -0
- package/package.json +17 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { DatasetMaintenanceSupportTable, JsonObject } from './dataset-maintenance-contract.js';
|
|
2
|
+
import type { SafeParseResult, SafeParseSchema } from './tidas-sdk-validation.js';
|
|
3
|
+
export type DatasetMaintenanceSupportSchemas = Partial<Record<DatasetMaintenanceSupportTable, SafeParseSchema>>;
|
|
4
|
+
export declare function maintenancePayloadIdentity(payload: JsonObject): {
|
|
5
|
+
id: string | null;
|
|
6
|
+
version: string | null;
|
|
7
|
+
};
|
|
8
|
+
export declare function inspectMaintenanceSupportPayload(options: {
|
|
9
|
+
table: DatasetMaintenanceSupportTable;
|
|
10
|
+
payload: JsonObject;
|
|
11
|
+
schemas?: DatasetMaintenanceSupportSchemas;
|
|
12
|
+
}): {
|
|
13
|
+
identity: {
|
|
14
|
+
id: string | null;
|
|
15
|
+
version: string | null;
|
|
16
|
+
};
|
|
17
|
+
schemaResult: SafeParseResult;
|
|
18
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { FetchLike } from './http.js';
|
|
2
|
+
import { type DatasetMaintenancePlan, type DatasetMaintenancePlanAction, type DatasetMaintenanceRemoteRow, type JsonObject } from './dataset-maintenance-contract.js';
|
|
3
|
+
import { type DatasetMaintenanceDerivativeStatusProof, type DatasetMaintenanceDerivativeSubmitProof } from './dataset-maintenance-derivatives.js';
|
|
4
|
+
import { type DatasetMaintenanceSnapshotCompleteness } from './dataset-maintenance-pagination.js';
|
|
5
|
+
export type DatasetMaintenanceVerifyIssue = {
|
|
6
|
+
code: string;
|
|
7
|
+
message: string;
|
|
8
|
+
action_id?: string;
|
|
9
|
+
table?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
version?: string;
|
|
12
|
+
details?: unknown;
|
|
13
|
+
};
|
|
14
|
+
export type DatasetMaintenanceVerifyReport = {
|
|
15
|
+
schema_version: 1;
|
|
16
|
+
generated_at_utc: string;
|
|
17
|
+
status: 'pending' | 'passed' | 'failed';
|
|
18
|
+
task_id: string;
|
|
19
|
+
operation: DatasetMaintenancePlan['operation'];
|
|
20
|
+
operation_id: string;
|
|
21
|
+
target_mode: DatasetMaintenancePlan['target_mode'];
|
|
22
|
+
plan_sha256: string;
|
|
23
|
+
actor: {
|
|
24
|
+
user_id: string;
|
|
25
|
+
email: string;
|
|
26
|
+
};
|
|
27
|
+
snapshot_completeness: DatasetMaintenanceSnapshotCompleteness;
|
|
28
|
+
summary: {
|
|
29
|
+
actions: number;
|
|
30
|
+
action_checks_passed: number;
|
|
31
|
+
protected_rows: number;
|
|
32
|
+
protected_checks_passed: number;
|
|
33
|
+
progress_successes: number;
|
|
34
|
+
atomic_plan_proofs?: number;
|
|
35
|
+
atomic_batches?: number;
|
|
36
|
+
atomic_batch_successes?: number;
|
|
37
|
+
exchange_rewrite_logs?: number;
|
|
38
|
+
derivative_admissions?: number;
|
|
39
|
+
derivative_request_status?: string;
|
|
40
|
+
dangling_deleted_target_references: number;
|
|
41
|
+
issues: number;
|
|
42
|
+
};
|
|
43
|
+
action_checks: Array<{
|
|
44
|
+
action_id: string;
|
|
45
|
+
status: 'pending' | 'passed' | 'failed';
|
|
46
|
+
observed: 'desired_payload' | 'absent' | 'mismatch' | 'derivative_pending' | 'derivative_current';
|
|
47
|
+
}>;
|
|
48
|
+
issues: DatasetMaintenanceVerifyIssue[];
|
|
49
|
+
artifacts: {
|
|
50
|
+
plan: string;
|
|
51
|
+
approval_record: string;
|
|
52
|
+
apply_progress: string;
|
|
53
|
+
commit_report: string;
|
|
54
|
+
alias_plan_progress?: string;
|
|
55
|
+
alias_batch_progress?: string;
|
|
56
|
+
alias_exchange_progress?: string;
|
|
57
|
+
derivative_submit_progress?: string;
|
|
58
|
+
report: string;
|
|
59
|
+
};
|
|
60
|
+
derivative_status?: {
|
|
61
|
+
proof: DatasetMaintenanceDerivativeStatusProof;
|
|
62
|
+
raw_evidence: JsonObject;
|
|
63
|
+
note: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export type RunDatasetMaintenanceVerifyOptions = {
|
|
67
|
+
planPath: string;
|
|
68
|
+
outDir?: string;
|
|
69
|
+
pageSize?: number;
|
|
70
|
+
timeoutMs?: number;
|
|
71
|
+
env: NodeJS.ProcessEnv;
|
|
72
|
+
fetchImpl: FetchLike;
|
|
73
|
+
now?: Date;
|
|
74
|
+
};
|
|
75
|
+
declare function issue(code: string, message: string, action?: DatasetMaintenancePlanAction, details?: unknown): DatasetMaintenanceVerifyIssue;
|
|
76
|
+
declare function desiredPayload(planDir: string, action: DatasetMaintenancePlanAction): JsonObject | null;
|
|
77
|
+
declare function deletedTargetReferences(options: {
|
|
78
|
+
rows: DatasetMaintenanceRemoteRow[];
|
|
79
|
+
deletes: DatasetMaintenancePlanAction[];
|
|
80
|
+
}): Array<{
|
|
81
|
+
target_action_id: string;
|
|
82
|
+
source_key: string;
|
|
83
|
+
path: string;
|
|
84
|
+
}>;
|
|
85
|
+
declare function derivativeSubmitIdentity(proof: DatasetMaintenanceDerivativeSubmitProof): string;
|
|
86
|
+
declare function readDerivativeSubmitProof(options: {
|
|
87
|
+
plan: DatasetMaintenancePlan;
|
|
88
|
+
progressPath: string;
|
|
89
|
+
problems: DatasetMaintenanceVerifyIssue[];
|
|
90
|
+
}): {
|
|
91
|
+
proof: DatasetMaintenanceDerivativeSubmitProof | null;
|
|
92
|
+
admissions: number;
|
|
93
|
+
};
|
|
94
|
+
export declare function runDatasetMaintenanceVerify(options: RunDatasetMaintenanceVerifyOptions): Promise<DatasetMaintenanceVerifyReport>;
|
|
95
|
+
export declare const __testInternals: {
|
|
96
|
+
deletedTargetReferences: typeof deletedTargetReferences;
|
|
97
|
+
derivativeSubmitIdentity: typeof derivativeSubmitIdentity;
|
|
98
|
+
desiredPayload: typeof desiredPayload;
|
|
99
|
+
issue: typeof issue;
|
|
100
|
+
readDerivativeSubmitProof: typeof readDerivativeSubmitProof;
|
|
101
|
+
};
|
|
102
|
+
export {};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { materializeDatasetRows, type JsonObject } from './dataset-local.js';
|
|
2
|
+
type PatchApplyStatus = 'completed' | 'blocked';
|
|
3
|
+
type PatchOperationName = 'add' | 'remove' | 'replace' | 'test';
|
|
4
|
+
export type DatasetPatchEvidence = string | {
|
|
5
|
+
source?: string | null;
|
|
6
|
+
quote?: string | null;
|
|
7
|
+
path?: string | null;
|
|
8
|
+
package?: string | null;
|
|
9
|
+
reasoning?: string | null;
|
|
10
|
+
trace_hash?: string | null;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
} | unknown[] | null;
|
|
13
|
+
export type DatasetPatchOperation = {
|
|
14
|
+
op: PatchOperationName | string;
|
|
15
|
+
path: string;
|
|
16
|
+
value?: unknown;
|
|
17
|
+
evidence?: DatasetPatchEvidence;
|
|
18
|
+
basis?: string | null;
|
|
19
|
+
resolution?: unknown;
|
|
20
|
+
closes?: unknown;
|
|
21
|
+
closes_action_items?: unknown;
|
|
22
|
+
closesActionItems?: unknown;
|
|
23
|
+
action_items?: unknown;
|
|
24
|
+
actionItems?: unknown;
|
|
25
|
+
};
|
|
26
|
+
export type DatasetPatchSet = {
|
|
27
|
+
row_index?: number | string | null;
|
|
28
|
+
dataset_id?: string | null;
|
|
29
|
+
id?: string | null;
|
|
30
|
+
uuid?: string | null;
|
|
31
|
+
entity_id?: string | null;
|
|
32
|
+
version?: string | null;
|
|
33
|
+
dataset_version?: string | null;
|
|
34
|
+
authoring_package?: string | null;
|
|
35
|
+
operations?: DatasetPatchOperation[];
|
|
36
|
+
patches?: DatasetPatchOperation[];
|
|
37
|
+
};
|
|
38
|
+
export type DatasetPatchApplyBlocker = {
|
|
39
|
+
code: string;
|
|
40
|
+
message: string;
|
|
41
|
+
row_index?: number;
|
|
42
|
+
dataset_id?: string | null;
|
|
43
|
+
dataset_version?: string | null;
|
|
44
|
+
patch_index?: number;
|
|
45
|
+
operation_index?: number;
|
|
46
|
+
op?: string;
|
|
47
|
+
path?: string;
|
|
48
|
+
};
|
|
49
|
+
export type DatasetPatchEvidenceEntry = {
|
|
50
|
+
row_index: number;
|
|
51
|
+
dataset_id: string | null;
|
|
52
|
+
dataset_version: string | null;
|
|
53
|
+
patch_index: number;
|
|
54
|
+
operation_index: number;
|
|
55
|
+
op: PatchOperationName;
|
|
56
|
+
path: string;
|
|
57
|
+
basis: string | null;
|
|
58
|
+
evidence: DatasetPatchEvidence;
|
|
59
|
+
resolution?: unknown;
|
|
60
|
+
authoring_package: string | null;
|
|
61
|
+
authoring_package_sha256?: string | null;
|
|
62
|
+
closes_action_items?: ActionItemClosure[];
|
|
63
|
+
};
|
|
64
|
+
export type DatasetPatchApplyReport = {
|
|
65
|
+
schema_version: 1;
|
|
66
|
+
generated_at_utc: string;
|
|
67
|
+
input_path: string;
|
|
68
|
+
patch_path: string;
|
|
69
|
+
out_path: string;
|
|
70
|
+
status: PatchApplyStatus;
|
|
71
|
+
row_count: number;
|
|
72
|
+
patch_count: number;
|
|
73
|
+
operation_count: number;
|
|
74
|
+
applied_operation_count: number;
|
|
75
|
+
evidence_count: number;
|
|
76
|
+
closed_action_item_count?: number;
|
|
77
|
+
blockers: DatasetPatchApplyBlocker[];
|
|
78
|
+
files: {
|
|
79
|
+
patched_rows: string;
|
|
80
|
+
patch_evidence: string | null;
|
|
81
|
+
report: string | null;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export type RunDatasetPatchApplyOptions = {
|
|
85
|
+
inputPath: string;
|
|
86
|
+
patchPath: string;
|
|
87
|
+
outPath: string;
|
|
88
|
+
outDir?: string | null;
|
|
89
|
+
rawInput?: unknown;
|
|
90
|
+
rawPatch?: unknown;
|
|
91
|
+
authoringPackageDir?: string | null;
|
|
92
|
+
requireAuthoringPackage?: boolean;
|
|
93
|
+
requireActionItemClosure?: boolean;
|
|
94
|
+
now?: Date;
|
|
95
|
+
};
|
|
96
|
+
type NormalizedPatchSet = {
|
|
97
|
+
rowIndex: number | null;
|
|
98
|
+
datasetId: string | null;
|
|
99
|
+
datasetVersion: string | null;
|
|
100
|
+
authoringPackage: string | null;
|
|
101
|
+
operations: DatasetPatchOperation[];
|
|
102
|
+
};
|
|
103
|
+
type AuthoringPackageContext = {
|
|
104
|
+
path: string;
|
|
105
|
+
sha256: string;
|
|
106
|
+
payload: JsonObject;
|
|
107
|
+
actionItems: ActionItemClosure[];
|
|
108
|
+
};
|
|
109
|
+
type ActionItemClosure = {
|
|
110
|
+
code: string;
|
|
111
|
+
path: string | null;
|
|
112
|
+
};
|
|
113
|
+
type NormalizePatchResult = {
|
|
114
|
+
patches: NormalizedPatchSet[];
|
|
115
|
+
blockers: DatasetPatchApplyBlocker[];
|
|
116
|
+
};
|
|
117
|
+
type PatchTarget = {
|
|
118
|
+
container: JsonObject | unknown[];
|
|
119
|
+
key: string | number;
|
|
120
|
+
};
|
|
121
|
+
declare function parseRowIndex(value: unknown): number | null;
|
|
122
|
+
declare function caughtErrorMessage(error: unknown): string;
|
|
123
|
+
declare function normalizeClosure(value: unknown): ActionItemClosure | null;
|
|
124
|
+
declare function normalizeClosureList(value: unknown): ActionItemClosure[];
|
|
125
|
+
declare function operationClosures(operation: DatasetPatchOperation): ActionItemClosure[];
|
|
126
|
+
declare function actionItemFromPackage(value: unknown): ActionItemClosure | null;
|
|
127
|
+
declare function closureMatchesActionItem(closure: ActionItemClosure, actionItem: ActionItemClosure): boolean;
|
|
128
|
+
declare function normalizeOperationArray(value: unknown): DatasetPatchOperation[] | null;
|
|
129
|
+
declare function looksLikeOperation(value: unknown): boolean;
|
|
130
|
+
declare function normalizePatchSet(value: unknown): NormalizedPatchSet | null;
|
|
131
|
+
declare function patchPayloadCompletionStatus(rawPatch: unknown): string | null;
|
|
132
|
+
declare function normalizePatchPayload(rawPatch: unknown): NormalizePatchResult;
|
|
133
|
+
declare function parsePointer(pointer: unknown): string[];
|
|
134
|
+
declare function parseArrayIndex(token: string, length: number, allowAppend: boolean): number;
|
|
135
|
+
declare function resolvePatchTarget(root: JsonObject, pointer: string, allowAdd: boolean): PatchTarget;
|
|
136
|
+
declare function targetExists(target: PatchTarget): boolean;
|
|
137
|
+
declare function getTargetValue(target: PatchTarget): unknown;
|
|
138
|
+
declare function setTargetValue(target: PatchTarget, value: unknown, insert: boolean): void;
|
|
139
|
+
declare function removeTargetValue(target: PatchTarget): void;
|
|
140
|
+
declare function evidenceIsPresent(evidence: unknown): boolean;
|
|
141
|
+
declare function operationBasis(operation: DatasetPatchOperation): string | null;
|
|
142
|
+
declare function validateOperationShape(operation: DatasetPatchOperation, patchIndex: number, operationIndex: number, rowIndex: number, datasetId: string | null, datasetVersion: string | null): DatasetPatchApplyBlocker | null;
|
|
143
|
+
declare function applyOperation(root: JsonObject, operation: DatasetPatchOperation): void;
|
|
144
|
+
declare function findTargetRow(patch: NormalizedPatchSet, rows: ReturnType<typeof materializeDatasetRows>, patchIndex: number): {
|
|
145
|
+
rowIndex: number;
|
|
146
|
+
blocker: null;
|
|
147
|
+
} | {
|
|
148
|
+
rowIndex: null;
|
|
149
|
+
blocker: DatasetPatchApplyBlocker;
|
|
150
|
+
};
|
|
151
|
+
declare function resolveAuthoringPackagePath(authoringPackage: string | null, authoringPackageDir: string | null | undefined): string | null;
|
|
152
|
+
declare function readAuthoringPackageContext(options: {
|
|
153
|
+
patch: NormalizedPatchSet;
|
|
154
|
+
rowIndex: number;
|
|
155
|
+
rowId: string | null | undefined;
|
|
156
|
+
rowVersion: string | null | undefined;
|
|
157
|
+
patchIndex: number;
|
|
158
|
+
authoringPackageDir?: string | null;
|
|
159
|
+
requireAuthoringPackage?: boolean;
|
|
160
|
+
}): {
|
|
161
|
+
context: AuthoringPackageContext | null;
|
|
162
|
+
blockers: DatasetPatchApplyBlocker[];
|
|
163
|
+
};
|
|
164
|
+
export declare function runDatasetPatchApply(options: RunDatasetPatchApplyOptions): Promise<DatasetPatchApplyReport>;
|
|
165
|
+
export declare const __testInternals: {
|
|
166
|
+
actionItemFromPackage: typeof actionItemFromPackage;
|
|
167
|
+
applyOperation: typeof applyOperation;
|
|
168
|
+
closureMatchesActionItem: typeof closureMatchesActionItem;
|
|
169
|
+
caughtErrorMessage: typeof caughtErrorMessage;
|
|
170
|
+
evidenceIsPresent: typeof evidenceIsPresent;
|
|
171
|
+
findTargetRow: typeof findTargetRow;
|
|
172
|
+
getTargetValue: typeof getTargetValue;
|
|
173
|
+
looksLikeOperation: typeof looksLikeOperation;
|
|
174
|
+
normalizeClosure: typeof normalizeClosure;
|
|
175
|
+
normalizeClosureList: typeof normalizeClosureList;
|
|
176
|
+
normalizeOperationArray: typeof normalizeOperationArray;
|
|
177
|
+
normalizePatchPayload: typeof normalizePatchPayload;
|
|
178
|
+
normalizePatchSet: typeof normalizePatchSet;
|
|
179
|
+
operationBasis: typeof operationBasis;
|
|
180
|
+
operationClosures: typeof operationClosures;
|
|
181
|
+
parseArrayIndex: typeof parseArrayIndex;
|
|
182
|
+
parsePointer: typeof parsePointer;
|
|
183
|
+
parseRowIndex: typeof parseRowIndex;
|
|
184
|
+
patchPayloadCompletionStatus: typeof patchPayloadCompletionStatus;
|
|
185
|
+
readAuthoringPackageContext: typeof readAuthoringPackageContext;
|
|
186
|
+
removeTargetValue: typeof removeTargetValue;
|
|
187
|
+
resolveAuthoringPackagePath: typeof resolveAuthoringPackagePath;
|
|
188
|
+
resolvePatchTarget: typeof resolvePatchTarget;
|
|
189
|
+
setTargetValue: typeof setTargetValue;
|
|
190
|
+
targetExists: typeof targetExists;
|
|
191
|
+
validateOperationShape: typeof validateOperationShape;
|
|
192
|
+
};
|
|
193
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { FetchLike } from './http.js';
|
|
2
|
+
import { type DatasetKind } from './dataset-local.js';
|
|
3
|
+
import { runLifecyclemodelSaveDraft, type LifecyclemodelSaveDraftReport } from './lifecyclemodel-save-draft-run.js';
|
|
4
|
+
import { runProcessSaveDraft, type ProcessSaveDraftReport } from './process-save-draft-run.js';
|
|
5
|
+
type ReferenceKind = 'flow';
|
|
6
|
+
type ParsedReference = {
|
|
7
|
+
kind: ReferenceKind;
|
|
8
|
+
id: string;
|
|
9
|
+
version: string | null;
|
|
10
|
+
};
|
|
11
|
+
export type DatasetReferencesRewriteChange = {
|
|
12
|
+
row_index: number;
|
|
13
|
+
dataset_type: DatasetKind | null;
|
|
14
|
+
dataset_id: string | null;
|
|
15
|
+
dataset_version: string | null;
|
|
16
|
+
path: string;
|
|
17
|
+
field: '@refObjectId' | '@version' | '@flowUUID';
|
|
18
|
+
before: string | null;
|
|
19
|
+
after: string | null;
|
|
20
|
+
};
|
|
21
|
+
export type DatasetReferencesRewriteReport = {
|
|
22
|
+
generated_at_utc: string;
|
|
23
|
+
input_path: string;
|
|
24
|
+
out_dir: string;
|
|
25
|
+
mode: 'dry_run' | 'commit';
|
|
26
|
+
status: 'completed' | 'completed_with_failures';
|
|
27
|
+
from: ParsedReference;
|
|
28
|
+
to: ParsedReference;
|
|
29
|
+
filters: {
|
|
30
|
+
types: DatasetKind[];
|
|
31
|
+
scope: string | null;
|
|
32
|
+
};
|
|
33
|
+
counts: {
|
|
34
|
+
input_rows: number;
|
|
35
|
+
patched_rows: number;
|
|
36
|
+
changes: number;
|
|
37
|
+
process_rows: number;
|
|
38
|
+
lifecyclemodel_rows: number;
|
|
39
|
+
};
|
|
40
|
+
files: {
|
|
41
|
+
patched_rows: string;
|
|
42
|
+
rewrite_plan: string;
|
|
43
|
+
summary: string;
|
|
44
|
+
};
|
|
45
|
+
changes: DatasetReferencesRewriteChange[];
|
|
46
|
+
commit_reports: {
|
|
47
|
+
processes: ProcessSaveDraftReport | null;
|
|
48
|
+
lifecyclemodels: LifecyclemodelSaveDraftReport | null;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export type RunDatasetReferencesRewriteOptions = {
|
|
52
|
+
inputPath: string;
|
|
53
|
+
outDir: string;
|
|
54
|
+
from: string;
|
|
55
|
+
to: string;
|
|
56
|
+
types?: string[] | null;
|
|
57
|
+
scope?: string | null;
|
|
58
|
+
commit?: boolean | null;
|
|
59
|
+
rawInput?: unknown;
|
|
60
|
+
env?: NodeJS.ProcessEnv;
|
|
61
|
+
fetchImpl?: FetchLike;
|
|
62
|
+
now?: Date;
|
|
63
|
+
runProcessSaveDraftImpl?: typeof runProcessSaveDraft;
|
|
64
|
+
runLifecyclemodelSaveDraftImpl?: typeof runLifecyclemodelSaveDraft;
|
|
65
|
+
};
|
|
66
|
+
declare function parseReference(value: string, label: string): ParsedReference;
|
|
67
|
+
declare function normalizeTypes(values: string[] | null | undefined): DatasetKind[];
|
|
68
|
+
declare function rewriteProcessReferences(value: unknown, from: ParsedReference, to: ParsedReference, pathPrefix: string, change: (path: string, field: '@refObjectId' | '@version', before: string | null, after: string | null) => void): void;
|
|
69
|
+
declare function rewriteLifecyclemodelReferences(value: unknown, from: ParsedReference, to: ParsedReference, pathPrefix: string, change: (path: string, field: '@flowUUID', before: string | null, after: string | null) => void): void;
|
|
70
|
+
export declare function runDatasetReferencesRewrite(options: RunDatasetReferencesRewriteOptions): Promise<DatasetReferencesRewriteReport>;
|
|
71
|
+
export declare const __testInternals: {
|
|
72
|
+
normalizeTypes: typeof normalizeTypes;
|
|
73
|
+
parseReference: typeof parseReference;
|
|
74
|
+
rewriteLifecyclemodelReferences: typeof rewriteLifecyclemodelReferences;
|
|
75
|
+
rewriteProcessReferences: typeof rewriteProcessReferences;
|
|
76
|
+
};
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { FetchLike } from './http.js';
|
|
2
|
+
import { type JsonObject } from './dataset-local.js';
|
|
3
|
+
import { type DatasetRemoteVerificationReport, type RemoteVerificationCheck, type RunDatasetRemoteVerifyOptions } from './dataset-remote-verify.js';
|
|
4
|
+
export type DatasetRemoteRefreshPatch = {
|
|
5
|
+
row_index: number;
|
|
6
|
+
role: string;
|
|
7
|
+
table: string | null;
|
|
8
|
+
id: string | null;
|
|
9
|
+
from_version: string | null;
|
|
10
|
+
to_version: string;
|
|
11
|
+
path: string;
|
|
12
|
+
status_before: string;
|
|
13
|
+
};
|
|
14
|
+
export type DatasetRemoteRefreshReport = {
|
|
15
|
+
schema_version: 1;
|
|
16
|
+
generated_at_utc: string;
|
|
17
|
+
status: 'completed' | 'completed_with_blockers';
|
|
18
|
+
root_policy: NonNullable<RunDatasetRemoteVerifyOptions['rootPolicy']>;
|
|
19
|
+
input_path: string;
|
|
20
|
+
out_path: string;
|
|
21
|
+
out_dir: string;
|
|
22
|
+
counts: {
|
|
23
|
+
rows: number;
|
|
24
|
+
pre_refresh_blockers: number;
|
|
25
|
+
refreshable_references: number;
|
|
26
|
+
patched_references: number;
|
|
27
|
+
post_refresh_blockers: number;
|
|
28
|
+
};
|
|
29
|
+
remaining_blockers: DatasetRemoteVerificationReport['blockers'];
|
|
30
|
+
files: {
|
|
31
|
+
output_rows: string;
|
|
32
|
+
report: string;
|
|
33
|
+
patches: string;
|
|
34
|
+
pre_verification_report: string;
|
|
35
|
+
post_verification_report: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export type RunDatasetRemoteRefreshOptions = {
|
|
39
|
+
inputPath: string;
|
|
40
|
+
outPath: string;
|
|
41
|
+
outDir: string;
|
|
42
|
+
rawInput?: unknown;
|
|
43
|
+
env?: NodeJS.ProcessEnv;
|
|
44
|
+
fetchImpl?: FetchLike;
|
|
45
|
+
timeoutMs?: number;
|
|
46
|
+
now?: Date;
|
|
47
|
+
rootPolicy?: RunDatasetRemoteVerifyOptions['rootPolicy'];
|
|
48
|
+
runDatasetRemoteVerifyImpl?: (options: RunDatasetRemoteVerifyOptions) => Promise<DatasetRemoteVerificationReport>;
|
|
49
|
+
};
|
|
50
|
+
declare function pointerSegments(pointerPath: string): string[];
|
|
51
|
+
declare function valueAtPointer(root: unknown, pointerPath: string): unknown;
|
|
52
|
+
declare function refreshableCheck(check: RemoteVerificationCheck): boolean;
|
|
53
|
+
declare function applyRemoteRefreshPatches(rows: JsonObject[], checks: RemoteVerificationCheck[]): {
|
|
54
|
+
rows: JsonObject[];
|
|
55
|
+
patches: DatasetRemoteRefreshPatch[];
|
|
56
|
+
};
|
|
57
|
+
export declare function runDatasetRemoteRefresh(options: RunDatasetRemoteRefreshOptions): Promise<DatasetRemoteRefreshReport>;
|
|
58
|
+
export declare const __testInternals: {
|
|
59
|
+
applyRemoteRefreshPatches: typeof applyRemoteRefreshPatches;
|
|
60
|
+
pointerSegments: typeof pointerSegments;
|
|
61
|
+
refreshableCheck: typeof refreshableCheck;
|
|
62
|
+
valueAtPointer: typeof valueAtPointer;
|
|
63
|
+
};
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import type { FetchLike } from './http.js';
|
|
2
|
+
import { type SupabaseDataRuntime } from './supabase-client.js';
|
|
3
|
+
import { type JsonObject } from './dataset-local.js';
|
|
4
|
+
export type RemoteDatasetTable = 'contacts' | 'flowproperties' | 'flows' | 'lciamethods' | 'lifecyclemodels' | 'processes' | 'sources' | 'unitgroups';
|
|
5
|
+
export type RemoteVerificationReferenceRole = 'root' | 'reference';
|
|
6
|
+
export type RemoteVerificationRootPolicy = 'existing' | 'candidate';
|
|
7
|
+
export type RemoteVerificationStatus = 'ok' | 'lookup_failed' | 'missing_dataset' | 'missing_version' | 'unsupported_type' | 'version_missing' | 'version_outdated';
|
|
8
|
+
export type RemoteVerificationIssueCode = RemoteVerificationStatus | 'owner_mismatch' | 'payload_mismatch' | 'remote_payload_missing' | 'state_code_mismatch';
|
|
9
|
+
export type RemoteDatasetReference = {
|
|
10
|
+
row_index: number;
|
|
11
|
+
role: RemoteVerificationReferenceRole;
|
|
12
|
+
table: RemoteDatasetTable | null;
|
|
13
|
+
type: string | null;
|
|
14
|
+
id: string | null;
|
|
15
|
+
version: string | null;
|
|
16
|
+
path: string;
|
|
17
|
+
short_description: string | null;
|
|
18
|
+
};
|
|
19
|
+
export type RemoteDatasetLookupRow = {
|
|
20
|
+
id: string;
|
|
21
|
+
version: string | null;
|
|
22
|
+
};
|
|
23
|
+
export type RemoteDatasetLookup = {
|
|
24
|
+
exact: RemoteDatasetLookupRow | null;
|
|
25
|
+
latest: RemoteDatasetLookupRow | null;
|
|
26
|
+
exact_source_url: string | null;
|
|
27
|
+
latest_source_url: string | null;
|
|
28
|
+
};
|
|
29
|
+
export type RemoteDatasetPayloadLookup = {
|
|
30
|
+
id: string;
|
|
31
|
+
version: string | null;
|
|
32
|
+
user_id: string | null;
|
|
33
|
+
state_code: number | null;
|
|
34
|
+
modified_at: string | null;
|
|
35
|
+
payload: JsonObject | null;
|
|
36
|
+
source_url: string | null;
|
|
37
|
+
};
|
|
38
|
+
export type RemoteDatasetLookupRequest = {
|
|
39
|
+
table: RemoteDatasetTable;
|
|
40
|
+
id: string;
|
|
41
|
+
version: string | null;
|
|
42
|
+
};
|
|
43
|
+
export type RemoteVerificationCheck = {
|
|
44
|
+
row_index: number;
|
|
45
|
+
role: RemoteVerificationReferenceRole;
|
|
46
|
+
table: RemoteDatasetTable | null;
|
|
47
|
+
type: string | null;
|
|
48
|
+
id: string | null;
|
|
49
|
+
version: string | null;
|
|
50
|
+
path: string;
|
|
51
|
+
short_description: string | null;
|
|
52
|
+
status: RemoteVerificationIssueCode;
|
|
53
|
+
exact_version: string | null;
|
|
54
|
+
latest_version: string | null;
|
|
55
|
+
exact_source_url: string | null;
|
|
56
|
+
latest_source_url: string | null;
|
|
57
|
+
message: string;
|
|
58
|
+
remote_user_id?: string | null;
|
|
59
|
+
remote_state_code?: number | null;
|
|
60
|
+
remote_modified_at?: string | null;
|
|
61
|
+
local_payload_sha256?: string | null;
|
|
62
|
+
remote_payload_sha256?: string | null;
|
|
63
|
+
};
|
|
64
|
+
export type RemoteVerificationBlocker = {
|
|
65
|
+
code: RemoteVerificationIssueCode;
|
|
66
|
+
severity: 'error';
|
|
67
|
+
message: string;
|
|
68
|
+
row_index: number;
|
|
69
|
+
role: RemoteVerificationReferenceRole;
|
|
70
|
+
table: RemoteDatasetTable | null;
|
|
71
|
+
id: string | null;
|
|
72
|
+
version: string | null;
|
|
73
|
+
latest_version: string | null;
|
|
74
|
+
path: string;
|
|
75
|
+
};
|
|
76
|
+
export type DatasetRemoteVerificationReport = {
|
|
77
|
+
schema_version: 1;
|
|
78
|
+
generated_at_utc: string;
|
|
79
|
+
status: 'passed_remote_verification' | 'blocked_remote_verification';
|
|
80
|
+
root_policy: RemoteVerificationRootPolicy;
|
|
81
|
+
input_path: string;
|
|
82
|
+
out_dir: string;
|
|
83
|
+
counts: {
|
|
84
|
+
rows: number;
|
|
85
|
+
references: number;
|
|
86
|
+
checked: number;
|
|
87
|
+
blockers: number;
|
|
88
|
+
root_readback_checks?: number;
|
|
89
|
+
root_payload_mismatches?: number;
|
|
90
|
+
by_status: Record<string, number>;
|
|
91
|
+
by_table: Record<RemoteDatasetTable, number>;
|
|
92
|
+
};
|
|
93
|
+
blockers: RemoteVerificationBlocker[];
|
|
94
|
+
files: {
|
|
95
|
+
report: string;
|
|
96
|
+
checks: string;
|
|
97
|
+
blockers: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export type RunDatasetRemoteVerifyOptions = {
|
|
101
|
+
inputPath: string;
|
|
102
|
+
outDir: string;
|
|
103
|
+
rootPolicy?: RemoteVerificationRootPolicy;
|
|
104
|
+
compareRootPayload?: boolean;
|
|
105
|
+
targetUserId?: string | null;
|
|
106
|
+
stateCode?: number | null;
|
|
107
|
+
rawInput?: unknown;
|
|
108
|
+
env?: NodeJS.ProcessEnv;
|
|
109
|
+
fetchImpl?: FetchLike;
|
|
110
|
+
timeoutMs?: number;
|
|
111
|
+
now?: Date;
|
|
112
|
+
lookupDatasetImpl?: (request: RemoteDatasetLookupRequest) => Promise<RemoteDatasetLookup>;
|
|
113
|
+
lookupRootPayloadImpl?: (request: RemoteDatasetLookupRequest) => Promise<RemoteDatasetPayloadLookup | null>;
|
|
114
|
+
};
|
|
115
|
+
declare function tableFromType(value: string | null): RemoteDatasetTable | null;
|
|
116
|
+
declare function tableFromPath(pathExpression: string): RemoteDatasetTable | null;
|
|
117
|
+
declare function shortDescription(value: unknown): string | null;
|
|
118
|
+
declare function isFoundryTracePath(pathExpression: string): boolean;
|
|
119
|
+
export declare function collectRemoteReferences(rows: JsonObject[]): RemoteDatasetReference[];
|
|
120
|
+
declare function compareVersions(left: string | null, right: string | null): number;
|
|
121
|
+
declare function buildRemoteUrl(restBaseUrl: string, table: RemoteDatasetTable, id: string, version: string | null): string;
|
|
122
|
+
declare function normalizeRows(value: unknown): RemoteDatasetLookupRow[];
|
|
123
|
+
declare function sha256Json(value: unknown): string;
|
|
124
|
+
declare function buildRemotePayloadUrl(restBaseUrl: string, table: RemoteDatasetTable, id: string, version: string): string;
|
|
125
|
+
declare function normalizePayloadRow(value: unknown): RemoteDatasetPayloadLookup | null;
|
|
126
|
+
export declare function lookupRemoteDataset(options: {
|
|
127
|
+
runtime: SupabaseDataRuntime;
|
|
128
|
+
fetchImpl: FetchLike;
|
|
129
|
+
timeoutMs: number;
|
|
130
|
+
request: RemoteDatasetLookupRequest;
|
|
131
|
+
}): Promise<RemoteDatasetLookup>;
|
|
132
|
+
declare function lookupRemoteDatasetPayload(options: {
|
|
133
|
+
runtime: SupabaseDataRuntime;
|
|
134
|
+
fetchImpl: FetchLike;
|
|
135
|
+
timeoutMs: number;
|
|
136
|
+
request: RemoteDatasetLookupRequest;
|
|
137
|
+
}): Promise<RemoteDatasetPayloadLookup | null>;
|
|
138
|
+
declare function makeRootReadbackCheck(reference: RemoteDatasetReference, status: RemoteVerificationIssueCode, message: string, remote: RemoteDatasetPayloadLookup | null, hashes?: {
|
|
139
|
+
local: string | null;
|
|
140
|
+
remote: string | null;
|
|
141
|
+
}): RemoteVerificationCheck;
|
|
142
|
+
declare function rootReadbackChecks(options: {
|
|
143
|
+
reference: RemoteDatasetReference;
|
|
144
|
+
localPayload: JsonObject;
|
|
145
|
+
remote: RemoteDatasetPayloadLookup | null;
|
|
146
|
+
compareRootPayload: boolean;
|
|
147
|
+
targetUserId: string | null;
|
|
148
|
+
stateCode: number | null;
|
|
149
|
+
}): RemoteVerificationCheck[];
|
|
150
|
+
export declare function runDatasetRemoteVerify(options: RunDatasetRemoteVerifyOptions): Promise<DatasetRemoteVerificationReport>;
|
|
151
|
+
export declare const __testInternals: {
|
|
152
|
+
buildRemotePayloadUrl: typeof buildRemotePayloadUrl;
|
|
153
|
+
buildRemoteUrl: typeof buildRemoteUrl;
|
|
154
|
+
collectRemoteReferences: typeof collectRemoteReferences;
|
|
155
|
+
compareVersions: typeof compareVersions;
|
|
156
|
+
isFoundryTracePath: typeof isFoundryTracePath;
|
|
157
|
+
lookupRemoteDatasetPayload: typeof lookupRemoteDatasetPayload;
|
|
158
|
+
lookupRemoteDataset: typeof lookupRemoteDataset;
|
|
159
|
+
makeRootReadbackCheck: typeof makeRootReadbackCheck;
|
|
160
|
+
normalizePayloadRow: typeof normalizePayloadRow;
|
|
161
|
+
normalizeRows: typeof normalizeRows;
|
|
162
|
+
rootReadbackChecks: typeof rootReadbackChecks;
|
|
163
|
+
sha256Json: typeof sha256Json;
|
|
164
|
+
shortDescription: typeof shortDescription;
|
|
165
|
+
tableFromPath: typeof tableFromPath;
|
|
166
|
+
tableFromType: typeof tableFromType;
|
|
167
|
+
};
|
|
168
|
+
export {};
|