33 lines
535 B
JavaScript
33 lines
535 B
JavaScript
export type User = {
|
|
avatarUrl: string,
|
|
id: string,
|
|
name: string,
|
|
username: string,
|
|
};
|
|
|
|
export type Collection = {
|
|
createdAt: string,
|
|
description: string,
|
|
id: string,
|
|
name: string,
|
|
type: string,
|
|
updatedAt: string,
|
|
url: string,
|
|
};
|
|
|
|
export type Document = {
|
|
collaborators: Array<User>,
|
|
collection: Collection,
|
|
createdAt: string,
|
|
createdBy: string,
|
|
html: string,
|
|
id: string,
|
|
private: boolean,
|
|
team: string,
|
|
text: string,
|
|
title: string,
|
|
updatedAt: string,
|
|
updatedBy: string,
|
|
url: string,
|
|
};
|