Types
Groups
TypeScript types for the Pinata Groups SDK, including GroupOptions, GroupResponseItem, list filters, and add and remove file payload shapes.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
TypeScript types for the Pinata Groups SDK, including GroupOptions, GroupResponseItem, list filters, and add and remove file payload shapes.
export type GroupOptions = {
name: string;
isPublic?: boolean;
};
export type UpdateGroupOptions = {
groupId: string;
name?: string;
isPublic?: boolean;
};
export type GetGroupOptions = {
groupId: string;
};
export type GroupListResponse = {
groups: GroupResponseItem[];
next_page_token: string;
};
export type GroupResponseItem = {
id: string;
is_public: boolean;
name: string;
createdAt: string;
};
export type GroupQueryOptions = {
name?: string;
limit?: number;
pageToken?: string;
isPublic?: boolean;
};
export type GroupCIDOptions = {
groupId: string;
files: string[];
};
export type UpdateGroupFilesResponse = {
id: string;
status: string;
};