iceshrimp-legacy/src/remote/activitypub/renderer/ordered-collection.ts

7 lines
134 B
TypeScript
Raw Normal View History

2018-06-18 02:54:53 +02:00
export default (id: string, totalItems: any, orderedItems: any) => ({
2018-04-01 12:18:36 +02:00
id,
type: 'OrderedCollection',
totalItems,
orderedItems
});