Files
api/app/core/modules/get-apps.ts
2020-11-11 16:13:30 +10:30

19 lines
323 B
TypeScript

/*!
* Copyright 2019-2020 Lime Technology Inc. All rights reserved.
* Written by: Alexis Tyler
*/
import { CoreResult } from '../types';
/**
* Get all apps.
*/
export const getApps = async(): Promise<CoreResult> => {
const apps = [];
return {
text: `Apps: ${JSON.stringify(apps, null, 2)}`,
json: apps
};
};