@camstack/types 1.2.408 → 1.2.410
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/capabilities/display-palette.cap.d.ts +90 -0
- package/dist/capabilities/index.d.ts +3 -1
- package/dist/catalogs/display-palette-tables.d.ts +169 -0
- package/dist/catalogs/display-palette.d.ts +171 -0
- package/dist/catalogs/event-taxonomy.d.ts +3 -14
- package/dist/catalogs/palette-cie.d.ts +29 -0
- package/dist/catalogs/palette-entries.d.ts +15 -0
- package/dist/catalogs/palette-legend.d.ts +13 -0
- package/dist/client.js +437 -69
- package/dist/client.mjs +437 -69
- package/dist/ffmpeg/fmp4-box-splitter.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +27 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +877 -75
- package/dist/index.mjs +852 -75
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ import type { deviceHistoryCapability } from '../capabilities/device-history.cap
|
|
|
20
20
|
import type { deviceManagerCapability } from '../capabilities/device-manager.cap.js';
|
|
21
21
|
import type { deviceProviderCapability } from '../capabilities/device-provider.cap.js';
|
|
22
22
|
import type { deviceStateCapability } from '../capabilities/device-state.cap.js';
|
|
23
|
+
import type { displayPaletteCapability } from '../capabilities/display-palette.cap.js';
|
|
23
24
|
import type { faceGalleryCapability } from '../capabilities/face-gallery.cap.js';
|
|
24
25
|
import type { integrationsCapability } from '../capabilities/integrations.cap.js';
|
|
25
26
|
import type { keychainAdminCapability } from '../capabilities/keychain-admin.cap.js';
|
|
@@ -82,6 +83,7 @@ export interface SystemProxy {
|
|
|
82
83
|
readonly deviceManager: Pick<InferProvider<typeof deviceManagerCapability>, 'allocateDeviceId' | 'migrateDevice' | 'registerDevice' | 'removeDevice' | 'persistConfig' | 'getRoleDisplayDefaults' | 'setRoleDisplayDefaults' | 'listLocations' | 'addLocation' | 'removeLocation' | 'renameLocation' | 'listLocationIcons' | 'setLocationIcon' | 'listLocationDescriptions' | 'setLocationDescription' | 'listSiteZones' | 'setSiteZone' | 'removeSiteZone' | 'renameSiteZone' | 'setLocationZone' | 'listPersistedByAddon' | 'listAll' | 'getChildren' | 'getChildrenBatch' | 'getLinkedDevicesBatch' | 'listDeletedSince' | 'cleanupDeletedDevicesData' | 'removeByIntegration' | 'getBindingsBatch' | 'getAllBindings' | 'listDeviceIdsByCaps' | 'listWrappersForCap' | 'listBindableCapsForDeviceType' | 'discoverDevices' | 'adoptDevice' | 'getCreationSchema' | 'createDevice' | 'testCreationField' | 'adoptionListCandidateFilters' | 'adoptionListCandidates' | 'adoptionRefresh' | 'adoptionAdopt' | 'adoptionRelease' | 'adoptionStartJob' | 'adoptionListJobs' | 'adoptionCancelJob' | 'adoptionResync' | 'discoveryProviders' | 'discoverAllProviders' | 'discoverProvider' | 'providerCreationType' | 'providerDiscoveryParamsSchema' | 'getDeviceStatusAggregateBatch'>;
|
|
83
84
|
readonly deviceProvider: Pick<InferProvider<typeof deviceProviderCapability>, 'start' | 'stop' | 'getStatus' | 'getDevices' | 'reloadDevice' | 'supportsDiscovery' | 'discoverDevices' | 'getDiscoveryParamsSchema' | 'getManualCreationType' | 'adoptDiscoveredDevice' | 'supportsManualCreation' | 'getChildCreationSchema' | 'createDevice' | 'testCreationField'>;
|
|
84
85
|
readonly deviceState: Pick<InferProvider<typeof deviceStateCapability>, 'getAllSnapshots' | 'listClaims'>;
|
|
86
|
+
readonly displayPalette: Pick<InferProvider<typeof displayPaletteCapability>, 'getPalette' | 'listPresets' | 'setPalette'>;
|
|
85
87
|
readonly faceGallery: Pick<InferProvider<typeof faceGalleryCapability>, 'listIdentities' | 'createIdentity' | 'renameIdentity' | 'deleteIdentity' | 'listIdentitySamples' | 'auditIdentitySamples' | 'removeSample' | 'getFaceMedia' | 'assignFace' | 'unassignFace' | 'deleteFace' | 'assignFaces' | 'unassignFaces' | 'suggestFaceClusters'>;
|
|
86
88
|
readonly integrations: Pick<InferProvider<typeof integrationsCapability>, 'list' | 'get' | 'getByAddonId' | 'create' | 'update' | 'delete' | 'getSettings' | 'setSettings' | 'getAvailableTypes' | 'testConnection'>;
|
|
87
89
|
readonly keychainAdmin: Pick<InferProvider<typeof keychainAdminCapability>, 'status' | 'listSecrets' | 'listAudit' | 'reveal' | 'setSystemSecret' | 'importSecret' | 'deleteOrphans' | 'rotateMasterKey' | 'purgeRetiredKeys' | 'downloadRecoveryKey' | 'resetKeychain' | 'resetReport' | 'acknowledgeReset'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -174,7 +174,10 @@ export { COCO_80_LABELS, COCO_TO_MACRO, DETECTION_MACRO_CLASSES, isDetectionMacr
|
|
|
174
174
|
export { buildFrigateClassMap, type ClassMapMacroTarget, FRIGATE_PLUS_CLASS_FLOORS, FRIGATE_PLUS_TO_MACRO, FRIGATE_PLUS_UNMAPPED_LABELS, FRIGATE_STOCK_CLASS_FLOORS, frigateDefaultClassFloors, type FrigateLabelFields, frigateLabelFields, } from './catalogs/frigate-plus-classmap.js';
|
|
175
175
|
export { allowedSuppliedEffect, containingParentIndex, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, type CropSupplySource, type CropSupplyStepId, deriveMaskSupplies, deriveRootSupplies, describeRootSupplies, describeRootSupply, isLabelSupplyStepId, isRootSuppliableStepId, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, type LabelSupplyStepId, LINKED_LABEL_STEP_PREFIX, linkedLabelStepId, MASK_EMITTING_POSTPROCESSORS, MASK_SUPPLY_STEP_IDS, type MaskSupplyStepId, linkedStepOf, readUseRootModel, resolveRootSupply, ROOT_CHILD_CONTAINMENT_MIN, ROOT_SUPPLIABLE_STEP_IDS, rootSuppliesOf, rootSupplyServes, type RootSuppliableStepId, type RootSupplyInactiveReason, type RootSupplyState, type RootSupplyStepDefaults, type SupplyBox, type SupplyClassMap, supplyFor, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, } from './catalogs/root-model-supply.js';
|
|
176
176
|
export { DEVICE_STATE_READERS, readDeviceStateFrom, stateVocabularyFor, } from './catalogs/device-state-vocabulary.js';
|
|
177
|
-
export { colorForKind, DEFAULT_EVENT_COLOR, EVENT_TAXONOMY, type EventTaxonomyCategory, type EventTaxonomyEntry, type EventTaxonomyLevel, getTaxonomyEntry, subKindsOf,
|
|
177
|
+
export { colorForKind, DEFAULT_EVENT_COLOR, EVENT_TAXONOMY, type EventTaxonomyCategory, type EventTaxonomyEntry, type EventTaxonomyLevel, getTaxonomyEntry, subKindsOf, } from './catalogs/event-taxonomy.js';
|
|
178
|
+
export { bundledCamstack, DISPLAY_PRESETS, formatPaletteViolations, mergeOverrides, paintHex, paletteFromInput, paletteFromStored, PaletteRejectedError, paletteResultSchema, paletteSwatchSchema, presetById, setPaletteInputSchema, storedFromReady, storedPaletteSchema, swatchHex, validatePalette, type DisplayPreset, type PaletteReady, type PaletteResult, type PaletteSwatch, type PaletteSwatchMap, type PaletteVerdict, type PaletteViolation, type SetPaletteInput, type StoredPalette, } from './catalogs/display-palette.js';
|
|
179
|
+
export { AUDIO_GRADIENT_ALPHAS, PALETTE_BACKGROUNDS, PALETTE_ENTRY_IDS, PALETTE_MIN_CONTRAST, PALETTE_MIN_DELTA_E, PALETTE_MIN_DELTA_E_MARK, PALETTE_PRESET_IDS, type PaletteBackground, type PaletteEntryId, type PalettePresetId, } from './catalogs/display-palette.js';
|
|
180
|
+
export { paletteEntryLabel, paletteLegend, type PaletteLegendGroup, type PaletteLegendItem, } from './catalogs/palette-legend.js';
|
|
178
181
|
export { buildNcTaxonomy, NC_TAXONOMY, type NcTaxonomy, type NcTaxonomyEntry, NcTaxonomyEntrySchema, NcTaxonomySchema, } from './catalogs/nc-taxonomy.js';
|
|
179
182
|
export { DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, evaluateSensorEdge, evaluateSensorLevelEdge, isSourceCap, type SensorEdgeIgnoreReason, type SensorEdgeInput, type SensorEdgeVerdict, type SensorLevelEdgeInput, type SensorLevelEdgeVerdict, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_CAPS, SOURCE_DEVICE_TYPES, sliceActiveValue, sliceChangedAt, } from './catalogs/sensor-active-state.js';
|
|
180
183
|
export * from './constants.js';
|