refactor: apply repository naming contract
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
* through ui-layout and ui-theme. Export discipline: packages/client/AGENTS.md.
|
||||
*/
|
||||
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
|
||||
import { SettingsScopeService } from './settings-scope.ts'
|
||||
import { SettingsScopeBinder } from './settings-scope.ts'
|
||||
|
||||
export type {
|
||||
SettingsGeneralItemOwnerProps, SettingsHeaderOwnerProps, SettingsOnboardingOwnerProps,
|
||||
SettingsPluginsTabOwnerProps, SettingsSectionOwnerProps, SettingsTriggerOwnerProps,
|
||||
} from './contract/slots.ts'
|
||||
export { SettingsScopeController, SettingsScopeService } from './settings-scope.ts'
|
||||
export { SettingsScopeController, SettingsScopeBinder } from './settings-scope.ts'
|
||||
|
||||
/**
|
||||
* Required services: none. The transport is resolved per caller through
|
||||
@@ -31,5 +31,5 @@ export const inject = []
|
||||
* @param ctx - client root context.
|
||||
*/
|
||||
export function apply(ctx: ClientContext): void {
|
||||
new SettingsScopeService(ctx)
|
||||
new SettingsScopeBinder(ctx)
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ export class SettingsScopeController<T> implements SettingsScope<T> {
|
||||
|
||||
declare module '@deepseek-ai/cordis' {
|
||||
interface Context {
|
||||
settingsScope: SettingsScopeService
|
||||
settingsScope: SettingsScopeBinder
|
||||
}
|
||||
}
|
||||
|
||||
@@ -224,7 +224,7 @@ declare module '@deepseek-ai/cordis' {
|
||||
* cross-plugin collaboration through cordis services
|
||||
* (`packages/client/tsdown.client.ts`).
|
||||
*/
|
||||
export class SettingsScopeService extends Service {
|
||||
export class SettingsScopeBinder extends Service {
|
||||
/**
|
||||
* @param ctx - the providing plugin's context.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user