acquia-dam-sdk
Version:
Interact with the Acquia DAM API
31 lines (28 loc) • 634 B
TypeScript
import { CollectionType } from './requests.js';
interface CreateCollectionResult {
assets: {
uuid: string;
}[];
assetsAddedCount: number;
description: string;
name: string;
numResults: number;
type: 'local';
uuid: string;
}
interface ListCollectionsResult {
item_type: string;
items: {
_links: {
assets?: string;
};
id: string;
title: string;
total_items: number;
type: CollectionType;
}[];
limit: number;
offset: number;
total_count: number;
}
export type { CreateCollectionResult, ListCollectionsResult };