@adventurelabs/scout-core 1.4.68 → 1.4.70
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/herd_allowed_domains.d.ts +5 -0
- package/dist/helpers/herd_allowed_domains.js +15 -0
- package/dist/helpers/herds.d.ts +4 -1
- package/dist/helpers/herds.js +1 -5
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/index.js +3 -0
- package/dist/helpers/invitations.d.ts +8 -0
- package/dist/helpers/invitations.js +47 -0
- package/dist/helpers/lifecycle.d.ts +14 -0
- package/dist/helpers/lifecycle.js +74 -0
- package/dist/helpers/parts.d.ts +19 -13
- package/dist/helpers/parts.js +51 -47
- package/dist/helpers/pubsub_token.d.ts +5 -0
- package/dist/helpers/pubsub_token.js +14 -0
- package/dist/helpers/pubsub_token_server.d.ts +7 -0
- package/dist/helpers/pubsub_token_server.js +7 -0
- package/dist/helpers/users.d.ts +4 -1
- package/dist/helpers/users.js +15 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +5 -0
- package/dist/providers/ScoutRefreshProvider.d.ts +351 -26
- package/dist/types/db.d.ts +5 -0
- package/dist/types/pubsub_token.d.ts +7 -0
- package/dist/types/pubsub_token.js +1 -0
- package/dist/types/supabase.d.ts +366 -30
- package/dist/types/supabase.js +3 -2
- package/package.json +1 -1
package/dist/types/db.d.ts
CHANGED
|
@@ -6,10 +6,12 @@ export type DeviceType = Database["public"]["Enums"]["device_type"];
|
|
|
6
6
|
export type MediaType = Database["public"]["Enums"]["media_type"];
|
|
7
7
|
export type TagObservationType = Database["public"]["Enums"]["tag_observation_type"];
|
|
8
8
|
export type AnalysisWorkStatus = Database["public"]["Enums"]["analysis_work_status"];
|
|
9
|
+
export type EntityLifecycle = Database["public"]["Enums"]["entity_lifecycle"];
|
|
9
10
|
/** Supabase Auth user (`auth.getUser()`); not `public.users`. */
|
|
10
11
|
export type IUser = User;
|
|
11
12
|
/** Full `public.users` profile row (generated from DB). */
|
|
12
13
|
export type IUserProfileRow = Database["public"]["Tables"]["users"]["Row"];
|
|
14
|
+
export type IDeviceRow = Database["public"]["Tables"]["devices"]["Row"];
|
|
13
15
|
export type IDevice = Database["public"]["CompositeTypes"]["device_pretty_location"] & {
|
|
14
16
|
api_keys_scout?: IApiKeyScout[];
|
|
15
17
|
parts?: IPart[];
|
|
@@ -25,6 +27,9 @@ export type ILayer = Database["public"]["Tables"]["layers"]["Row"];
|
|
|
25
27
|
export type IAction = Database["public"]["Tables"]["actions"]["Row"];
|
|
26
28
|
export type IZone = Database["public"]["Tables"]["zones"]["Row"];
|
|
27
29
|
export type IUserRolePerHerd = Database["public"]["Tables"]["users_roles_per_herd"]["Row"];
|
|
30
|
+
export type IHerdInvitation = Database["public"]["Tables"]["herd_invitations"]["Row"];
|
|
31
|
+
export type IHerdAllowedDomain = Database["public"]["Tables"]["herd_allowed_domains"]["Row"];
|
|
32
|
+
export type HerdInvitationStatus = Database["public"]["Enums"]["herd_invitation_status"];
|
|
28
33
|
export type IHerd = Database["public"]["Tables"]["herds"]["Row"];
|
|
29
34
|
export type ISession = Database["public"]["Tables"]["sessions"]["Row"];
|
|
30
35
|
export type IConnectivity = Database["public"]["Tables"]["connectivity"]["Row"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|