Skip to content

Commit

Permalink
refactor: Update imports and class names in ipfs_model_manager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
endomorphosis committed Aug 29, 2024
1 parent 890bc19 commit 581a0bf
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions fireproofdb_kit_js/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './main.js';
17 changes: 17 additions & 0 deletions fireproofdb_kit_js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export class FireproofKitJs {
constructor() {
}

async init() {
this.test();
console.log("FireproofKit.init()");
return null;
}

async test() {
console.error("method not implemented");
throw new Error("method not implemented");
}
}

export default FireproofKitJs;
22 changes: 22 additions & 0 deletions fireproofdb_kit_js/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "@endomorphosis/fireproofdb_kit_js",
"version": "1.0.0",
"description": "a bridge for fireproofdb",
"type": "module",
"main": "main.js",
"scripts": {
"test": "node tests/test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/endomorphosis/fireproofdb_kit_js.git"
},
"dependencies": {
},
"author": "Benjamin Barber",
"license": "AGPL-3.0-only",
"bugs": {
"url": "https://github.com/endomorphosis/fireproofdb_kit_js/issues"
},
"homepage": "https://github.com/endomorphosis/fireproofdb_kit_js#readme"
}
Empty file added fireproofdb_kit_js/test/test.js
Empty file.
1 change: 1 addition & 0 deletions storacha_kit_js/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'main.js';
17 changes: 17 additions & 0 deletions storacha_kit_js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export class storachaKitJs {
constructor() {
}

async init() {
this.test();
console.log("storachaKitJs.init()");
return null;
}

async test() {
console.error("method not implemented");
throw new Error("method not implemented");
}
}

export default storachaKitJs;
22 changes: 22 additions & 0 deletions storacha_kit_js/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "@endomorphosis/storacha_kit_js",
"version": "1.0.0",
"description": "a bridge for storacha",
"type": "module",
"main": "main.js",
"scripts": {
"test": "node tests/test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/endomorphosis/storacha_kit_js.git"
},
"dependencies": {
},
"author": "Benjamin Barber",
"license": "AGPL-3.0-only",
"bugs": {
"url": "https://github.com/endomorphosis/fireproofdb_kit_js/issues"
},
"homepage": "https://github.com/endomorphosis/fireproofdb_kit_js#readme"
}
Empty file added storacha_kit_js/test/test.js
Empty file.

0 comments on commit 581a0bf

Please sign in to comment.