mirror of
https://github.com/tlsnotary/tlsn-plugin-boilerplate.git
synced 2026-01-08 04:23:52 -05:00
WIP: Uber plugin
This commit is contained in:
14
examples/uber/index.d.ts
vendored
Normal file
14
examples/uber/index.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
declare module 'main' {
|
||||
// Extism exports take no params and return an I32
|
||||
export function start(): I32;
|
||||
export function two(): I32;
|
||||
export function three(): I32;
|
||||
export function config(): I32;
|
||||
}
|
||||
|
||||
declare module 'extism:host' {
|
||||
interface user {
|
||||
redirect(ptr: I64): void;
|
||||
notarize(ptr: I64): I64;
|
||||
}
|
||||
}
|
||||
109
examples/uber/index.js
Normal file
109
examples/uber/index.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user