This commit is contained in:
2025-12-04 20:05:56 +08:00
parent 47fe4c1343
commit 57660d2d9c
13 changed files with 16138 additions and 0 deletions

14
test/common.ts Normal file
View File

@@ -0,0 +1,14 @@
import { CNB } from "../src";
import dotenv from "dotenv";
dotenv.config();
const cnb = new CNB(process.env.CNB_TOKEN || "");
const worksaceList = await cnb.workspace.list();
// console.log("worksaceList", worksaceList);
const sn = 'cnb-0eg-1jbkjj615-001'
const worksace = await cnb.workspace.getDetail('kevisual/node24', sn)
console.log("worksace", worksace);