Skip to content

Commit

Permalink
Merge pull request #1705 from demergent-labs/tfjs
Browse files Browse the repository at this point in the history
Tfjs
  • Loading branch information
lastmjs authored Mar 19, 2024
2 parents 401b802 + 089ee64 commit a022645
Show file tree
Hide file tree
Showing 17 changed files with 7,497 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ jobs:
"examples/stable_b_tree_map_instruction_threshold",
"examples/stable_memory",
"examples/stable_structures",
"examples/tfjs",
"examples/timers",
"examples/tuple_types",
"examples/update",
Expand Down
3 changes: 3 additions & 0 deletions examples/tfjs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.azle
.dfx
node_modules
24 changes: 24 additions & 0 deletions examples/tfjs/dfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"canisters": {
"api": {
"type": "custom",
"main": "src/api.ts",
"candid": "src/api.did",
"candid_gen": "http",
"build": "npx azle api",
"wasm": ".azle/api/api.wasm",
"gzip": true,
"assets": [["src/spam", "spam"]],
"metadata": [
{
"name": "candid:service",
"path": "src/api.did"
},
{
"name": "cdk:name",
"content": "azle"
}
]
}
}
}
Loading

0 comments on commit a022645

Please sign in to comment.