5 lines
284 B
TypeScript
5 lines
284 B
TypeScript
/** Server action references. Side chats are not part of the world port. */
|
|
export const docRef = <T>(kind: string) => ({kind})
|
|
export const actionRef = <A, R>(extension: string, action: string) => ({extension, action})
|
|
export const implementAction = (_ref: unknown, run: any) => run
|