refactor: add ts sources for sdk shims
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
export class SDKControlRequest {}
|
export {
|
||||||
export class SDKControlResponse {}
|
SDKControlRequest,
|
||||||
|
SDKControlResponse,
|
||||||
|
} from './controlTypes.ts'
|
||||||
|
|||||||
14
src/entrypoints/sdk/controlTypes.ts
Normal file
14
src/entrypoints/sdk/controlTypes.ts
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
export type SDKControlRequest = Record<string, unknown> & {
|
||||||
|
subtype?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export type SDKControlResponse = Record<string, unknown> & {
|
||||||
|
type?: string
|
||||||
|
subtype?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export type StdoutMessage = SDKControlResponse
|
||||||
|
|
||||||
|
export class SDKControlRequest {}
|
||||||
|
|
||||||
|
export class SDKControlResponse {}
|
||||||
@@ -1 +1 @@
|
|||||||
export {};
|
export * from './settingsTypes.generated.ts'
|
||||||
|
|||||||
1
src/entrypoints/sdk/settingsTypes.generated.ts
Normal file
1
src/entrypoints/sdk/settingsTypes.generated.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export type Settings = Record<string, unknown>
|
||||||
@@ -1,3 +1 @@
|
|||||||
export function TungstenLiveMonitor() {
|
export { TungstenLiveMonitor } from './TungstenLiveMonitor.ts'
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|||||||
3
src/tools/TungstenTool/TungstenLiveMonitor.ts
Normal file
3
src/tools/TungstenTool/TungstenLiveMonitor.ts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
export function TungstenLiveMonitor() {
|
||||||
|
return null
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user