monkeeShark/src/remote/activitypub/renderer/ordered-collection.ts
2018-04-02 04:15:27 +09:00

6 lines
116 B
TypeScript

export default (id, totalItems, orderedItems) => ({
id,
type: 'OrderedCollection',
totalItems,
orderedItems
});