Creating Plot Twists
    Preparing search index...

    Interface TwistSource

    Twist source code structure containing dependencies and source files.

    interface TwistSource {
        dependencies: Record<string, string>;
        files: Record<string, string>;
    }
    Index

    Properties

    Properties

    dependencies: Record<string, string>

    Package dependencies with version specifiers

    { "@plotday/sdk": "workspace:^", "@plotday/tool-google-calendar": "^1.0.0" }
    
    files: Record<string, string>

    Source files with their content Must include "index.ts" as the entry point

    { "index.ts": "export default class MyTwist extends Twist {...}" }