server/sdk: decouple sdk and types

This commit is contained in:
Koushik Dutta
2022-02-05 13:46:41 -08:00
parent 5fbb12bd12
commit e31071b8ea
31 changed files with 80 additions and 3436 deletions

View File

@@ -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));