init
This commit is contained in:
commit
91a950e72f
17 changed files with 2724 additions and 0 deletions
12
sdk/extism.d.ts
vendored
Normal file
12
sdk/extism.d.ts
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Minimal Extism PDK declarations for extism-js compiler
|
||||
declare module "main" {
|
||||
// Hook functions (snake_case to match transformed exports)
|
||||
export function on_post_published(): I32;
|
||||
export function on_post_updated(): I32;
|
||||
export function on_comment_created(): I32;
|
||||
export function on_member_subscribed(): I32;
|
||||
export function on_asset_uploaded(): I32;
|
||||
export function on_analytics_sync(): I32;
|
||||
export function validate_comment(): I32;
|
||||
export function render_content(): I32;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue