@kevisual/cnb 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/keep.js +2850 -4
- package/dist/opencode.js +3216 -290
- package/dist/routes.d.ts +11 -2
- package/dist/routes.js +3215 -289
- package/package.json +7 -6
- package/src/cnb-core.ts +8 -0
- package/src/git/index.ts +676 -0
- package/src/repo/index.ts +2 -2
- package/src/user/index.ts +4 -4
package/dist/routes.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ type CNBCoreOptions<T = {}> = {
|
|
|
9
9
|
*/
|
|
10
10
|
cookie?: string;
|
|
11
11
|
cnb?: CNBCore;
|
|
12
|
+
cors?: {
|
|
13
|
+
baseUrl?: string;
|
|
14
|
+
};
|
|
12
15
|
} & T;
|
|
13
16
|
type RequestOptions = {
|
|
14
17
|
url?: string;
|
|
@@ -22,6 +25,7 @@ type RequestOptions = {
|
|
|
22
25
|
};
|
|
23
26
|
declare class CNBCore {
|
|
24
27
|
baseURL: string;
|
|
28
|
+
hackURL: string;
|
|
25
29
|
token: string;
|
|
26
30
|
cookie?: string;
|
|
27
31
|
constructor(options: CNBCoreOptions);
|
|
@@ -717,16 +721,19 @@ declare const config: {
|
|
|
717
721
|
S3_FORCE_PATH_STYLE?: string;
|
|
718
722
|
KEVISUAL_TOKEN?: string;
|
|
719
723
|
KEVISUAL_API_URL?: string;
|
|
720
|
-
|
|
724
|
+
KEVISUAL_NEW_API_KEY?: string;
|
|
721
725
|
BAILIAN_API_KEY?: string;
|
|
722
726
|
ZHIPU_API_KEY?: string;
|
|
723
727
|
MINIMAX_API_KEY?: string;
|
|
724
|
-
|
|
728
|
+
VOLCENGINE_API_KEY?: string;
|
|
729
|
+
BAILIAN_CODE_API_KEY?: string;
|
|
725
730
|
JIMENG_API_URL?: string;
|
|
726
731
|
JIMENG_API_KEY?: string;
|
|
727
732
|
JIMENG_TIMEOUT?: string;
|
|
728
733
|
OPENCODE_URL?: string;
|
|
729
734
|
OPENCODE_API_KEY?: string;
|
|
735
|
+
OPENCODE_SERVER_PASSWORD?: string;
|
|
736
|
+
OPENCODE_SERVER_USERNAME?: string;
|
|
730
737
|
FEISHU_NOTIFY_WEBHOOK_URL?: string;
|
|
731
738
|
NOCODB_URL?: string;
|
|
732
739
|
NOCODB_API_KEY?: string;
|
|
@@ -735,7 +742,9 @@ declare const config: {
|
|
|
735
742
|
POCKETBASE_URL?: string;
|
|
736
743
|
POCKETBASE_TOKEN?: string;
|
|
737
744
|
CNB_TOKEN?: string;
|
|
745
|
+
CNB_API_KEY?: string;
|
|
738
746
|
CNB_COOKIE?: string;
|
|
747
|
+
CNB_REPO_SLUG?: string;
|
|
739
748
|
KUBECONFIG_DATA?: string;
|
|
740
749
|
};
|
|
741
750
|
declare const cnb: CNB;
|