@acarmisc/backstage-plugin-litellm 0.32.0 → 0.34.0
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/README.md +55 -66
- package/dist/components/KeyFormDialog.d.ts +0 -2
- package/dist/components/LiteLLMBudgetGauges.d.ts +0 -1
- package/dist/components/ManageTeamDialog.d.ts +10 -1
- package/dist/components/keyFormHelpers.d.ts +0 -1
- package/dist/hooks/useCopyToClipboard.d.ts +0 -5
- package/dist/index.cjs.js +272 -225
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.d.ts +2 -3
- package/dist/index.esm.js +283 -237
- package/dist/index.esm.js.map +4 -4
- package/package.json +4 -10
- package/dist/components/GenerateKeyDialog.d.ts +0 -21
- package/dist/permissions.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acarmisc/backstage-plugin-litellm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "litellm",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
|
+
"start": "backstage-cli package start --config app-config.yaml",
|
|
36
37
|
"build": "node build.js && tsc -p tsconfig.json",
|
|
37
38
|
"lint": "eslint src dev --ext .ts,.tsx",
|
|
38
39
|
"test": "tsc -p tsconfig.test.json && node --import ./test-support/register.mjs --test --test-timeout=30000 \"dist-test/**/*.test.js\"",
|
|
39
40
|
"api-report": "npm run build && api-extractor run --local --verbose",
|
|
40
|
-
"prepack": "npm run build"
|
|
41
|
-
"postpack": ""
|
|
41
|
+
"prepack": "npm run build"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@acarmisc/backstage-plugin-litellm-common": "0.1.0",
|
|
@@ -49,16 +49,13 @@
|
|
|
49
49
|
"@backstage/plugin-catalog-react": "^3.1.0",
|
|
50
50
|
"@backstage/plugin-permission-common": "^0.9.9",
|
|
51
51
|
"@backstage/plugin-permission-react": "^0.5.3",
|
|
52
|
-
"@backstage/theme": "^0.6.0",
|
|
53
|
-
"@backstage/types": "^1.2.0",
|
|
54
52
|
"@emotion/react": "^11.11.0",
|
|
55
53
|
"@emotion/styled": "^11.11.0",
|
|
56
54
|
"@mui/icons-material": "^5.18.0",
|
|
57
55
|
"@mui/material": "^5.16.0",
|
|
58
56
|
"react": "^18.0.0",
|
|
59
57
|
"react-use": "^17.2.4",
|
|
60
|
-
"recharts": "^2.15.4"
|
|
61
|
-
"zod": "^3.22.4"
|
|
58
|
+
"recharts": "^2.15.4"
|
|
62
59
|
},
|
|
63
60
|
"devDependencies": {
|
|
64
61
|
"@backstage/catalog-client": "^1.16.1",
|
|
@@ -85,8 +82,5 @@
|
|
|
85
82
|
"react": "^18.0.0",
|
|
86
83
|
"react-dom": "^18.0.0",
|
|
87
84
|
"react-router-dom": "^6.20.0"
|
|
88
|
-
},
|
|
89
|
-
"overrides": {
|
|
90
|
-
"@peculiar/asn1-schema": "2.9.2"
|
|
91
85
|
}
|
|
92
86
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { GenerateKeyRequest, GenerateKeyResponse, LiteLlmConfig, ModelInfo, TeamInfo, VirtualKey } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Use {@link KeyFormDialog} with `mode="create"` instead — this
|
|
5
|
-
* wrapper only forwards props for backwards compatibility with the public
|
|
6
|
-
* entrypoint and will be removed in a future release.
|
|
7
|
-
*/
|
|
8
|
-
export declare const GenerateKeyDialog: FC<{
|
|
9
|
-
open: boolean;
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
keys: VirtualKey[];
|
|
12
|
-
models: ModelInfo[];
|
|
13
|
-
teams: TeamInfo[];
|
|
14
|
-
username?: string;
|
|
15
|
-
keyGenerationSettings?: {
|
|
16
|
-
allowUnlimitedBudget: boolean;
|
|
17
|
-
teamRequired: boolean;
|
|
18
|
-
};
|
|
19
|
-
onGenerateKey: (request: GenerateKeyRequest) => Promise<GenerateKeyResponse>;
|
|
20
|
-
onGetConfig: () => Promise<LiteLlmConfig>;
|
|
21
|
-
}>;
|
package/dist/permissions.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { litellmKeyCreatePermission, litellmKeyRevokePermission, litellmKeyManagePermission, litellmKeyResetSpendPermission, litellmKeyUnblockPermission, litellmAuditReadPermission, litellmTeamCreatePermission, litellmTeamManagePermission, litellmTeamMembersManagePermission, litellmTeamKnowledgebaseManagePermission, litellmTeamMcpManagePermission, litellmTeamDeletePermission, litellmPermissions, } from '@acarmisc/backstage-plugin-litellm-common';
|