@guiiai/shared
Advanced tools
Comparing version 0.7.4 to 0.7.7
@@ -1,1 +0,53 @@ | ||
export * from "/Users/luoling8192/Projects/guii/devtools/packages/shared/src/index"; | ||
declare const EL_ID_DEVTOOLS_HOLDER = "guii-devtools"; | ||
declare const EL_ID_DEVTOOLS_SHADOW_DOM_HOST = "guii-devtools-host"; | ||
declare const EL_PROPS_KEY_CODEMAP = "__guii_codemap"; | ||
declare const EL_DATA_KEY_CODEMAP = "data-guii-codemap"; | ||
declare const EL_DATA_KEY_IGNORE = "data-guii-inspector-ignore"; | ||
declare const DEVTOOLS_RESOURCE_SYMBOL = "?__guii-devtools-resource"; | ||
declare const VIRTUAL_MODULE_ID_PATH = "virtual:guii-devtools-path:"; | ||
declare const CLIENT_VERSION: string; | ||
declare const CLIENT_URL = "__guii_devtools"; | ||
declare const CLIENT_CALLBACK_TO_URL = "__guii/devtools/auth/callback"; | ||
declare const CLIENT_AUTHORIZE_FROM_URL = "https://guii.ai/devtools/auth/authorize"; | ||
declare const CLIENT_API_BASE_URL_PREFIX = "https://api.guii.ai/api/v1"; | ||
declare const CLIENT_DEVTOOLS_GENERATE_URL_PREFIX = "https://api.guii.ai/api/v1/devtools/generate"; | ||
declare const SUPPORTED_MODELS: string[]; | ||
declare const target: any; | ||
interface UserProfileData { | ||
userProfile: { | ||
id: string; | ||
displayName: string; | ||
avatarUrl: string; | ||
}; | ||
creditsStats: { | ||
total: number; | ||
remaining: number; | ||
used: number; | ||
}; | ||
} | ||
/** | ||
* Check if a value is a promise | ||
* | ||
* Originally by Vue.js contributors | ||
* Source code at: https://github.com/vuejs/core/blob/6fcb80172f2f612bb104f68ef840d377a7eac862/packages/shared/src/general.ts | ||
*/ | ||
declare function isPromise<T = any>(val: unknown): val is Promise<T>; | ||
/** | ||
* Check if a value is a function | ||
* | ||
* Originally by Vue.js contributors | ||
* Source code at: https://github.com/vuejs/core/blob/6fcb80172f2f612bb104f68ef840d377a7eac862/packages/shared/src/general.ts | ||
*/ | ||
declare function isFunction(val: unknown): val is Function; | ||
/** | ||
* Check if a value is an object | ||
* | ||
* Originally by Vue.js contributors | ||
* Source code at: https://github.com/vuejs/core/blob/6fcb80172f2f612bb104f68ef840d377a7eac862/packages/shared/src/general.ts | ||
*/ | ||
declare function isObject(val: unknown): val is Record<any, any>; | ||
export { CLIENT_API_BASE_URL_PREFIX, CLIENT_AUTHORIZE_FROM_URL, CLIENT_CALLBACK_TO_URL, CLIENT_DEVTOOLS_GENERATE_URL_PREFIX, CLIENT_URL, CLIENT_VERSION, DEVTOOLS_RESOURCE_SYMBOL, EL_DATA_KEY_CODEMAP, EL_DATA_KEY_IGNORE, EL_ID_DEVTOOLS_HOLDER, EL_ID_DEVTOOLS_SHADOW_DOM_HOST, EL_PROPS_KEY_CODEMAP, SUPPORTED_MODELS, type UserProfileData, VIRTUAL_MODULE_ID_PATH, isFunction, isObject, isPromise, target }; |
{ | ||
"name": "@guiiai/shared", | ||
"version": "0.7.4", | ||
"version": "0.7.7", | ||
"description": "", | ||
@@ -32,5 +32,4 @@ "author": { | ||
"stub": "unbuild --stub", | ||
"build": "unbuild", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "unbuild" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
15635
233
2