@arizeai/phoenix-client
Version:
A client for the Phoenix API
19 lines • 588 B
TypeScript
/**
* Identifies a project. Accepts any of:
* - `project` — a project ID or name (the server accepts either)
* - `projectId` — an explicit project ID
* - `projectName` — an explicit project name
*/
export type ProjectIdentifier = {
project: string;
} | {
projectId: string;
} | {
projectName: string;
};
/**
* Resolves a {@link ProjectIdentifier} union to a plain string
* suitable for the REST `project_identifier` path parameter.
*/
export declare function resolveProjectIdentifier(identifier: ProjectIdentifier): string;
//# sourceMappingURL=projects.d.ts.map