mirror of
https://github.com/koush/scrypted.git
synced 2026-03-20 00:22:15 +00:00
server/sdk: decouple sdk and types
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ScryptedInterface, ScryptedInterfaceDescriptors } from "@scrypted/sdk/types";
|
||||
import { ScryptedInterface, ScryptedInterfaceDescriptors } from "@scrypted/types";
|
||||
|
||||
export const allInterfaceMethods: string[] = [].concat(...Object.values(ScryptedInterfaceDescriptors).map((type: any) => type.methods));
|
||||
export const allInterfaceProperties: string[] = [].concat(...Object.values(ScryptedInterfaceDescriptors).map((type: any) => type.properties));
|
||||
|
||||
Reference in New Issue
Block a user