rudeshark.net/src/remote/activitypub/renderer/ordered-collection.ts

7 lines
116 B
TypeScript
Raw Normal View History

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