diff --git a/ts-src/context.js b/ts-src/context.js deleted file mode 100644 index c93961d..0000000 --- a/ts-src/context.js +++ /dev/null @@ -1,10 +0,0 @@ -// Your "Context" tab should look like this -const modifier = (text) => { - // - // Ideally, your other context code goes above this line - [text, stop] = AutoCards("context", text, stop); - // Alternatively, you may also put it below this line - // - return {text, stop}; -}; -modifier(text); diff --git a/ts-src/input.js b/ts-src/input.js deleted file mode 100644 index 4c32036..0000000 --- a/ts-src/input.js +++ /dev/null @@ -1,10 +0,0 @@ -// Your "Input" tab should look like this -const modifier = (text) => { - // - // Ideally, your other input code goes above this line - text = AutoCards("input", text); - // Alternatively, you may also put it below this line - // - return {text}; -}; -modifier(text); diff --git a/ts-src/library.js b/ts-src/library.js deleted file mode 100644 index fb42900..0000000 --- a/ts-src/library.js +++ /dev/null @@ -1,5 +0,0 @@ -/// -// Your "Library" tab should look like this - -// [source code not public yet] -// Estimated release date is May 26, 2025 (but no promises) diff --git a/ts-src/output.js b/ts-src/output.js deleted file mode 100644 index 101055e..0000000 --- a/ts-src/output.js +++ /dev/null @@ -1,10 +0,0 @@ -// Your "Output" tab should look like this -const modifier = (text) => { - // - // Ideally, your other output code goes above this line - text = AutoCards("output", text); - // Alternatively, you may also put it below this line - // - return {text}; -}; -modifier(text); diff --git a/ts-src/types/global.d.ts b/ts-src/types/global.d.ts deleted file mode 100644 index 89f299f..0000000 --- a/ts-src/types/global.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -/// -/// - -export interface History { - text: string; - type: "continue" | "say" | "do" | "story" | "see" | "repeat" | "start" | "unknown"; - rawText: string; -} - -export interface StoryCard { - id: string; - title: string; - keys: string; - type: string; - /** - * This is `value` when exported - */ - entry: string; - description: string; -} - -export interface State { - key: string; - memory: Memory; - message: string; - [key: string]: unknown; -} -export interface Memory { - context: string; - authorsNote: string; -} -export interface Info { - actionCount: number; - characters: string[]; - [key: string]: unknown; -} - -declare global { - let stop: boolean; - let text: unknown; - function AutoCards(): unknown; - function addStoryCard(): unknown; - function removeStoryCard(): unknown; - function log(): void; - const history: History[]; - const storyCards: StoryCard[]; - const state: State; - const memory: Memory; - const info: Info; -}