@guiiai/shared
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -1,53 +0,1 @@ | ||
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 }; | ||
export * from "/Users/luoling8192/Projects/guii/devtools/packages/shared/src/index"; |
{ | ||
"name": "@guiiai/shared", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
5026
44