@manta-eu/client/shared/workspace-artifacts
Reference for @manta-eu/client/shared/workspace-artifacts as it is on main.
Type Aliases
WorkspaceArtifact
WorkspaceArtifact =
z.infer<typeofworkspaceArtifactSchema>
Variables
publishWorkspaceFileInputSchema
constpublishWorkspaceFileInputSchema:ZodObject<{path:ZodString; },$strict>
workspaceArtifactIdSchema
constworkspaceArtifactIdSchema:ZodUUID
workspaceArtifactMaxByteSize
constworkspaceArtifactMaxByteSize:1500000=1_500_000
workspaceArtifactSchema
constworkspaceArtifactSchema:ZodObject<{artifactId:ZodUUID;byteSize:ZodNumber;filename:ZodString;mediaType:ZodString;type:ZodLiteral<"workspace-artifact">;url:ZodString; },$strict>
Functions
buildWorkspaceArtifactUrl()
buildWorkspaceArtifactUrl(
input):string
Parameters
input
artifactId
string
conversationId
string
Returns
string
isWorkspaceArtifactInlineMediaType()
isWorkspaceArtifactInlineMediaType(
mediaType):boolean
Parameters
mediaType
string
Returns
boolean