pi-plus-sdk 0.1.21 → 0.1.23

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/api.d.ts CHANGED
@@ -228,6 +228,12 @@ export declare function removeProfileModel(name: string, model: string): string;
228
228
  export declare function renameProfile(oldName: string, newName: string): void;
229
229
  export declare function profileDirFor(name: string): string;
230
230
  export declare function materializeProfile(name: string, profile: Profile): string;
231
+ /** Re-create the shared source→profile links (sessions, extensions, …) for an
232
+ * already-materialized profile dir. Link-only repair: unlike materializeProfile
233
+ * it never writes auth.json/settings.json, so it is safe to run at startup for
234
+ * every stored profile (adopts profile-only content into the source when the
235
+ * shared dir was never linked). No-op when the dir does not exist. */
236
+ export declare function refreshSharedLinks(dir: string): void;
231
237
  export declare function removeProfileDir(name: string): void;
232
238
  export declare function syncProfilePackagesToSource(profileDir: string): boolean;
233
239