@adventurelabs/scout-core 1.4.74 → 1.4.76
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/helpers/cache.d.ts +10 -0
- package/dist/helpers/cache.js +86 -2
- package/dist/helpers/client_abilities_jwt_keys.d.ts +10 -0
- package/dist/helpers/client_abilities_jwt_keys.js +25 -0
- package/dist/helpers/client_abilities_token.d.ts +7 -0
- package/dist/helpers/client_abilities_token.js +53 -0
- package/dist/helpers/client_abilities_token_server.d.ts +7 -0
- package/dist/helpers/client_abilities_token_server.js +7 -0
- package/dist/helpers/herd_roles.d.ts +14 -0
- package/dist/helpers/herd_roles.js +134 -0
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers/index.js +4 -0
- package/dist/helpers/invitations.d.ts +2 -2
- package/dist/helpers/invitations.js +2 -2
- package/dist/helpers/pubsub_token.d.ts +3 -1
- package/dist/helpers/pubsub_token.js +41 -0
- package/dist/helpers/ui.d.ts +3 -2
- package/dist/helpers/ui.js +6 -1
- package/dist/helpers/users.d.ts +2 -2
- package/dist/helpers/users.js +27 -16
- package/dist/index.d.ts +7 -1
- package/dist/index.js +6 -0
- package/dist/providers/ScoutRefreshProvider.d.ts +28 -3532
- package/dist/providers/ScoutRefreshProvider.js +191 -36
- package/dist/types/client_abilities_token.d.ts +19 -0
- package/dist/types/client_abilities_token.js +16 -0
- package/dist/types/db.d.ts +11 -2
- package/dist/types/jwt_mint.d.ts +10 -0
- package/dist/types/jwt_mint.js +26 -0
- package/dist/types/pubsub_token.d.ts +5 -0
- package/dist/types/pubsub_token.js +1 -1
- package/dist/types/supabase.d.ts +191 -38
- package/dist/types/supabase.js +0 -1
- package/package.json +12 -9
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export * from "./types/bounding_boxes";
|
|
|
11
11
|
export * from "./types/events";
|
|
12
12
|
export * from "./types/connectivity";
|
|
13
13
|
export * from "./types/pubsub_token";
|
|
14
|
+
export * from "./types/client_abilities_token";
|
|
15
|
+
export * from "./types/jwt_mint";
|
|
14
16
|
export * from "./helpers/analysis_usage";
|
|
15
17
|
export * from "./helpers/artifacts";
|
|
16
18
|
export * from "./helpers/auth";
|
|
@@ -48,6 +50,10 @@ export * from "./helpers/heartbeats";
|
|
|
48
50
|
export * from "./helpers/providers";
|
|
49
51
|
export * from "./helpers/pubsub_token";
|
|
50
52
|
export * from "./helpers/pubsub_token_server";
|
|
53
|
+
export * from "./helpers/client_abilities_token";
|
|
54
|
+
export * from "./helpers/client_abilities_token_server";
|
|
55
|
+
export * from "./helpers/client_abilities_jwt_keys";
|
|
56
|
+
export * from "./helpers/herd_roles";
|
|
51
57
|
export * from "./helpers/observations";
|
|
52
58
|
export * from "./helpers/operators";
|
|
53
59
|
export * from "./helpers/versions_software";
|
|
@@ -76,5 +82,5 @@ export * from "./supabase/middleware";
|
|
|
76
82
|
export * from "./supabase/server";
|
|
77
83
|
export * from "./api_keys/actions";
|
|
78
84
|
export type { HerdModule, IHerdModule } from "./types/herd_module";
|
|
79
|
-
export type { IDevice, IEvent, IUser, IHerd, IHerdPrettyLocation, IEventWithTags, IZoneWithActions, ICredential, CredentialInsert, CredentialUpdate, ICertificate, CertificateInsert, CertificateUpdate, IUserAndRole, IUserProfileRow, IHerdInvitation, IHerdInvitationWithHerdSlug, IHerdAllowedDomain, IUserRolePerHerd, HerdInvitationStatus, IApiKeyScout, ILayer, IHeartbeat, IProvider, IConnectivity, ISession, ISessionWithCoordinates, IConnectivityWithCoordinates, IObservation, ObservationInsert, ObservationUpdate, IAnalysisJob, IAnalysisTask, AnalysisWorkStatus, } from "./types/db";
|
|
85
|
+
export type { IDevice, IEvent, IUser, IHerd, IHerdPrettyLocation, IEventWithTags, IZoneWithActions, ICredential, CredentialInsert, CredentialUpdate, ICertificate, CertificateInsert, CertificateUpdate, IUserAndRole, IUserProfileRow, IHerdInvitation, IHerdInvitationWithHerdSlug, IHerdAllowedDomain, IUserRolePerHerd, IAbility, IHerdRole, IHerdRoleWithAbilities, HerdRoleSystemName, HerdInvitationStatus, IApiKeyScout, ILayer, IHeartbeat, IProvider, IConnectivity, ISession, ISessionWithCoordinates, IConnectivityWithCoordinates, IObservation, ObservationInsert, ObservationUpdate, IAnalysisJob, IAnalysisTask, AnalysisWorkStatus, } from "./types/db";
|
|
80
86
|
export { EnumSessionsVisibility } from "./types/events";
|
package/dist/index.js
CHANGED
|
@@ -13,6 +13,8 @@ export * from "./types/bounding_boxes";
|
|
|
13
13
|
export * from "./types/events";
|
|
14
14
|
export * from "./types/connectivity";
|
|
15
15
|
export * from "./types/pubsub_token";
|
|
16
|
+
export * from "./types/client_abilities_token";
|
|
17
|
+
export * from "./types/jwt_mint";
|
|
16
18
|
// Helpers
|
|
17
19
|
export * from "./helpers/analysis_usage";
|
|
18
20
|
export * from "./helpers/artifacts";
|
|
@@ -51,6 +53,10 @@ export * from "./helpers/heartbeats";
|
|
|
51
53
|
export * from "./helpers/providers";
|
|
52
54
|
export * from "./helpers/pubsub_token";
|
|
53
55
|
export * from "./helpers/pubsub_token_server";
|
|
56
|
+
export * from "./helpers/client_abilities_token";
|
|
57
|
+
export * from "./helpers/client_abilities_token_server";
|
|
58
|
+
export * from "./helpers/client_abilities_jwt_keys";
|
|
59
|
+
export * from "./helpers/herd_roles";
|
|
54
60
|
export * from "./helpers/observations";
|
|
55
61
|
export * from "./helpers/operators";
|
|
56
62
|
export * from "./helpers/versions_software";
|