@@ -28,6 +28,11 @@ export interface GetAnalytics {
28
28
from : [ ] | [ bigint ] ;
29
29
satellite_id : [ ] | [ Principal ] ;
30
30
}
31
+ export interface OrbiterSatelliteConfig {
32
+ updated_at : bigint ;
33
+ created_at : bigint ;
34
+ enabled : boolean ;
35
+ }
31
36
export interface PageView {
32
37
title : string ;
33
38
updated_at : bigint ;
@@ -47,11 +52,6 @@ export interface PageViewDevice {
47
52
export type Result = { Ok : PageView } | { Err : string } ;
48
53
export type Result_1 = { Ok : null } | { Err : Array < [ AnalyticKey , string ] > } ;
49
54
export type Result_2 = { Ok : TrackEvent } | { Err : string } ;
50
- export interface SatelliteConfig {
51
- updated_at : bigint ;
52
- created_at : bigint ;
53
- enabled : boolean ;
54
- }
55
55
export interface SetController {
56
56
metadata : Array < [ string , string ] > ;
57
57
scope : ControllerScope ;
@@ -99,13 +99,13 @@ export interface _SERVICE {
99
99
get_page_views : ActorMethod < [ GetAnalytics ] , Array < [ AnalyticKey , PageView ] > > ;
100
100
get_track_events : ActorMethod < [ GetAnalytics ] , Array < [ AnalyticKey , TrackEvent ] > > ;
101
101
list_controllers : ActorMethod < [ ] , Array < [ Principal , Controller ] > > ;
102
- list_satellite_configs : ActorMethod < [ ] , Array < [ Principal , SatelliteConfig ] > > ;
102
+ list_satellite_configs : ActorMethod < [ ] , Array < [ Principal , OrbiterSatelliteConfig ] > > ;
103
103
set_controllers : ActorMethod < [ SetControllersArgs ] , Array < [ Principal , Controller ] > > ;
104
104
set_page_view : ActorMethod < [ AnalyticKey , SetPageView ] , Result > ;
105
105
set_page_views : ActorMethod < [ Array < [ AnalyticKey , SetPageView ] > ] , Result_1 > ;
106
106
set_satellite_configs : ActorMethod <
107
107
[ Array < [ Principal , SetSatelliteConfig ] > ] ,
108
- Array < [ Principal , SatelliteConfig ] >
108
+ Array < [ Principal , OrbiterSatelliteConfig ] >
109
109
> ;
110
110
set_track_event : ActorMethod < [ AnalyticKey , SetTrackEvent ] , Result_2 > ;
111
111
set_track_events : ActorMethod < [ Array < [ AnalyticKey , SetTrackEvent ] > ] , Result_1 > ;
0 commit comments