@camstack/types 1.2.354 → 1.2.356
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/addon.d.ts +7 -1
- package/dist/addon.js +1685 -1
- package/dist/addon.mjs +1679 -2
- package/dist/{composition-Bzr7GwgP.mjs → composition-C-WpVYTX.mjs} +22 -0
- package/dist/{composition-BLWAivB2.js → composition-DCYnv4I6.js} +22 -0
- package/dist/deps/archive-extract.d.ts +11 -0
- package/dist/deps/binary-downloader.d.ts +9 -0
- package/dist/deps/python-downloader.d.ts +4 -0
- package/dist/deps/zip-extract.d.ts +1 -0
- package/dist/generated/addon-api.d.ts +22 -0
- package/dist/generated/addon-cap-facts.d.ts +20 -0
- package/dist/index.js +17 -164
- package/dist/index.mjs +4 -151
- package/dist/node.d.ts +2 -0
- package/dist/node.js +334 -56
- package/dist/node.mjs +330 -58
- package/dist/{sleep-SgkKj2bk.js → sleep-BFVY4_xY.js} +198 -0
- package/dist/{sleep-Tkp9dHXv.mjs → sleep-vWTnHq9G.mjs} +157 -1
- package/dist/types/model-formats.d.ts +9 -0
- package/dist/types/models.d.ts +4 -2
- package/dist/util/owner-only-file.d.ts +28 -0
- package/package.json +1 -1
package/dist/addon.d.ts
CHANGED
|
@@ -29,21 +29,27 @@ export { DEVICE_CHILDREN_BATCH_MAX } from './device/children-batch-max.js';
|
|
|
29
29
|
export { DeviceType } from './device/device-type.js';
|
|
30
30
|
export { collectZodSecretPaths, isZodSecret } from './device/zod-secret.js';
|
|
31
31
|
export { DisposerChain } from './disposer-chain.js';
|
|
32
|
+
export { HF_REPO } from './constants.js';
|
|
33
|
+
export { MODEL_FORMATS } from './types/model-formats.js';
|
|
34
|
+
export { hfModelUrl } from './utils/hf-url.js';
|
|
32
35
|
export { PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, } from './interfaces/addon-peer-bytes.js';
|
|
33
36
|
export type * from './interfaces/addon-peer-bytes.js';
|
|
34
37
|
export { EventCategory } from './enums/event-category.js';
|
|
35
38
|
export { CAP_INPUT_DEFAULTS, withCapInputDefaults } from './generated/cap-input-defaults.js';
|
|
36
39
|
export { COLLECTION_ARRAY_METHODS, PROVIDER_OPTIONAL_METHODS, isCollectionArrayMethodName, isProviderOptionalMethodName, } from './generated/collection-array-methods.js';
|
|
40
|
+
export { CAP_ADVANCE_FIELDS, CAP_STATE_LEAVES } from './generated/addon-cap-facts.js';
|
|
41
|
+
export type { CapStateLeaf } from './generated/addon-cap-facts.js';
|
|
37
42
|
export { createDeviceProxy } from './generated/device-proxy.js';
|
|
38
43
|
export { createEventBusSliceSource } from './device/device-state-handle.js';
|
|
39
44
|
export type { SliceEventBus, SliceHandleApi } from './device/device-state-handle.js';
|
|
40
45
|
export { DEVICE_SCOPED_CAPS, isDeviceScopedCap } from './generated/device-scoped-caps.js';
|
|
41
46
|
export type { AddonDeclaration, AddonInitResult, ICamstackAddon, ProviderRegistration, } from './interfaces/addon.js';
|
|
42
47
|
export { DATAPLANE_SECRET_HEADER } from './interfaces/addon-data-plane.js';
|
|
43
|
-
export { emitReadiness } from './interfaces/event-bus.js';
|
|
48
|
+
export { createEvent, emitReadiness } from './interfaces/event-bus.js';
|
|
44
49
|
export { ReadinessRegistry, ReadinessTimeoutError, scopeKey, } from './readiness/readiness-registry.js';
|
|
45
50
|
export { BOOT_RECOVERY_BACKOFF_MS } from './util/boot-recovery-backoff.js';
|
|
46
51
|
export { errMsg } from './utils/err-msg.js';
|
|
52
|
+
export { maskUrlCredentials } from './utils/mask-url.js';
|
|
47
53
|
export { asJsonObject, asString, parseJsonUnknown } from './utils/json-safe.js';
|
|
48
54
|
export { sleep } from './utils/sleep.js';
|
|
49
55
|
export * from './keychain/index.js';
|