@lace-cloud/canvas 0.32.1 → 0.33.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/{chunk-J5BZ7EOQ.mjs → chunk-45HRNFCU.mjs} +224 -188
- package/dist/{chunk-J5BZ7EOQ.mjs.map → chunk-45HRNFCU.mjs.map} +1 -1
- package/dist/engine/index.cjs +223 -187
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +2 -2
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.mjs +1 -1
- package/dist/index.cjs +223 -187
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{registry-BLwYarIE.d.mts → registry-C-aNjCYV.d.mts} +21 -16
- package/dist/{registry-BLwYarIE.d.ts → registry-C-aNjCYV.d.ts} +21 -16
- package/package.json +10 -5
package/dist/engine/index.cjs
CHANGED
|
@@ -12483,6 +12483,9 @@ function completeArgs(path, partial) {
|
|
|
12483
12483
|
|
|
12484
12484
|
// src/contracts/schemas.ts
|
|
12485
12485
|
var import_zod = require("zod");
|
|
12486
|
+
function reads() {
|
|
12487
|
+
return (schema) => schema;
|
|
12488
|
+
}
|
|
12486
12489
|
var REASON_PREFIX = "REASON_";
|
|
12487
12490
|
function reasonWire(reason) {
|
|
12488
12491
|
return reasonToJSON(reason).slice(REASON_PREFIX.length).toLowerCase();
|
|
@@ -12531,10 +12534,11 @@ var commandDiagnosticSchema = import_zod.z.object({
|
|
|
12531
12534
|
line: import_zod.z.number().optional(),
|
|
12532
12535
|
column: import_zod.z.number().optional()
|
|
12533
12536
|
});
|
|
12537
|
+
var VERDICTS = ["already-lace-style", "convertible", "uncomposable", "lossy"];
|
|
12534
12538
|
var moduleValidateResultSchema = import_zod.z.object({
|
|
12535
12539
|
root: import_zod.z.string().min(1).optional(),
|
|
12536
12540
|
treeHash: import_zod.z.string().min(1).optional(),
|
|
12537
|
-
verdict: import_zod.z.enum(
|
|
12541
|
+
verdict: import_zod.z.enum(VERDICTS).optional(),
|
|
12538
12542
|
residuals: import_zod.z.array(
|
|
12539
12543
|
import_zod.z.object({
|
|
12540
12544
|
construct: import_zod.z.string(),
|
|
@@ -12668,7 +12672,7 @@ var registryDescribeSchema = import_zod.z.object({
|
|
|
12668
12672
|
version: import_zod.z.string(),
|
|
12669
12673
|
source: import_zod.z.string(),
|
|
12670
12674
|
treeHash: import_zod.z.string(),
|
|
12671
|
-
verdict: import_zod.z.
|
|
12675
|
+
verdict: import_zod.z.enum(VERDICTS),
|
|
12672
12676
|
interface: import_zod.z.object({
|
|
12673
12677
|
inputs: import_zod.z.array(
|
|
12674
12678
|
import_zod.z.object({
|
|
@@ -12692,39 +12696,41 @@ var stackSourceSchema = import_zod.z.object({
|
|
|
12692
12696
|
ref: import_zod.z.string().optional(),
|
|
12693
12697
|
path: import_zod.z.string().optional()
|
|
12694
12698
|
});
|
|
12695
|
-
var stackSchema =
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
|
|
12705
|
-
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
|
|
12716
|
-
|
|
12717
|
-
|
|
12718
|
-
|
|
12719
|
-
|
|
12720
|
-
|
|
12721
|
-
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
12726
|
-
|
|
12727
|
-
})
|
|
12699
|
+
var stackSchema = reads()(
|
|
12700
|
+
import_zod.z.object({
|
|
12701
|
+
id: import_zod.z.string(),
|
|
12702
|
+
orgId: import_zod.z.string(),
|
|
12703
|
+
teamId: import_zod.z.string(),
|
|
12704
|
+
connectionId: import_zod.z.string(),
|
|
12705
|
+
slug: import_zod.z.string(),
|
|
12706
|
+
name: import_zod.z.string(),
|
|
12707
|
+
description: import_zod.z.string().nullable(),
|
|
12708
|
+
source: stackSourceSchema.nullable(),
|
|
12709
|
+
stateSerial: import_zod.z.number(),
|
|
12710
|
+
stateLineage: import_zod.z.string().nullable(),
|
|
12711
|
+
stateVersion: import_zod.z.number().nullable(),
|
|
12712
|
+
stateLastWrittenAt: import_zod.z.string().nullable(),
|
|
12713
|
+
lastAppliedRunId: import_zod.z.string().nullable(),
|
|
12714
|
+
lastDriftScanAt: import_zod.z.string().nullable(),
|
|
12715
|
+
lastDriftStatus: import_zod.z.string().nullable(),
|
|
12716
|
+
lastDriftCount: import_zod.z.number(),
|
|
12717
|
+
lastDriftStale: import_zod.z.boolean(),
|
|
12718
|
+
lastDriftConfirmedAt: import_zod.z.string().nullable(),
|
|
12719
|
+
lastDriftUndeterminedReason: import_zod.z.string().nullable(),
|
|
12720
|
+
createdBy: import_zod.z.string(),
|
|
12721
|
+
createdAt: import_zod.z.string(),
|
|
12722
|
+
updatedAt: import_zod.z.string(),
|
|
12723
|
+
archivedAt: import_zod.z.string().nullable(),
|
|
12724
|
+
connection: import_zod.z.object({ name: import_zod.z.string(), provider: import_zod.z.string(), awsAccountId: import_zod.z.string().nullable() }).nullable(),
|
|
12725
|
+
createdByName: import_zod.z.string().nullable(),
|
|
12726
|
+
lastApply: import_zod.z.object({
|
|
12727
|
+
runId: import_zod.z.string(),
|
|
12728
|
+
bundleSnapshotId: import_zod.z.string(),
|
|
12729
|
+
completedAt: import_zod.z.string().nullable(),
|
|
12730
|
+
initiatedByName: import_zod.z.string().nullable()
|
|
12731
|
+
}).nullable()
|
|
12732
|
+
})
|
|
12733
|
+
);
|
|
12728
12734
|
var stackListSchema = import_zod.z.object({
|
|
12729
12735
|
items: import_zod.z.array(stackSchema),
|
|
12730
12736
|
nextCursor: import_zod.z.string().nullable(),
|
|
@@ -12737,29 +12743,39 @@ var driftedResourceSchema = import_zod.z.object({
|
|
|
12737
12743
|
details: import_zod.z.string().optional(),
|
|
12738
12744
|
goldenAttributes: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()),
|
|
12739
12745
|
liveProperties: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()),
|
|
12740
|
-
diff: import_zod.z.array(
|
|
12746
|
+
diff: import_zod.z.array(
|
|
12747
|
+
import_zod.z.object({
|
|
12748
|
+
path: import_zod.z.string(),
|
|
12749
|
+
declared: import_zod.z.unknown().optional(),
|
|
12750
|
+
detected: import_zod.z.unknown().optional()
|
|
12751
|
+
})
|
|
12752
|
+
),
|
|
12741
12753
|
findingId: import_zod.z.string().nullable()
|
|
12742
12754
|
});
|
|
12743
|
-
var driftSchema =
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
|
|
12751
|
-
|
|
12752
|
-
|
|
12753
|
-
|
|
12754
|
-
|
|
12755
|
-
|
|
12756
|
-
|
|
12757
|
-
|
|
12758
|
-
|
|
12759
|
-
|
|
12760
|
-
|
|
12761
|
-
|
|
12762
|
-
})
|
|
12755
|
+
var driftSchema = reads()(
|
|
12756
|
+
import_zod.z.object({
|
|
12757
|
+
stackId: import_zod.z.string(),
|
|
12758
|
+
scannedAt: import_zod.z.string(),
|
|
12759
|
+
driftStatus: import_zod.z.literal("DRIFTED"),
|
|
12760
|
+
totalResources: import_zod.z.number(),
|
|
12761
|
+
stateSerial: import_zod.z.number(),
|
|
12762
|
+
driftedResources: import_zod.z.array(driftedResourceSchema)
|
|
12763
|
+
}).nullable()
|
|
12764
|
+
);
|
|
12765
|
+
var stackDescribeSchema = reads()(
|
|
12766
|
+
import_zod.z.object({
|
|
12767
|
+
stack: stackSchema.nullable(),
|
|
12768
|
+
state: import_zod.z.object({
|
|
12769
|
+
serial: import_zod.z.number(),
|
|
12770
|
+
lineage: import_zod.z.string(),
|
|
12771
|
+
terraformVersion: import_zod.z.string(),
|
|
12772
|
+
resourceCount: import_zod.z.number(),
|
|
12773
|
+
resourcesByType: import_zod.z.record(import_zod.z.string(), import_zod.z.number()),
|
|
12774
|
+
resources: import_zod.z.array(import_zod.z.object({ address: import_zod.z.string(), type: import_zod.z.string() }))
|
|
12775
|
+
}).nullable(),
|
|
12776
|
+
drift: driftSchema
|
|
12777
|
+
})
|
|
12778
|
+
);
|
|
12763
12779
|
var policySummarySchema = import_zod.z.object({
|
|
12764
12780
|
policyId: import_zod.z.string(),
|
|
12765
12781
|
name: import_zod.z.string(),
|
|
@@ -12767,77 +12783,81 @@ var policySummarySchema = import_zod.z.object({
|
|
|
12767
12783
|
approvalMode: import_zod.z.string().nullable(),
|
|
12768
12784
|
ruleIds: import_zod.z.array(import_zod.z.string())
|
|
12769
12785
|
});
|
|
12770
|
-
var policyListSchema =
|
|
12771
|
-
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
|
|
12775
|
-
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
|
|
12779
|
-
|
|
12780
|
-
|
|
12781
|
-
|
|
12782
|
-
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12789
|
-
|
|
12790
|
-
|
|
12791
|
-
|
|
12792
|
-
|
|
12793
|
-
|
|
12794
|
-
|
|
12795
|
-
|
|
12796
|
-
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
12800
|
-
|
|
12801
|
-
|
|
12802
|
-
|
|
12803
|
-
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12812
|
-
|
|
12813
|
-
|
|
12814
|
-
|
|
12815
|
-
|
|
12816
|
-
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
|
|
12824
|
-
|
|
12825
|
-
|
|
12826
|
-
|
|
12827
|
-
|
|
12828
|
-
|
|
12829
|
-
|
|
12830
|
-
|
|
12831
|
-
|
|
12832
|
-
|
|
12833
|
-
|
|
12834
|
-
|
|
12835
|
-
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
12786
|
+
var policyListSchema = reads()(
|
|
12787
|
+
import_zod.z.object({
|
|
12788
|
+
stack: import_zod.z.string().nullable(),
|
|
12789
|
+
policies: import_zod.z.array(policySummarySchema)
|
|
12790
|
+
})
|
|
12791
|
+
);
|
|
12792
|
+
var runSchema = reads()(
|
|
12793
|
+
import_zod.z.object({
|
|
12794
|
+
id: import_zod.z.string(),
|
|
12795
|
+
stackId: import_zod.z.string(),
|
|
12796
|
+
orgId: import_zod.z.string(),
|
|
12797
|
+
teamId: import_zod.z.string(),
|
|
12798
|
+
kind: import_zod.z.string(),
|
|
12799
|
+
status: import_zod.z.string(),
|
|
12800
|
+
initiatedByUserId: import_zod.z.string().nullable(),
|
|
12801
|
+
initiatedVia: import_zod.z.string(),
|
|
12802
|
+
runnerIdentity: import_zod.z.string().nullable(),
|
|
12803
|
+
runnerLocation: import_zod.z.string().nullable(),
|
|
12804
|
+
bundleSnapshotId: import_zod.z.string().nullable(),
|
|
12805
|
+
sourceCommitSha: import_zod.z.string().nullable(),
|
|
12806
|
+
sourceRef: import_zod.z.string().nullable(),
|
|
12807
|
+
sourcePrUrl: import_zod.z.string().nullable(),
|
|
12808
|
+
sourceOverride: import_zod.z.boolean(),
|
|
12809
|
+
planResourceAdd: import_zod.z.number().nullable(),
|
|
12810
|
+
planResourceChange: import_zod.z.number().nullable(),
|
|
12811
|
+
planResourceDestroy: import_zod.z.number().nullable(),
|
|
12812
|
+
planLocation: import_zod.z.string().nullable(),
|
|
12813
|
+
planHumanLocation: import_zod.z.string().nullable(),
|
|
12814
|
+
applyLogLocation: import_zod.z.string().nullable(),
|
|
12815
|
+
policyResultsLocation: import_zod.z.string().nullable(),
|
|
12816
|
+
policyPassed: import_zod.z.boolean().nullable(),
|
|
12817
|
+
policyResolution: import_zod.z.unknown().nullable(),
|
|
12818
|
+
changeRequestId: import_zod.z.string().nullable(),
|
|
12819
|
+
cancelReason: import_zod.z.string().nullable(),
|
|
12820
|
+
startedAt: import_zod.z.string().nullable(),
|
|
12821
|
+
completedAt: import_zod.z.string().nullable(),
|
|
12822
|
+
errorMessage: import_zod.z.string().nullable(),
|
|
12823
|
+
sourceTreeHash: import_zod.z.string().nullable(),
|
|
12824
|
+
attestationStatus: import_zod.z.string().nullable(),
|
|
12825
|
+
attestedAt: import_zod.z.string().nullable(),
|
|
12826
|
+
attestation: import_zod.z.string().nullable(),
|
|
12827
|
+
createdAt: import_zod.z.string(),
|
|
12828
|
+
updatedAt: import_zod.z.string(),
|
|
12829
|
+
// The run's page in the portal. The CLI builds it on every Run it prints
|
|
12830
|
+
// (apps/cli/internal/kernel/api/runs.go, from the configured base URL and the
|
|
12831
|
+
// selected organization and team); the API's own record carries none, so
|
|
12832
|
+
// a portal mount reading the API body sees it absent — optional so both
|
|
12833
|
+
// bodies parse. A host opens this link and never composes a portal route.
|
|
12834
|
+
url: import_zod.z.string().optional(),
|
|
12835
|
+
// The provider versions the Run's lockfile pins, each with the
|
|
12836
|
+
// organization's admission it ran under when the version is one admitted
|
|
12837
|
+
// outside the curated range. A single-run read carries it; a list does
|
|
12838
|
+
// not, and the CLI omits an empty one.
|
|
12839
|
+
providers: import_zod.z.array(
|
|
12840
|
+
import_zod.z.object({
|
|
12841
|
+
address: import_zod.z.string(),
|
|
12842
|
+
version: import_zod.z.string(),
|
|
12843
|
+
admission: import_zod.z.object({
|
|
12844
|
+
id: import_zod.z.string(),
|
|
12845
|
+
admittedBy: import_zod.z.string(),
|
|
12846
|
+
admittedByName: import_zod.z.string().nullable(),
|
|
12847
|
+
admittedAt: import_zod.z.string()
|
|
12848
|
+
}).optional()
|
|
12849
|
+
})
|
|
12850
|
+
).optional(),
|
|
12851
|
+
// The CLI's own `api.Run` decode struct (apps/cli/internal/kernel/api/runs.go) has no
|
|
12852
|
+
// json tag for these, so every CLI JSON golden omits them; the API always sends
|
|
12853
|
+
// them (apps/api/src/verticals/runs/routes/schemas/runs.ts) — optional so both bodies parse.
|
|
12854
|
+
keepStack: import_zod.z.boolean().optional(),
|
|
12855
|
+
version: import_zod.z.number().optional(),
|
|
12856
|
+
lastHeartbeatAt: import_zod.z.string().nullable().optional(),
|
|
12857
|
+
initiatedByName: import_zod.z.string().nullable().optional(),
|
|
12858
|
+
stackName: import_zod.z.string().nullable().optional()
|
|
12859
|
+
})
|
|
12860
|
+
);
|
|
12841
12861
|
var runListSchema = import_zod.z.object({
|
|
12842
12862
|
items: import_zod.z.array(runSchema),
|
|
12843
12863
|
nextCursor: import_zod.z.string().nullable(),
|
|
@@ -12888,27 +12908,29 @@ var stackPreviewSchema = import_zod.z.object({
|
|
|
12888
12908
|
stack: stackIdentSchema,
|
|
12889
12909
|
treeHash: import_zod.z.string(),
|
|
12890
12910
|
plan: import_zod.z.object({ summary: planSummarySchema, human: import_zod.z.string() }),
|
|
12891
|
-
policy:
|
|
12892
|
-
|
|
12893
|
-
|
|
12894
|
-
|
|
12895
|
-
|
|
12896
|
-
|
|
12897
|
-
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
import_zod.z.
|
|
12901
|
-
|
|
12902
|
-
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
12907
|
-
|
|
12908
|
-
|
|
12909
|
-
|
|
12910
|
-
|
|
12911
|
-
|
|
12911
|
+
policy: reads()(
|
|
12912
|
+
import_zod.z.object({
|
|
12913
|
+
mode: import_zod.z.string(),
|
|
12914
|
+
policyId: import_zod.z.string(),
|
|
12915
|
+
ruleId: import_zod.z.string(),
|
|
12916
|
+
rulesFired: import_zod.z.array(import_zod.z.string()),
|
|
12917
|
+
reason: import_zod.z.string(),
|
|
12918
|
+
approvalMode: import_zod.z.string().nullable(),
|
|
12919
|
+
isAuthoringTimePreview: import_zod.z.boolean(),
|
|
12920
|
+
bindings: import_zod.z.array(
|
|
12921
|
+
import_zod.z.object({
|
|
12922
|
+
policyId: import_zod.z.string(),
|
|
12923
|
+
name: import_zod.z.string(),
|
|
12924
|
+
handler: import_zod.z.string(),
|
|
12925
|
+
mode: import_zod.z.string(),
|
|
12926
|
+
decision: import_zod.z.string(),
|
|
12927
|
+
reason: import_zod.z.string(),
|
|
12928
|
+
rulesFired: import_zod.z.array(import_zod.z.string()),
|
|
12929
|
+
approvalMode: import_zod.z.string().nullable()
|
|
12930
|
+
})
|
|
12931
|
+
)
|
|
12932
|
+
}).nullable()
|
|
12933
|
+
),
|
|
12912
12934
|
// What the Preview shows of the Agents bound at it: the curated queue of
|
|
12913
12935
|
// their Advisories about this tree, how many were recorded under the
|
|
12914
12936
|
// Preview's floor, how many bound Agents have not answered, and how many
|
|
@@ -12986,54 +13008,68 @@ var moduleImportSchema = moduleConvertResultSchema.extend({
|
|
|
12986
13008
|
importResiduals: import_zod.z.array(importResidualSchema)
|
|
12987
13009
|
});
|
|
12988
13010
|
var artifactRefSchema = import_zod.z.object({ url: import_zod.z.string(), key: import_zod.z.string() });
|
|
12989
|
-
var runPlanSchema =
|
|
12990
|
-
|
|
12991
|
-
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
|
|
13011
|
+
var runPlanSchema = reads()(
|
|
13012
|
+
import_zod.z.object({
|
|
13013
|
+
runId: import_zod.z.string(),
|
|
13014
|
+
status: import_zod.z.string().nullable(),
|
|
13015
|
+
// The counts the Run recorded, each null for a Run whose plan has none.
|
|
13016
|
+
summary: import_zod.z.object({
|
|
13017
|
+
resourceAdd: import_zod.z.number().nullable(),
|
|
13018
|
+
resourceChange: import_zod.z.number().nullable(),
|
|
13019
|
+
resourceDestroy: import_zod.z.number().nullable()
|
|
13020
|
+
}).nullable(),
|
|
13021
|
+
planHuman: artifactRefSchema.nullable()
|
|
13022
|
+
})
|
|
13023
|
+
);
|
|
12995
13024
|
var runLogsEventSchema = import_zod.z.discriminatedUnion("type", [
|
|
12996
13025
|
import_zod.z.object({ type: import_zod.z.literal("log"), text: import_zod.z.string() }),
|
|
12997
13026
|
import_zod.z.object({ type: import_zod.z.literal("result"), status: import_zod.z.string().nullable() })
|
|
12998
13027
|
]);
|
|
12999
|
-
var whoamiSchema =
|
|
13000
|
-
|
|
13001
|
-
|
|
13002
|
-
|
|
13028
|
+
var whoamiSchema = reads()(
|
|
13029
|
+
import_zod.z.object({
|
|
13030
|
+
organization: import_zod.z.string().nullable(),
|
|
13031
|
+
// A machine credential's principal names no person.
|
|
13032
|
+
user: import_zod.z.object({ email: import_zod.z.string(), id: import_zod.z.string(), name: import_zod.z.string() }).optional()
|
|
13033
|
+
})
|
|
13034
|
+
);
|
|
13003
13035
|
var orgListSchema = import_zod.z.object({
|
|
13004
13036
|
items: import_zod.z.array(import_zod.z.object({ slug: import_zod.z.string(), name: import_zod.z.string(), role: import_zod.z.string() }))
|
|
13005
13037
|
});
|
|
13006
|
-
var teamListSchema =
|
|
13007
|
-
|
|
13008
|
-
import_zod.z.
|
|
13009
|
-
|
|
13010
|
-
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13038
|
+
var teamListSchema = reads()(
|
|
13039
|
+
import_zod.z.object({
|
|
13040
|
+
items: import_zod.z.array(
|
|
13041
|
+
import_zod.z.object({
|
|
13042
|
+
id: import_zod.z.string(),
|
|
13043
|
+
orgId: import_zod.z.string(),
|
|
13044
|
+
name: import_zod.z.string(),
|
|
13045
|
+
slug: import_zod.z.string(),
|
|
13046
|
+
description: import_zod.z.string().nullish(),
|
|
13047
|
+
createdBy: import_zod.z.string(),
|
|
13048
|
+
createdAt: import_zod.z.string(),
|
|
13049
|
+
updatedAt: import_zod.z.string(),
|
|
13050
|
+
role: import_zod.z.string().optional(),
|
|
13051
|
+
memberCount: import_zod.z.number().optional()
|
|
13052
|
+
})
|
|
13053
|
+
),
|
|
13054
|
+
nextCursor: import_zod.z.string().nullable(),
|
|
13055
|
+
hasMore: import_zod.z.boolean(),
|
|
13056
|
+
createUrl: import_zod.z.string()
|
|
13057
|
+
})
|
|
13058
|
+
);
|
|
13025
13059
|
var connectionListSchema = import_zod.z.object({
|
|
13026
13060
|
items: import_zod.z.array(
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
|
|
13036
|
-
|
|
13061
|
+
reads()(
|
|
13062
|
+
import_zod.z.object({
|
|
13063
|
+
id: import_zod.z.string(),
|
|
13064
|
+
name: import_zod.z.string(),
|
|
13065
|
+
provider_type: import_zod.z.string(),
|
|
13066
|
+
status: import_zod.z.string(),
|
|
13067
|
+
status_reason: import_zod.z.string().nullable(),
|
|
13068
|
+
created_at: import_zod.z.string(),
|
|
13069
|
+
updated_at: import_zod.z.string(),
|
|
13070
|
+
metadata: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown())
|
|
13071
|
+
})
|
|
13072
|
+
)
|
|
13037
13073
|
),
|
|
13038
13074
|
createUrl: import_zod.z.string()
|
|
13039
13075
|
});
|