@ai-ecoverse/slicc-spectrum 1.54.0 → 1.55.0
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/README.md +3 -3
- package/dist/slicc-dummy.js +43 -1
- package/dist/slicc-dummy.js.map +3 -3
- package/dist/slicc-ui.js +41 -10
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/dummy/updates.d.ts +1 -1
- package/dist/types/model/types.d.ts +8 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Emitter } from '../model/emitter.js';
|
|
|
2
2
|
import type { PackageAction, PackageItem, UpdateAction, UpdateItem, UpdatesEvents, UpdatesPort } from '../model/types.js';
|
|
3
3
|
import type { Clock } from './clock.js';
|
|
4
4
|
export type UpdateScenario = 'current' | 'boot' | 'starting' | 'available' | 'restart' | 'failure';
|
|
5
|
-
export type PackageScenario = 'mixed' | 'empty' | 'fail';
|
|
5
|
+
export type PackageScenario = 'mixed' | 'empty' | 'fail' | 'user';
|
|
6
6
|
export type PackageConfirm = (options: {
|
|
7
7
|
title: string;
|
|
8
8
|
body: string;
|
|
@@ -560,7 +560,12 @@ export interface UpdateItem {
|
|
|
560
560
|
log?: string;
|
|
561
561
|
}
|
|
562
562
|
export type PackageState = 'available' | 'queued' | 'installing' | 'installed' | 'outdated' | 'updating' | 'removing' | 'failed';
|
|
563
|
-
export type PackageAction = 'install' | 'update' | 'remove' | 'retry';
|
|
563
|
+
export type PackageAction = 'install' | 'update' | 'remove' | 'retry' | 'unpin';
|
|
564
|
+
export interface PackagePin {
|
|
565
|
+
base: string | null;
|
|
566
|
+
range: string;
|
|
567
|
+
project: string;
|
|
568
|
+
}
|
|
564
569
|
export interface PackageItem {
|
|
565
570
|
id: string;
|
|
566
571
|
package: string;
|
|
@@ -582,6 +587,8 @@ export interface PackageItem {
|
|
|
582
587
|
error: string | null;
|
|
583
588
|
actions: readonly PackageAction[];
|
|
584
589
|
log?: string;
|
|
590
|
+
origin?: 'catalog' | 'user';
|
|
591
|
+
pin?: PackagePin;
|
|
585
592
|
}
|
|
586
593
|
export interface UpdatesEvents {
|
|
587
594
|
items: readonly UpdateItem[];
|
package/package.json
CHANGED