Skip to content

Commit

Permalink
Adding basic types.
Browse files Browse the repository at this point in the history
  • Loading branch information
darielnoel committed Jul 25, 2024
1 parent accc345 commit 61f106b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "dist/bundle.cjs.js",
"module": "dist/bundle.esm.js",
"unpkg": "dist/bundle.umd.js",
"types": "types/index.d.ts",
"scripts": {
"build": "npx rollup -c",
"build:test": "TEST_ENV=mocked-llm-apis npx rollup -c",
Expand Down
45 changes: 45 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// -------------------------------------------------------------------------
// Welcome to the sketchbook of our library's type definitions.
//--------------------------------------------------------------------------
//
// Like a promise of "we'll do it tomorrow," we've sketched out the outlines but the details?
// Well, they will be defined later... This finger never eats but always says 'I'll pick the tab next time!'
//
// Feel adventurous? Help us fill in the gaps – don't wait for tomorrow!
// -------------------------------------------------------------------------

export class Agent {

[key: string]: any;

constructor(props?: Record<string, any>) {
Object.assign(this, props);
}

// Implementation details will be defined later...
// Yes, this is the 'I’ll clean my desk next week' kind of later.
}

export class Task {

[key: string]: any;

constructor(props?: Record<string, any>) {
Object.assign(this, props);
}

// Implementation details will be defined later...
// Like that gym membership we all get in January.
}

export class Team {

[key: string]: any;

constructor(props?: Record<string, any>) {
Object.assign(this, props);
}

// Implementation details will be defined later...
// We're scheduling a meeting to plan the meeting about this.
}

0 comments on commit 61f106b

Please sign in to comment.