@hasna/projects
Version:
High-level project management CLI, MCP server, SDK, and AI SDK agent loop for coding agents
45 lines • 2 kB
TypeScript
/**
* The root package's runtime re-exports of the shared project-resource-link
* zod schemas.
*
* The VALUES are literally the @hasna/contracts schema objects (see
* `client-types.test.ts`, which asserts identity) — only the published TYPE
* annotation is local. The root `index.ts` must not re-export them straight
* from `@hasna/contracts/schemas`: that would put a `@hasna/contracts` import
* into the emitted `dist/index.d.ts` and break every strict `nodenext`
* consumer (`TS2835` in contracts' own distribution, hasna/apps#1782). The
* annotation here re-states each schema's output type through the structural
* spellings in `./client-types.js`, which the conformance suite pins to the
* real contracts declarations in both directions.
*
* Runtime note: the zod imports below are type-only positions; the contract
* schema objects themselves are the values. zod stays a plain dependency.
*/
import { z } from "zod";
import type { ProjectResourceLink, ProjectResourceLinkCollectionV1, ProjectResourceLinkInput, ProjectResourceLinkLabels, ProjectResourceLinkLocator } from "./client-types.js";
export declare const ProjectResourceAuthoritySchema: z.ZodEnum<[
"todos",
"conversations",
"knowledge",
"mementos",
"orgs",
"contacts",
"files"
]>;
export declare const ProjectResourceTargetKindSchema: z.ZodEnum<[
"contact",
"org",
"project",
"task",
"task_list",
"plan",
"channel",
"collection",
"item"
]>;
export declare const ProjectResourceLinkLabelsSchema: z.ZodType<ProjectResourceLinkLabels>;
export declare const ProjectResourceLinkLocatorSchema: z.ZodType<ProjectResourceLinkLocator>;
export declare const ProjectResourceLinkInputSchema: z.ZodType<ProjectResourceLinkInput>;
export declare const ProjectResourceLinkSchema: z.ZodType<ProjectResourceLink>;
export declare const ProjectResourceLinkCollectionV1Schema: z.ZodType<ProjectResourceLinkCollectionV1>;
//# sourceMappingURL=project-resource-schemas.d.ts.map