20 lines
694 B
TypeScript
20 lines
694 B
TypeScript
import { Link } from './Link';
|
|
import { ExtendedObject } from '../Extended/ExtendedObject';
|
|
import { Actor } from '../Extended/Actor';
|
|
import { Activity } from '../Extended/Activity';
|
|
import { Collection, OrderedCollection } from '../Extended/Collection';
|
|
import { CollectionPage, OrderedCollectionPage } from '../Extended/Collection';
|
|
export type { Link, LinkReference, Mention } from './Link';
|
|
|
|
export type CoreObject =
|
|
| ExtendedObject
|
|
| Actor
|
|
| Activity
|
|
| Collection
|
|
| OrderedCollection
|
|
| CollectionPage
|
|
| OrderedCollectionPage;
|
|
export type CoreObjectReference = URL | CoreObject;
|
|
export type Entity = CoreObject | Link;
|
|
export type EntityReference = URL | CoreObject | Link;
|