Files
api/app/core/modules/get-apps.ts
Alexis Tyler 4e1b0bd72c chore: lint
2021-01-28 15:45:14 +10:30

19 lines
324 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
};
};