@warmhub/sdk-ts 0.53.0 → 0.54.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/dist/index.d.ts
CHANGED
|
@@ -2049,6 +2049,28 @@ type RepoInfo = {
|
|
|
2049
2049
|
};
|
|
2050
2050
|
/** @internal */
|
|
2051
2051
|
type RepoList = RepoListResult;
|
|
2052
|
+
/**
|
|
2053
|
+
* A cross-org search hit (repo or component). GH-4383.
|
|
2054
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/globalsearchresultitem/
|
|
2055
|
+
*/
|
|
2056
|
+
type GlobalSearchResultItem = {
|
|
2057
|
+
kind: 'repo' | 'component';
|
|
2058
|
+
orgName: string;
|
|
2059
|
+
name: string;
|
|
2060
|
+
description: string | null;
|
|
2061
|
+
};
|
|
2062
|
+
/** @internal */
|
|
2063
|
+
type GlobalSearchResult = {
|
|
2064
|
+
items: GlobalSearchResultItem[];
|
|
2065
|
+
nextCursor?: string;
|
|
2066
|
+
};
|
|
2067
|
+
/**
|
|
2068
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/globalsearchoptions/
|
|
2069
|
+
*/
|
|
2070
|
+
type GlobalSearchOptions = {
|
|
2071
|
+
limit?: number;
|
|
2072
|
+
cursor?: string;
|
|
2073
|
+
};
|
|
2052
2074
|
/** @internal */
|
|
2053
2075
|
type OrgListOptions = {
|
|
2054
2076
|
includeArchived?: boolean;
|
|
@@ -2941,8 +2963,20 @@ declare class WarmHubClient {
|
|
|
2941
2963
|
* List components installed in a repository.
|
|
2942
2964
|
*
|
|
2943
2965
|
* Pass pagination options when a repository may have many installed components.
|
|
2966
|
+
*
|
|
2967
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
2968
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
2969
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
2970
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
2971
|
+
* token.
|
|
2944
2972
|
*/
|
|
2945
2973
|
list: (orgName: string, repoName: string, opts?: ComponentListOptions) => Promise<ComponentList>;
|
|
2974
|
+
/**
|
|
2975
|
+
* Search public registered components across all orgs (GH-4383).
|
|
2976
|
+
* Public-only at launch. Distinct from listing components installed in a
|
|
2977
|
+
* repo (`component.list`).
|
|
2978
|
+
*/
|
|
2979
|
+
search: (query: string, opts?: GlobalSearchOptions) => Promise<GlobalSearchResult>;
|
|
2946
2980
|
/**
|
|
2947
2981
|
* Fetch one installed component by its `Org/Name` ref.
|
|
2948
2982
|
*/
|
|
@@ -3166,8 +3200,19 @@ declare class WarmHubClient {
|
|
|
3166
3200
|
* List repositories in an organization.
|
|
3167
3201
|
*
|
|
3168
3202
|
* Archived repositories are hidden by default. Search and sort options are applied before pagination.
|
|
3203
|
+
*
|
|
3204
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3205
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3206
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3207
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3208
|
+
* token.
|
|
3169
3209
|
*/
|
|
3170
3210
|
list: (orgName: string, opts?: RepoListOptions) => Promise<RepoList>;
|
|
3211
|
+
/**
|
|
3212
|
+
* Search public repos across all orgs (GH-4383). Public-only at launch;
|
|
3213
|
+
* BM25 over name/description/shape vocabulary/README.
|
|
3214
|
+
*/
|
|
3215
|
+
search: (query: string, opts?: GlobalSearchOptions) => Promise<GlobalSearchResult>;
|
|
3171
3216
|
/**
|
|
3172
3217
|
* Create a repository inside an organization.
|
|
3173
3218
|
*
|
|
@@ -3238,6 +3283,12 @@ declare class WarmHubClient {
|
|
|
3238
3283
|
* Each item includes exact active counts, an activity-oriented `lastWriteAt`, and a `hasErrors` flag for terminal action failures.
|
|
3239
3284
|
*
|
|
3240
3285
|
* Search and sort are applied before pagination, so cursors remain stable across the filtered and ordered list.
|
|
3286
|
+
*
|
|
3287
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3288
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3289
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3290
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3291
|
+
* token.
|
|
3241
3292
|
*/
|
|
3242
3293
|
listPage: (orgName: string, opts?: RepoListPageOptions) => Promise<RepoListPageResult>;
|
|
3243
3294
|
/**
|
|
@@ -3354,6 +3405,12 @@ declare class WarmHubClient {
|
|
|
3354
3405
|
* Return add, revise, retract, and rename history for a shape.
|
|
3355
3406
|
*
|
|
3356
3407
|
* Use pagination options for long-lived shapes with many revisions.
|
|
3408
|
+
*
|
|
3409
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3410
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3411
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3412
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3413
|
+
* token.
|
|
3357
3414
|
*/
|
|
3358
3415
|
history: (orgName: string, repoName: string, name: string, opts?: ShapeHistoryOptions) => Promise<ShapeHistory>;
|
|
3359
3416
|
};
|
|
@@ -3460,6 +3517,12 @@ declare class WarmHubClient {
|
|
|
3460
3517
|
* Query the live delivery feed for a subscription.
|
|
3461
3518
|
*
|
|
3462
3519
|
* Use this for polling or live-log views that need recent delivery status entries.
|
|
3520
|
+
*
|
|
3521
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3522
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3523
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3524
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3525
|
+
* token.
|
|
3463
3526
|
*/
|
|
3464
3527
|
liveFeed: (orgName: string, repoName: string, subscriptionName: string, opts?: ActionLiveFeedOptions) => Promise<ActionLiveFeed>;
|
|
3465
3528
|
/**
|
|
@@ -3497,18 +3560,36 @@ declare class WarmHubClient {
|
|
|
3497
3560
|
* Filter by shape, kind, assertion target, or glob `match` pattern, and choose the data mode appropriate for the payload size. Component filters can narrow results to component-owned records or hide component infrastructure records.
|
|
3498
3561
|
*
|
|
3499
3562
|
* Tokenless reads of public repositories have stricter page-size and page-count limits than authenticated reads.
|
|
3563
|
+
*
|
|
3564
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3565
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3566
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3567
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3568
|
+
* token.
|
|
3500
3569
|
*/
|
|
3501
3570
|
head: (orgName: string, repoName: string, opts?: ThingHeadOptions) => Promise<ThingHead>;
|
|
3502
3571
|
/**
|
|
3503
3572
|
* Iterate every current HEAD row matching the supplied filters.
|
|
3504
3573
|
*
|
|
3505
3574
|
* Prefer this over hand-written cursor loops when scanning all matching records. Pass `opts.cursor` to resume from a saved cursor; the iterator advances the cursor automatically after the first request. Pass `limit` to control page size.
|
|
3575
|
+
*
|
|
3576
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3577
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3578
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3579
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3580
|
+
* token.
|
|
3506
3581
|
*/
|
|
3507
3582
|
headIter: (orgName: string, repoName: string, opts?: ThingHeadOptions) => AsyncIterableIterator<ThingItem>;
|
|
3508
3583
|
/**
|
|
3509
3584
|
* Materialize every current HEAD row matching the supplied filters.
|
|
3510
3585
|
*
|
|
3511
3586
|
* Use `max` to guard memory usage; throws a `WarmHubError` with kind `VALIDATION_ERROR` once more than `max` items have actually been observed across pages.
|
|
3587
|
+
*
|
|
3588
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3589
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3590
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3591
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3592
|
+
* token.
|
|
3512
3593
|
*/
|
|
3513
3594
|
headAll: (orgName: string, repoName: string, opts?: ThingHeadOptions & {
|
|
3514
3595
|
max?: number;
|
|
@@ -3594,6 +3675,12 @@ declare class WarmHubClient {
|
|
|
3594
3675
|
* Return version history and timeline metadata for repository records.
|
|
3595
3676
|
*
|
|
3596
3677
|
* Provide at least one selector: a concrete wref, a shape filter, or an assertion target. Shape- and target-filtered histories support pagination and optional collection resolution.
|
|
3678
|
+
*
|
|
3679
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3680
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3681
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3682
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3683
|
+
* token.
|
|
3597
3684
|
*/
|
|
3598
3685
|
history: (orgName: string | undefined, repoName: string | undefined, opts: ThingHistoryOptions) => Promise<ThingHistory>;
|
|
3599
3686
|
/**
|
|
@@ -3611,6 +3698,12 @@ declare class WarmHubClient {
|
|
|
3611
3698
|
*
|
|
3612
3699
|
* Filter by assertion shape or glob `match` pattern, optionally resolve collection targets, and page through large assertion sets with `limit` and `cursor`.
|
|
3613
3700
|
*
|
|
3701
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3702
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3703
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3704
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3705
|
+
* token.
|
|
3706
|
+
*
|
|
3614
3707
|
* Returns `{ target?, assertions, nextCursor? }`.
|
|
3615
3708
|
* The array is named `assertions`, **not** `items`. This breaks the repo-wide
|
|
3616
3709
|
* `items` convention used by `HeadResult`, `FilterResult`, `SearchResult`,
|
|
@@ -3628,12 +3721,24 @@ declare class WarmHubClient {
|
|
|
3628
3721
|
* Iterate every assertion about a thing or collection target.
|
|
3629
3722
|
*
|
|
3630
3723
|
* Prefer this over hand-written cursor loops when scanning all matching assertions. The iterator reads the `assertions` envelope field and advances the cursor automatically; pass `opts.cursor` to resume from a saved cursor and `limit` to control page size.
|
|
3724
|
+
*
|
|
3725
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3726
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3727
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3728
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3729
|
+
* token.
|
|
3631
3730
|
*/
|
|
3632
3731
|
aboutIter: (orgName: string | undefined, repoName: string | undefined, wref: string, opts?: AboutOptions) => AsyncIterableIterator<Assertion>;
|
|
3633
3732
|
/**
|
|
3634
3733
|
* Materialize every assertion about a thing or collection target.
|
|
3635
3734
|
*
|
|
3636
3735
|
* Use `max` to guard memory usage; throws a `WarmHubError` with kind `VALIDATION_ERROR` once more than `max` assertions have actually been observed across pages.
|
|
3736
|
+
*
|
|
3737
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3738
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3739
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3740
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3741
|
+
* token.
|
|
3637
3742
|
*/
|
|
3638
3743
|
aboutAll: (orgName: string | undefined, repoName: string | undefined, wref: string, opts?: AboutOptions & {
|
|
3639
3744
|
max?: number;
|
|
@@ -3642,18 +3747,36 @@ declare class WarmHubClient {
|
|
|
3642
3747
|
* Query repository records by shape, kind, assertion target, text filters, or glob `match` pattern.
|
|
3643
3748
|
*
|
|
3644
3749
|
* Use this for structured reads where the caller controls filters. For ranked text or vector search, use `thing.search`. For count-only reads, use `thing.count`.
|
|
3750
|
+
*
|
|
3751
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3752
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3753
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3754
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3755
|
+
* token.
|
|
3645
3756
|
*/
|
|
3646
3757
|
query: (orgName: string, repoName: string, opts?: FilterOptions) => Promise<FilterResult>;
|
|
3647
3758
|
/**
|
|
3648
3759
|
* Iterate every repository record matching the supplied filters.
|
|
3649
3760
|
*
|
|
3650
3761
|
* Prefer this over hand-written cursor loops when scanning all matching records. Pass `opts.cursor` to resume from a saved cursor; the iterator advances the cursor automatically after the first request. Pass `limit` to control page size.
|
|
3762
|
+
*
|
|
3763
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3764
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3765
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3766
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3767
|
+
* token.
|
|
3651
3768
|
*/
|
|
3652
3769
|
queryIter: (orgName: string, repoName: string, opts?: FilterOptions) => AsyncIterableIterator<ThingItem>;
|
|
3653
3770
|
/**
|
|
3654
3771
|
* Materialize every repository record matching the supplied filters.
|
|
3655
3772
|
*
|
|
3656
3773
|
* Use `max` to guard memory usage; throws a `WarmHubError` with kind `VALIDATION_ERROR` once more than `max` items have actually been observed across pages.
|
|
3774
|
+
*
|
|
3775
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3776
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3777
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3778
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3779
|
+
* token.
|
|
3657
3780
|
*/
|
|
3658
3781
|
queryAll: (orgName: string, repoName: string, opts?: FilterOptions & {
|
|
3659
3782
|
max?: number;
|
|
@@ -3662,6 +3785,12 @@ declare class WarmHubClient {
|
|
|
3662
3785
|
* Search repository records with text, vector, or hybrid mode.
|
|
3663
3786
|
*
|
|
3664
3787
|
* When searching with an assertion target or collection resolution, pages may be sparse; keep paginating until `nextCursor` is absent.
|
|
3788
|
+
*
|
|
3789
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3790
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3791
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3792
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3793
|
+
* token.
|
|
3665
3794
|
*/
|
|
3666
3795
|
search: (orgName: string, repoName: string, query: string, opts?: SearchOptions) => Promise<SearchResult>;
|
|
3667
3796
|
/**
|
|
@@ -3672,18 +3801,36 @@ declare class WarmHubClient {
|
|
|
3672
3801
|
* Query wref-typed field references for a record.
|
|
3673
3802
|
*
|
|
3674
3803
|
* Inbound mode finds records whose wref fields point at the supplied wref. Outbound mode finds records that the supplied record points to. Inbound queries can be narrowed to a field path.
|
|
3804
|
+
*
|
|
3805
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3806
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3807
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3808
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3809
|
+
* token.
|
|
3675
3810
|
*/
|
|
3676
3811
|
refs: (orgName: string | undefined, repoName: string | undefined, wref: string, opts?: RefsOptions) => Promise<RefsResult>;
|
|
3677
3812
|
/**
|
|
3678
3813
|
* Iterate every wref-typed field reference for a record.
|
|
3679
3814
|
*
|
|
3680
3815
|
* Prefer this over hand-written cursor loops when scanning all matching references. Pass `opts.cursor` to resume from a saved cursor; the iterator advances the cursor automatically after the first request. Pass `limit` to control page size.
|
|
3816
|
+
*
|
|
3817
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3818
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3819
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3820
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3821
|
+
* token.
|
|
3681
3822
|
*/
|
|
3682
3823
|
refsIter: (orgName: string | undefined, repoName: string | undefined, wref: string, opts?: RefsOptions) => AsyncIterableIterator<RefLink>;
|
|
3683
3824
|
/**
|
|
3684
3825
|
* Materialize every wref-typed field reference for a record.
|
|
3685
3826
|
*
|
|
3686
3827
|
* Use `max` to guard memory usage; throws a `WarmHubError` with kind `VALIDATION_ERROR` once more than `max` refs have actually been observed across pages.
|
|
3828
|
+
*
|
|
3829
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3830
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3831
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3832
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3833
|
+
* token.
|
|
3687
3834
|
*/
|
|
3688
3835
|
refsAll: (orgName: string | undefined, repoName: string | undefined, wref: string, opts?: RefsOptions & {
|
|
3689
3836
|
max?: number;
|
|
@@ -3698,14 +3845,32 @@ declare class WarmHubClient {
|
|
|
3698
3845
|
* Stream refreshed `thing.head` results whenever the repository changes.
|
|
3699
3846
|
*
|
|
3700
3847
|
* The SDK re-runs the underlying `thing.head` query after each invalidation and passes the latest snapshot to `onUpdate`.
|
|
3848
|
+
*
|
|
3849
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3850
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3851
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3852
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3853
|
+
* token.
|
|
3701
3854
|
*/
|
|
3702
3855
|
thingHead: (orgName: string, repoName: string, opts: LiveThingHeadOptions | undefined, onUpdate: (result: ThingHead) => void | Promise<void>) => Promise<LiveHandle>;
|
|
3703
3856
|
/**
|
|
3704
3857
|
* Stream refreshed history results for a single wref whenever the repository changes.
|
|
3858
|
+
*
|
|
3859
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3860
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3861
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3862
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3863
|
+
* token.
|
|
3705
3864
|
*/
|
|
3706
3865
|
thingHistory: (orgName: string, repoName: string, opts: LiveThingHistoryOptions, onUpdate: (result: ThingHistory) => void | Promise<void>) => Promise<LiveHandle>;
|
|
3707
3866
|
/**
|
|
3708
3867
|
* Stream refreshed action live-feed entries for a subscription.
|
|
3868
|
+
*
|
|
3869
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
3870
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
3871
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
3872
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
3873
|
+
* token.
|
|
3709
3874
|
*/
|
|
3710
3875
|
subscriptionLog: (orgName: string, repoName: string, subscriptionName: string, opts: LiveSubscriptionLogOptions | undefined, onUpdate: (result: ActionLiveFeed) => void | Promise<void>) => Promise<LiveHandle>;
|
|
3711
3876
|
/**
|
|
@@ -3925,6 +4090,12 @@ declare class WarmHubClient {
|
|
|
3925
4090
|
* Query the live delivery feed for a subscription.
|
|
3926
4091
|
*
|
|
3927
4092
|
* Use this for polling or live-log views that need recent delivery status entries.
|
|
4093
|
+
*
|
|
4094
|
+
* Cursor contract: cursors are short-lived resume tokens for the same query
|
|
4095
|
+
* and result scope. If filters, visibility, or backing streams change, the
|
|
4096
|
+
* backend may reject a saved cursor with `VALIDATION_ERROR` / `Invalid
|
|
4097
|
+
* cursor`; restart the query without `cursor` instead of retrying the stale
|
|
4098
|
+
* token.
|
|
3928
4099
|
*/
|
|
3929
4100
|
liveFeed: (orgName: string, repoName: string, subscriptionName: string, opts?: ActionLiveFeedOptions) => Promise<ActionLiveFeed>;
|
|
3930
4101
|
/**
|
|
@@ -3958,4 +4129,4 @@ declare class WarmHubClient {
|
|
|
3958
4129
|
private watchRepoQuery;
|
|
3959
4130
|
}
|
|
3960
4131
|
|
|
3961
|
-
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAbout, type CollectionTag, type ComponentInfo, type ComponentList, type ComponentListOptions, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type HeadResult, type HistoryResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, type Operation, OperationBuilder, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationSubmitResult, type OrgAccessResult, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, type RefLink, type RefsOptions, type RefsResult, type RenameResult, type RepoAccessResult, type RepoConfigureStatsView, type RepoDescribeResult, type RepoInfo, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|
|
4132
|
+
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAbout, type CollectionTag, type ComponentInfo, type ComponentList, type ComponentListOptions, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type HeadResult, type HistoryResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, type Operation, OperationBuilder, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationSubmitResult, type OrgAccessResult, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, type RefLink, type RefsOptions, type RefsResult, type RenameResult, type RepoAccessResult, type RepoConfigureStatsView, type RepoDescribeResult, type RepoInfo, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AllStreamOperationsFailedError, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, CliCallVerificationError, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, OperationBuilder, PartialStreamSubmissionError, SDK_VERSION, WarmHubClient, WarmHubError, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall } from './chunk-
|
|
1
|
+
export { AllStreamOperationsFailedError, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, CliCallVerificationError, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, OperationBuilder, PartialStreamSubmissionError, SDK_VERSION, WarmHubClient, WarmHubError, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall } from './chunk-I7PLCYOF.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WarmHubClient } from './chunk-
|
|
2
|
-
export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-
|
|
1
|
+
import { WarmHubClient } from './chunk-I7PLCYOF.js';
|
|
2
|
+
export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-I7PLCYOF.js';
|
|
3
3
|
import { createContext, useMemo, useState, useEffect, useContext } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
package/package.json
CHANGED