update: (
payload: { bookmark_id: string } & {
request: {
data: {
data: {
attributes: { name?: string | null; path?: string | null };
id?: string | null;
type: "Bookmark";
};
};
};
} & ServiceMethodPayload,
) => Promise<
JSONFetchResponse<
{
data: {
attributes: { name: string; path: string };
id: string;
relationships?:
| {
collection: {
data: | { id: string; type: "Collection" }
| { id: ...; type: ... }[];
};
}
| null;
type: "Bookmark";
};
included?: | {
attributes: { display_name: string; high_assurance: boolean };
id: string;
relationships?: null;
type: "Collection";
}[]
| null;
meta: { request_id: string };
},
>,
> = ...
Type Declaration
-
- (
payload: { bookmark_id: string } & {
request: {
data: {
data: {
attributes: { name?: string | null; path?: string | null };
id?: string | null;
type: "Bookmark";
};
};
};
} & ServiceMethodPayload,
): Promise<
JSONFetchResponse<
{
data: {
attributes: { name: string; path: string };
id: string;
relationships?:
| {
collection: {
data: | { id: string; type: "Collection" }
| { id: ...; type: ... }[];
};
}
| null;
type: "Bookmark";
};
included?: | {
attributes: { display_name: string; high_assurance: boolean };
id: string;
relationships?: null;
type: "Collection";
}[]
| null;
meta: { request_id: string };
},
>,
>
-
Parameters
- payload: { bookmark_id: string } & {
request: {
data: {
data: {
attributes: { name?: string | null; path?: string | null };
id?: string | null;
type: "Bookmark";
};
};
};
} & ServiceMethodPayload
Returns Promise<
JSONFetchResponse<
{
data: {
attributes: { name: string; path: string };
id: string;
relationships?:
| {
collection: {
data: | { id: string; type: "Collection" }
| { id: ...; type: ... }[];
};
}
| null;
type: "Bookmark";
};
included?: | {
attributes: { display_name: string; high_assurance: boolean };
id: string;
relationships?: null;
type: "Collection";
}[]
| null;
meta: { request_id: string };
},
>,
>