mirror of
https://github.com/directus/directus.git
synced 2026-02-11 06:44:58 -05:00
13 lines
238 B
TypeScript
13 lines
238 B
TypeScript
import { ref, Ref } from '@vue/composition-api';
|
|
import { InterfaceConfig } from './types';
|
|
|
|
let interfaces: Ref<InterfaceConfig[]>;
|
|
|
|
export function getInterfaces() {
|
|
if (!interfaces) {
|
|
interfaces = ref([]);
|
|
}
|
|
|
|
return interfaces;
|
|
}
|