authoringNavigationListResultSchema
@gooi/language-server / contracts/navigation-results / authoringNavigationListResultSchema
Function: authoringNavigationListResultSchema()
authoringNavigationListResultSchema<
TSchema>(itemSchema):ZodObject<{items:ZodArray<TSchema>;parity:ZodObject<{issues:ZodArray<ZodObject<{code:ZodEnum<{artifact_mismatch_error:"artifact_mismatch_error";catalog_mismatch_error:"catalog_mismatch_error"; }>;message:ZodString;path:ZodString;staleArtifacts:ZodLiteral<true>; },$strip>>;lockfileHash:ZodString;status:ZodEnum<{matched:"matched";mismatch:"mismatch"; }>; },$strip>; },$strip>
Defined in: authoring/language-server/src/contracts/navigation-results.ts:13
Generic read-path list result wrapper.
Type Parameters
| Type Parameter |
|---|
TSchema extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> |
Parameters
| Parameter | Type |
|---|---|
itemSchema | TSchema |
Returns
ZodObject<{ items: ZodArray<TSchema>; parity: ZodObject<{ issues: ZodArray<ZodObject<{ code: ZodEnum<{ artifact_mismatch_error: "artifact_mismatch_error"; catalog_mismatch_error: "catalog_mismatch_error"; }>; message: ZodString; path: ZodString; staleArtifacts: ZodLiteral<true>; }, $strip>>; lockfileHash: ZodString; status: ZodEnum<{ matched: "matched"; mismatch: "mismatch"; }>; }, $strip>; }, $strip>