@allbluecn/shared 0.4.10 → 0.4.11
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/{config-CcbSbJoC.js → config-CsrctKJ4.js} +67 -0
- package/dist/i18n/client.js +1 -1
- package/dist/i18n/config.d.ts +67 -0
- package/dist/i18n/config.js +1 -1
- package/dist/i18n/detect.js +1 -1
- package/dist/i18n/server.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/lib/query-client-seam.js +2 -1
- package/dist/modules/changelog/types.d.ts +14 -0
- package/dist/modules/changelog/types.js +0 -0
- package/package.json +1 -1
|
@@ -188,6 +188,40 @@ var common_default$1 = {
|
|
|
188
188
|
},
|
|
189
189
|
"collapseSubMenu": "收起子菜单",
|
|
190
190
|
"expandSubMenu": "展开子菜单"
|
|
191
|
+
},
|
|
192
|
+
changelog: {
|
|
193
|
+
"title": "开发者日志",
|
|
194
|
+
"description": "AllBlue 最新更新记录,包含 API、SDK 和功能变更。",
|
|
195
|
+
"sdkVersions": "最新 SDK 版本",
|
|
196
|
+
"sdkGroups": {
|
|
197
|
+
"tanstack-sdk": " SDK",
|
|
198
|
+
"allblue-sdk": "AllBlue SDK",
|
|
199
|
+
"core-sdk": "其他核心 SDK"
|
|
200
|
+
},
|
|
201
|
+
"subscribe": {
|
|
202
|
+
"title": "订阅开发更新",
|
|
203
|
+
"subtitle": "无营销邮件。可随时退订。",
|
|
204
|
+
"placeholder": "输入邮箱地址",
|
|
205
|
+
"submit": "订阅"
|
|
206
|
+
},
|
|
207
|
+
"tags": {
|
|
208
|
+
"all": "全部",
|
|
209
|
+
"feat": "新功能",
|
|
210
|
+
"fix": "修复",
|
|
211
|
+
"improvement": "改进",
|
|
212
|
+
"design": "设计",
|
|
213
|
+
"refactor": "重构",
|
|
214
|
+
"breaking": "破坏性变更",
|
|
215
|
+
"docs": "文档",
|
|
216
|
+
"security": "安全",
|
|
217
|
+
"perf": "性能"
|
|
218
|
+
},
|
|
219
|
+
"requiresAction": "需要操作",
|
|
220
|
+
"entries": "条更新",
|
|
221
|
+
"noMatch": "暂无匹配的记录",
|
|
222
|
+
"noMatchHint": "尝试切换标签筛选条件",
|
|
223
|
+
"entriesUpdated": "次更新",
|
|
224
|
+
"backToList": "返回列表"
|
|
191
225
|
}
|
|
192
226
|
};
|
|
193
227
|
//#endregion
|
|
@@ -381,6 +415,39 @@ var common_default = {
|
|
|
381
415
|
},
|
|
382
416
|
"collapseSubMenu": "Collapse Submenu",
|
|
383
417
|
"expandSubMenu": "Expand Submenu"
|
|
418
|
+
},
|
|
419
|
+
changelog: {
|
|
420
|
+
"title": "Developer changelog",
|
|
421
|
+
"description": "Latest updates, new features, and changes to the AllBlue platform, API, and other developer tools.",
|
|
422
|
+
"sdkVersions": "Latest SDK versions",
|
|
423
|
+
"sdkGroups": {
|
|
424
|
+
"tanstack-sdk": "TanStack SDK",
|
|
425
|
+
"allblue-sdk": "AllBlue SDK",
|
|
426
|
+
"core-sdk": "Core SDK"
|
|
427
|
+
},
|
|
428
|
+
"subscribe": {
|
|
429
|
+
"title": "Sign up for developer updates",
|
|
430
|
+
"subtitle": "No marketing emails. Unsubscribe any time.",
|
|
431
|
+
"placeholder": "Enter your email",
|
|
432
|
+
"submit": "Subscribe"
|
|
433
|
+
},
|
|
434
|
+
"tags": {
|
|
435
|
+
"all": "All",
|
|
436
|
+
"feat": "New feature",
|
|
437
|
+
"fix": "Fix",
|
|
438
|
+
"improvement": "Improvement",
|
|
439
|
+
"design": "Design",
|
|
440
|
+
"refactor": "Refactor",
|
|
441
|
+
"breaking": "Breaking change",
|
|
442
|
+
"docs": "Docs",
|
|
443
|
+
"security": "Security",
|
|
444
|
+
"perf": "Performance"
|
|
445
|
+
},
|
|
446
|
+
"requiresAction": "Requires action",
|
|
447
|
+
"entries": "updates",
|
|
448
|
+
"noMatch": "No matching entries",
|
|
449
|
+
"noMatchHint": "Try changing the filter criteria",
|
|
450
|
+
"backToList": "Back to list"
|
|
384
451
|
}
|
|
385
452
|
};
|
|
386
453
|
//#endregion
|
package/dist/i18n/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resources, o as supportedLngs, t as defaultNs } from "../config-
|
|
1
|
+
import { a as resources, o as supportedLngs, t as defaultNs } from "../config-CsrctKJ4.js";
|
|
2
2
|
import i18next from "i18next";
|
|
3
3
|
import { initReactI18next } from "react-i18next";
|
|
4
4
|
import LanguageDetector from "i18next-browser-languagedetector";
|
package/dist/i18n/config.d.ts
CHANGED
|
@@ -207,6 +207,40 @@ declare const resources: {
|
|
|
207
207
|
collapseSubMenu: string;
|
|
208
208
|
expandSubMenu: string;
|
|
209
209
|
};
|
|
210
|
+
changelog: {
|
|
211
|
+
title: string;
|
|
212
|
+
description: string;
|
|
213
|
+
sdkVersions: string;
|
|
214
|
+
sdkGroups: {
|
|
215
|
+
"tanstack-sdk": string;
|
|
216
|
+
"allblue-sdk": string;
|
|
217
|
+
"core-sdk": string;
|
|
218
|
+
};
|
|
219
|
+
subscribe: {
|
|
220
|
+
title: string;
|
|
221
|
+
subtitle: string;
|
|
222
|
+
placeholder: string;
|
|
223
|
+
submit: string;
|
|
224
|
+
};
|
|
225
|
+
tags: {
|
|
226
|
+
all: string;
|
|
227
|
+
feat: string;
|
|
228
|
+
fix: string;
|
|
229
|
+
improvement: string;
|
|
230
|
+
design: string;
|
|
231
|
+
refactor: string;
|
|
232
|
+
breaking: string;
|
|
233
|
+
docs: string;
|
|
234
|
+
security: string;
|
|
235
|
+
perf: string;
|
|
236
|
+
};
|
|
237
|
+
requiresAction: string;
|
|
238
|
+
entries: string;
|
|
239
|
+
noMatch: string;
|
|
240
|
+
noMatchHint: string;
|
|
241
|
+
entriesUpdated: string;
|
|
242
|
+
backToList: string;
|
|
243
|
+
};
|
|
210
244
|
};
|
|
211
245
|
readonly auth: {
|
|
212
246
|
login: {
|
|
@@ -3336,6 +3370,39 @@ declare const resources: {
|
|
|
3336
3370
|
collapseSubMenu: string;
|
|
3337
3371
|
expandSubMenu: string;
|
|
3338
3372
|
};
|
|
3373
|
+
changelog: {
|
|
3374
|
+
title: string;
|
|
3375
|
+
description: string;
|
|
3376
|
+
sdkVersions: string;
|
|
3377
|
+
sdkGroups: {
|
|
3378
|
+
"tanstack-sdk": string;
|
|
3379
|
+
"allblue-sdk": string;
|
|
3380
|
+
"core-sdk": string;
|
|
3381
|
+
};
|
|
3382
|
+
subscribe: {
|
|
3383
|
+
title: string;
|
|
3384
|
+
subtitle: string;
|
|
3385
|
+
placeholder: string;
|
|
3386
|
+
submit: string;
|
|
3387
|
+
};
|
|
3388
|
+
tags: {
|
|
3389
|
+
all: string;
|
|
3390
|
+
feat: string;
|
|
3391
|
+
fix: string;
|
|
3392
|
+
improvement: string;
|
|
3393
|
+
design: string;
|
|
3394
|
+
refactor: string;
|
|
3395
|
+
breaking: string;
|
|
3396
|
+
docs: string;
|
|
3397
|
+
security: string;
|
|
3398
|
+
perf: string;
|
|
3399
|
+
};
|
|
3400
|
+
requiresAction: string;
|
|
3401
|
+
entries: string;
|
|
3402
|
+
noMatch: string;
|
|
3403
|
+
noMatchHint: string;
|
|
3404
|
+
backToList: string;
|
|
3405
|
+
};
|
|
3339
3406
|
};
|
|
3340
3407
|
readonly auth: {
|
|
3341
3408
|
login: {
|
package/dist/i18n/config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resources, i as namespaces, n as fallbackLng, o as supportedLngs, r as isSupportedLocale, t as defaultNs } from "../config-
|
|
1
|
+
import { a as resources, i as namespaces, n as fallbackLng, o as supportedLngs, r as isSupportedLocale, t as defaultNs } from "../config-CsrctKJ4.js";
|
|
2
2
|
export { defaultNs, fallbackLng, isSupportedLocale, namespaces, resources, supportedLngs };
|
package/dist/i18n/detect.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as isSupportedLocale } from "../config-
|
|
1
|
+
import { r as isSupportedLocale } from "../config-CsrctKJ4.js";
|
|
2
2
|
//#region src/i18n/detect.ts
|
|
3
3
|
function detectLocale(request, userLocale) {
|
|
4
4
|
const queryLng = new URL(request.url).searchParams.get("lng");
|
package/dist/i18n/server.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ import { EntityUpdateEvent, RealtimeTransport } from "./interfaces/transport.js"
|
|
|
14
14
|
import { FEATURE_KEYS, FeatureKey, FeatureMeta, FeatureRegistry, OSS_BASE_FEATURES, isOssFeature } from "./modules/billing/feature-registry.js";
|
|
15
15
|
import { PlanFeatures, PlanFeaturesSchema } from "./modules/billing/plan-features-schema.js";
|
|
16
16
|
import { RESOURCE_KEYS, ResourceKey, ResourceMeta, ResourceRegistry, ResourceSnapshot, ResourceSnapshots, isResourceDefined } from "./modules/billing/resource-registry.js";
|
|
17
|
+
import { DeveloperLogEntry } from "./modules/changelog/types.js";
|
|
17
18
|
import { AvatarConfig, AvatarPart, ShapeType } from "./interfaces/avatar.js";
|
|
18
|
-
export { ADAPTER_KINDS, ADAPTER_KIND_VALUES, type AICommandContext, type AICommandDef, type AICommandHandler, type AICommandResult, AdapterKind, type AiAdapter, AiModelMeta, AiProviderMeta, AiProviderRow, type AllBlueModule, type AvatarConfig, type AvatarPart, type CLIAgentInfo, DEFAULT_WATCHED_DEPENDENCIES, DEPENDENCY_CATEGORIES, DEPENDENCY_PRIORITIES, DND_STICKY_THRESHOLD, DependencyCategory, DependencyPriority, DependencySeed, DependencyUsage, type EntityDef, type EntityUpdateEvent, FEATURE_KEYS, type FeatureKey, type FeatureMeta, FeatureRegistry, LOAD_MORE_STEP, LOBE_ICON_MAP, MODEL_CAPABILITY_OPTIONS, MODEL_TABS, ModelCapability, ModelTab, OSS_BASE_FEATURES, PROVIDER_BADGE_STYLES, PROVIDER_CATEGORIES, PROVIDER_CATEGORY_VALUES, type ParsedUA, type PlanFeatures, PlanFeaturesSchema, ProviderCategory, RESOURCE_KEYS, type RealtimeTransport, type RefDisplay, type Reference, type ReferenceDisplayFn, type ResolvedRef, type ResourceKey, type ResourceMeta, ResourceRegistry, type ResourceSnapshot, type ResourceSnapshots, SEED_AI_PROVIDERS, type SearchResult, type ShapeType, SyncDependencyResult, ThirdPartyDependencyRow, UpdateDependencyInput, VIRTUALIZE_THRESHOLD, VersionStatus, formatParsedUA, getClientIp, isOssFeature, isResourceDefined, moduleRegistry, parseUserAgent, registerDefaultModules, resolveIpLocation };
|
|
19
|
+
export { ADAPTER_KINDS, ADAPTER_KIND_VALUES, type AICommandContext, type AICommandDef, type AICommandHandler, type AICommandResult, AdapterKind, type AiAdapter, AiModelMeta, AiProviderMeta, AiProviderRow, type AllBlueModule, type AvatarConfig, type AvatarPart, type CLIAgentInfo, DEFAULT_WATCHED_DEPENDENCIES, DEPENDENCY_CATEGORIES, DEPENDENCY_PRIORITIES, DND_STICKY_THRESHOLD, DependencyCategory, DependencyPriority, DependencySeed, DependencyUsage, type DeveloperLogEntry, type EntityDef, type EntityUpdateEvent, FEATURE_KEYS, type FeatureKey, type FeatureMeta, FeatureRegistry, LOAD_MORE_STEP, LOBE_ICON_MAP, MODEL_CAPABILITY_OPTIONS, MODEL_TABS, ModelCapability, ModelTab, OSS_BASE_FEATURES, PROVIDER_BADGE_STYLES, PROVIDER_CATEGORIES, PROVIDER_CATEGORY_VALUES, type ParsedUA, type PlanFeatures, PlanFeaturesSchema, ProviderCategory, RESOURCE_KEYS, type RealtimeTransport, type RefDisplay, type Reference, type ReferenceDisplayFn, type ResolvedRef, type ResourceKey, type ResourceMeta, ResourceRegistry, type ResourceSnapshot, type ResourceSnapshots, SEED_AI_PROVIDERS, type SearchResult, type ShapeType, SyncDependencyResult, ThirdPartyDependencyRow, UpdateDependencyInput, VIRTUALIZE_THRESHOLD, VersionStatus, formatParsedUA, getClientIp, isOssFeature, isResourceDefined, moduleRegistry, parseUserAgent, registerDefaultModules, resolveIpLocation };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { QueryClient } from "@tanstack/react-query";
|
|
1
2
|
//#region src/lib/query-client-seam.ts
|
|
2
3
|
let instance = null;
|
|
3
4
|
function setQueryClient(client) {
|
|
4
5
|
instance = client;
|
|
5
6
|
}
|
|
6
7
|
function getQueryClient() {
|
|
7
|
-
if (!instance)
|
|
8
|
+
if (!instance) instance = new QueryClient();
|
|
8
9
|
return instance;
|
|
9
10
|
}
|
|
10
11
|
//#endregion
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/modules/changelog/types.d.ts
|
|
2
|
+
interface DeveloperLogEntry {
|
|
3
|
+
id: string;
|
|
4
|
+
date: string;
|
|
5
|
+
year: string;
|
|
6
|
+
title: string;
|
|
7
|
+
desc: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
commitSha?: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { DeveloperLogEntry };
|
|
File without changes
|