@junobuild/core-peer 1.0.3 → 1.1.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.
Files changed (53) hide show
  1. package/dist/browser/index.js +1 -1
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/node/index.mjs +1 -1
  4. package/dist/node/index.mjs.map +4 -4
  5. package/dist/types/api/actor.api.d.ts +1 -1
  6. package/dist/types/api/storage.api.d.ts +4 -4
  7. package/dist/types/services/storage.services.d.ts +3 -3
  8. package/dist/types/stores/actor.store.d.ts +1 -2
  9. package/dist/types/types/storage.types.d.ts +2 -2
  10. package/dist/types/utils/data.utils.d.ts +2 -2
  11. package/dist/types/utils/doc.utils.d.ts +4 -4
  12. package/dist/types/utils/list.utils.d.ts +2 -2
  13. package/package.json +6 -5
  14. package/dist/declarations/deprecated/console-0-0-14.did.d.ts +0 -267
  15. package/dist/declarations/deprecated/console-0-0-14.factory.did.js +0 -285
  16. package/dist/declarations/deprecated/console-0-0-8-patch1.did.d.ts +0 -75
  17. package/dist/declarations/deprecated/console-0-0-8-patch1.factory.did.js +0 -80
  18. package/dist/declarations/deprecated/mission_control-0-0-13.did.d.ts +0 -246
  19. package/dist/declarations/deprecated/mission_control-0-0-13.factory.did.js +0 -280
  20. package/dist/declarations/deprecated/mission_control-0-0-14.did.d.ts +0 -241
  21. package/dist/declarations/deprecated/mission_control-0-0-14.factory.did.js +0 -258
  22. package/dist/declarations/deprecated/mission_control-0-0-4.did.d.ts +0 -80
  23. package/dist/declarations/deprecated/mission_control-0-0-4.factory.did.js +0 -99
  24. package/dist/declarations/deprecated/observatory-0-0-9.did.d.ts +0 -70
  25. package/dist/declarations/deprecated/observatory-0-0-9.factory.did.js +0 -76
  26. package/dist/declarations/deprecated/orbiter-0-0-6.did.d.ts +0 -161
  27. package/dist/declarations/deprecated/orbiter-0-0-6.factory.did.js +0 -192
  28. package/dist/declarations/deprecated/orbiter-0-0-7.did.d.ts +0 -166
  29. package/dist/declarations/deprecated/orbiter-0-0-7.factory.did.js +0 -197
  30. package/dist/declarations/deprecated/orbiter-0-0-8.did.d.ts +0 -245
  31. package/dist/declarations/deprecated/orbiter-0-0-8.factory.did.js +0 -287
  32. package/dist/declarations/deprecated/orbiter-0-2-0.did.d.ts +0 -277
  33. package/dist/declarations/deprecated/orbiter-0-2-0.factory.did.js +0 -319
  34. package/dist/declarations/deprecated/satellite-0-0-16.did.d.ts +0 -240
  35. package/dist/declarations/deprecated/satellite-0-0-16.factory.did.js +0 -264
  36. package/dist/declarations/deprecated/satellite-0-0-17.did.d.ts +0 -254
  37. package/dist/declarations/deprecated/satellite-0-0-17.factory.did.js +0 -281
  38. package/dist/declarations/deprecated/satellite-0-0-21.did.d.ts +0 -299
  39. package/dist/declarations/deprecated/satellite-0-0-21.factory.did.js +0 -333
  40. package/dist/declarations/deprecated/satellite-0-0-22.did.d.ts +0 -290
  41. package/dist/declarations/deprecated/satellite-0-0-22.factory.did.js +0 -318
  42. package/dist/declarations/deprecated/satellite-0-0-8.did.d.ts +0 -183
  43. package/dist/declarations/deprecated/satellite-0-0-8.factory.did.js +0 -194
  44. package/dist/declarations/deprecated/satellite-0-0-9.did.d.ts +0 -199
  45. package/dist/declarations/deprecated/satellite-0-0-9.factory.did.js +0 -213
  46. package/dist/declarations/satellite/satellite.did.d.ts +0 -396
  47. package/dist/declarations/satellite/satellite.factory.certified.did.js +0 -419
  48. package/dist/declarations/satellite/satellite.factory.did.js +0 -419
  49. package/dist/declarations/satellite/satellite.factory.did.mjs +0 -419
  50. package/dist/declarations/sputnik/sputnik.did.d.ts +0 -396
  51. package/dist/declarations/sputnik/sputnik.factory.certified.did.js +0 -419
  52. package/dist/declarations/sputnik/sputnik.factory.did.js +0 -419
  53. package/dist/types/api/_actor.factory.d.ts +0 -5
@@ -1,245 +0,0 @@
1
- import type {ActorMethod} from '@dfinity/agent';
2
- import type {IDL} from '@dfinity/candid';
3
- import type {Principal} from '@dfinity/principal';
4
-
5
- export interface AnalyticKey {
6
- key: string;
7
- collected_at: bigint;
8
- }
9
- export interface AnalyticsBrowsersPageViews {
10
- safari: number;
11
- opera: number;
12
- others: number;
13
- firefox: number;
14
- chrome: number;
15
- }
16
- export interface AnalyticsClientsPageViews {
17
- browsers: AnalyticsBrowsersPageViews;
18
- devices: AnalyticsDevicesPageViews;
19
- }
20
- export interface AnalyticsDevicesPageViews {
21
- desktop: number;
22
- others: number;
23
- mobile: number;
24
- }
25
- export interface AnalyticsMetricsPageViews {
26
- bounce_rate: number;
27
- average_page_views_per_session: number;
28
- daily_total_page_views: Array<[CalendarDate, number]>;
29
- total_page_views: number;
30
- unique_page_views: bigint;
31
- unique_sessions: bigint;
32
- }
33
- export interface AnalyticsTop10PageViews {
34
- referrers: Array<[string, number]>;
35
- pages: Array<[string, number]>;
36
- }
37
- export interface AnalyticsTrackEvents {
38
- total: Array<[string, number]>;
39
- }
40
- export interface AnalyticsWebVitalsPageMetrics {
41
- cls: [] | [number];
42
- fcp: [] | [number];
43
- inp: [] | [number];
44
- lcp: [] | [number];
45
- ttfb: [] | [number];
46
- }
47
- export interface AnalyticsWebVitalsPerformanceMetrics {
48
- overall: AnalyticsWebVitalsPageMetrics;
49
- pages: Array<[string, AnalyticsWebVitalsPageMetrics]>;
50
- }
51
- export interface CalendarDate {
52
- day: number;
53
- month: number;
54
- year: number;
55
- }
56
- export interface Controller {
57
- updated_at: bigint;
58
- metadata: Array<[string, string]>;
59
- created_at: bigint;
60
- scope: ControllerScope;
61
- expires_at: [] | [bigint];
62
- }
63
- export type ControllerScope = {Write: null} | {Admin: null};
64
- export interface DelSatelliteConfig {
65
- version: [] | [bigint];
66
- }
67
- export interface DeleteControllersArgs {
68
- controllers: Array<Principal>;
69
- }
70
- export interface DepositCyclesArgs {
71
- cycles: bigint;
72
- destination_id: Principal;
73
- }
74
- export interface GetAnalytics {
75
- to: [] | [bigint];
76
- from: [] | [bigint];
77
- satellite_id: [] | [Principal];
78
- }
79
- export interface HttpRequest {
80
- url: string;
81
- method: string;
82
- body: Uint8Array | number[];
83
- headers: Array<[string, string]>;
84
- certificate_version: [] | [number];
85
- }
86
- export interface HttpResponse {
87
- body: Uint8Array | number[];
88
- headers: Array<[string, string]>;
89
- upgrade: [] | [boolean];
90
- status_code: number;
91
- }
92
- export interface MemorySize {
93
- stable: bigint;
94
- heap: bigint;
95
- }
96
- export type NavigationType =
97
- | {Navigate: null}
98
- | {Restore: null}
99
- | {Reload: null}
100
- | {BackForward: null}
101
- | {BackForwardCache: null}
102
- | {Prerender: null};
103
- export interface OrbiterSatelliteConfig {
104
- updated_at: bigint;
105
- features: [] | [OrbiterSatelliteFeatures];
106
- restricted_origin: [] | [string];
107
- created_at: bigint;
108
- version: [] | [bigint];
109
- }
110
- export interface OrbiterSatelliteFeatures {
111
- performance_metrics: boolean;
112
- track_events: boolean;
113
- page_views: boolean;
114
- }
115
- export interface PageView {
116
- title: string;
117
- updated_at: bigint;
118
- referrer: [] | [string];
119
- time_zone: string;
120
- session_id: string;
121
- href: string;
122
- created_at: bigint;
123
- satellite_id: Principal;
124
- device: PageViewDevice;
125
- version: [] | [bigint];
126
- user_agent: [] | [string];
127
- }
128
- export interface PageViewDevice {
129
- inner_height: number;
130
- inner_width: number;
131
- }
132
- export type PerformanceData = {WebVitalsMetric: WebVitalsMetric};
133
- export interface PerformanceMetric {
134
- updated_at: bigint;
135
- session_id: string;
136
- data: PerformanceData;
137
- href: string;
138
- metric_name: PerformanceMetricName;
139
- created_at: bigint;
140
- satellite_id: Principal;
141
- version: [] | [bigint];
142
- }
143
- export type PerformanceMetricName =
144
- | {CLS: null}
145
- | {FCP: null}
146
- | {INP: null}
147
- | {LCP: null}
148
- | {TTFB: null};
149
- export type Result = {Ok: PageView} | {Err: string};
150
- export type Result_1 = {Ok: null} | {Err: Array<[AnalyticKey, string]>};
151
- export type Result_2 = {Ok: PerformanceMetric} | {Err: string};
152
- export type Result_3 = {Ok: TrackEvent} | {Err: string};
153
- export interface SetController {
154
- metadata: Array<[string, string]>;
155
- scope: ControllerScope;
156
- expires_at: [] | [bigint];
157
- }
158
- export interface SetControllersArgs {
159
- controller: SetController;
160
- controllers: Array<Principal>;
161
- }
162
- export interface SetPageView {
163
- title: string;
164
- updated_at: [] | [bigint];
165
- referrer: [] | [string];
166
- time_zone: string;
167
- session_id: string;
168
- href: string;
169
- satellite_id: Principal;
170
- device: PageViewDevice;
171
- version: [] | [bigint];
172
- user_agent: [] | [string];
173
- }
174
- export interface SetPerformanceMetric {
175
- session_id: string;
176
- data: PerformanceData;
177
- href: string;
178
- metric_name: PerformanceMetricName;
179
- satellite_id: Principal;
180
- version: [] | [bigint];
181
- user_agent: [] | [string];
182
- }
183
- export interface SetSatelliteConfig {
184
- features: [] | [OrbiterSatelliteFeatures];
185
- restricted_origin: [] | [string];
186
- version: [] | [bigint];
187
- }
188
- export interface SetTrackEvent {
189
- updated_at: [] | [bigint];
190
- session_id: string;
191
- metadata: [] | [Array<[string, string]>];
192
- name: string;
193
- satellite_id: Principal;
194
- version: [] | [bigint];
195
- user_agent: [] | [string];
196
- }
197
- export interface TrackEvent {
198
- updated_at: bigint;
199
- session_id: string;
200
- metadata: [] | [Array<[string, string]>];
201
- name: string;
202
- created_at: bigint;
203
- satellite_id: Principal;
204
- version: [] | [bigint];
205
- }
206
- export interface WebVitalsMetric {
207
- id: string;
208
- value: number;
209
- navigation_type: [] | [NavigationType];
210
- delta: number;
211
- }
212
- export interface _SERVICE {
213
- del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
214
- del_satellite_config: ActorMethod<[Principal, DelSatelliteConfig], undefined>;
215
- deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
216
- get_page_views: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PageView]>>;
217
- get_page_views_analytics_clients: ActorMethod<[GetAnalytics], AnalyticsClientsPageViews>;
218
- get_page_views_analytics_metrics: ActorMethod<[GetAnalytics], AnalyticsMetricsPageViews>;
219
- get_page_views_analytics_top_10: ActorMethod<[GetAnalytics], AnalyticsTop10PageViews>;
220
- get_performance_metrics: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PerformanceMetric]>>;
221
- get_performance_metrics_analytics_web_vitals: ActorMethod<
222
- [GetAnalytics],
223
- AnalyticsWebVitalsPerformanceMetrics
224
- >;
225
- get_track_events: ActorMethod<[GetAnalytics], Array<[AnalyticKey, TrackEvent]>>;
226
- get_track_events_analytics: ActorMethod<[GetAnalytics], AnalyticsTrackEvents>;
227
- http_request: ActorMethod<[HttpRequest], HttpResponse>;
228
- http_request_update: ActorMethod<[HttpRequest], HttpResponse>;
229
- list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
230
- list_satellite_configs: ActorMethod<[], Array<[Principal, OrbiterSatelliteConfig]>>;
231
- memory_size: ActorMethod<[], MemorySize>;
232
- set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
233
- set_page_view: ActorMethod<[AnalyticKey, SetPageView], Result>;
234
- set_page_views: ActorMethod<[Array<[AnalyticKey, SetPageView]>], Result_1>;
235
- set_performance_metric: ActorMethod<[AnalyticKey, SetPerformanceMetric], Result_2>;
236
- set_performance_metrics: ActorMethod<[Array<[AnalyticKey, SetPerformanceMetric]>], Result_1>;
237
- set_satellite_configs: ActorMethod<
238
- [Array<[Principal, SetSatelliteConfig]>],
239
- Array<[Principal, OrbiterSatelliteConfig]>
240
- >;
241
- set_track_event: ActorMethod<[AnalyticKey, SetTrackEvent], Result_3>;
242
- set_track_events: ActorMethod<[Array<[AnalyticKey, SetTrackEvent]>], Result_1>;
243
- }
244
- export declare const idlFactory: IDL.InterfaceFactory;
245
- export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
@@ -1,287 +0,0 @@
1
- // @ts-ignore
2
- export const idlFactory = ({IDL}) => {
3
- const DeleteControllersArgs = IDL.Record({
4
- controllers: IDL.Vec(IDL.Principal)
5
- });
6
- const ControllerScope = IDL.Variant({
7
- Write: IDL.Null,
8
- Admin: IDL.Null
9
- });
10
- const Controller = IDL.Record({
11
- updated_at: IDL.Nat64,
12
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
13
- created_at: IDL.Nat64,
14
- scope: ControllerScope,
15
- expires_at: IDL.Opt(IDL.Nat64)
16
- });
17
- const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
18
- const DepositCyclesArgs = IDL.Record({
19
- cycles: IDL.Nat,
20
- destination_id: IDL.Principal
21
- });
22
- const GetAnalytics = IDL.Record({
23
- to: IDL.Opt(IDL.Nat64),
24
- from: IDL.Opt(IDL.Nat64),
25
- satellite_id: IDL.Opt(IDL.Principal)
26
- });
27
- const AnalyticKey = IDL.Record({
28
- key: IDL.Text,
29
- collected_at: IDL.Nat64
30
- });
31
- const PageViewDevice = IDL.Record({
32
- inner_height: IDL.Nat16,
33
- inner_width: IDL.Nat16
34
- });
35
- const PageView = IDL.Record({
36
- title: IDL.Text,
37
- updated_at: IDL.Nat64,
38
- referrer: IDL.Opt(IDL.Text),
39
- time_zone: IDL.Text,
40
- session_id: IDL.Text,
41
- href: IDL.Text,
42
- created_at: IDL.Nat64,
43
- satellite_id: IDL.Principal,
44
- device: PageViewDevice,
45
- version: IDL.Opt(IDL.Nat64),
46
- user_agent: IDL.Opt(IDL.Text)
47
- });
48
- const AnalyticsBrowsersPageViews = IDL.Record({
49
- safari: IDL.Float64,
50
- opera: IDL.Float64,
51
- others: IDL.Float64,
52
- firefox: IDL.Float64,
53
- chrome: IDL.Float64
54
- });
55
- const AnalyticsDevicesPageViews = IDL.Record({
56
- desktop: IDL.Float64,
57
- others: IDL.Float64,
58
- mobile: IDL.Float64
59
- });
60
- const AnalyticsClientsPageViews = IDL.Record({
61
- browsers: AnalyticsBrowsersPageViews,
62
- devices: AnalyticsDevicesPageViews
63
- });
64
- const CalendarDate = IDL.Record({
65
- day: IDL.Nat8,
66
- month: IDL.Nat8,
67
- year: IDL.Int32
68
- });
69
- const AnalyticsMetricsPageViews = IDL.Record({
70
- bounce_rate: IDL.Float64,
71
- average_page_views_per_session: IDL.Float64,
72
- daily_total_page_views: IDL.Vec(IDL.Tuple(CalendarDate, IDL.Nat32)),
73
- total_page_views: IDL.Nat32,
74
- unique_page_views: IDL.Nat64,
75
- unique_sessions: IDL.Nat64
76
- });
77
- const AnalyticsTop10PageViews = IDL.Record({
78
- referrers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
79
- pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
80
- });
81
- const NavigationType = IDL.Variant({
82
- Navigate: IDL.Null,
83
- Restore: IDL.Null,
84
- Reload: IDL.Null,
85
- BackForward: IDL.Null,
86
- BackForwardCache: IDL.Null,
87
- Prerender: IDL.Null
88
- });
89
- const WebVitalsMetric = IDL.Record({
90
- id: IDL.Text,
91
- value: IDL.Float64,
92
- navigation_type: IDL.Opt(NavigationType),
93
- delta: IDL.Float64
94
- });
95
- const PerformanceData = IDL.Variant({WebVitalsMetric: WebVitalsMetric});
96
- const PerformanceMetricName = IDL.Variant({
97
- CLS: IDL.Null,
98
- FCP: IDL.Null,
99
- INP: IDL.Null,
100
- LCP: IDL.Null,
101
- TTFB: IDL.Null
102
- });
103
- const PerformanceMetric = IDL.Record({
104
- updated_at: IDL.Nat64,
105
- session_id: IDL.Text,
106
- data: PerformanceData,
107
- href: IDL.Text,
108
- metric_name: PerformanceMetricName,
109
- created_at: IDL.Nat64,
110
- satellite_id: IDL.Principal,
111
- version: IDL.Opt(IDL.Nat64)
112
- });
113
- const AnalyticsWebVitalsPageMetrics = IDL.Record({
114
- cls: IDL.Opt(IDL.Float64),
115
- fcp: IDL.Opt(IDL.Float64),
116
- inp: IDL.Opt(IDL.Float64),
117
- lcp: IDL.Opt(IDL.Float64),
118
- ttfb: IDL.Opt(IDL.Float64)
119
- });
120
- const AnalyticsWebVitalsPerformanceMetrics = IDL.Record({
121
- overall: AnalyticsWebVitalsPageMetrics,
122
- pages: IDL.Vec(IDL.Tuple(IDL.Text, AnalyticsWebVitalsPageMetrics))
123
- });
124
- const TrackEvent = IDL.Record({
125
- updated_at: IDL.Nat64,
126
- session_id: IDL.Text,
127
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
128
- name: IDL.Text,
129
- created_at: IDL.Nat64,
130
- satellite_id: IDL.Principal,
131
- version: IDL.Opt(IDL.Nat64)
132
- });
133
- const AnalyticsTrackEvents = IDL.Record({
134
- total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
135
- });
136
- const HttpRequest = IDL.Record({
137
- url: IDL.Text,
138
- method: IDL.Text,
139
- body: IDL.Vec(IDL.Nat8),
140
- headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
141
- certificate_version: IDL.Opt(IDL.Nat16)
142
- });
143
- const HttpResponse = IDL.Record({
144
- body: IDL.Vec(IDL.Nat8),
145
- headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
146
- upgrade: IDL.Opt(IDL.Bool),
147
- status_code: IDL.Nat16
148
- });
149
- const OrbiterSatelliteFeatures = IDL.Record({
150
- performance_metrics: IDL.Bool,
151
- track_events: IDL.Bool,
152
- page_views: IDL.Bool
153
- });
154
- const OrbiterSatelliteConfig = IDL.Record({
155
- updated_at: IDL.Nat64,
156
- features: IDL.Opt(OrbiterSatelliteFeatures),
157
- restricted_origin: IDL.Opt(IDL.Text),
158
- created_at: IDL.Nat64,
159
- version: IDL.Opt(IDL.Nat64)
160
- });
161
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
162
- const SetController = IDL.Record({
163
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
164
- scope: ControllerScope,
165
- expires_at: IDL.Opt(IDL.Nat64)
166
- });
167
- const SetControllersArgs = IDL.Record({
168
- controller: SetController,
169
- controllers: IDL.Vec(IDL.Principal)
170
- });
171
- const SetPageView = IDL.Record({
172
- title: IDL.Text,
173
- updated_at: IDL.Opt(IDL.Nat64),
174
- referrer: IDL.Opt(IDL.Text),
175
- time_zone: IDL.Text,
176
- session_id: IDL.Text,
177
- href: IDL.Text,
178
- satellite_id: IDL.Principal,
179
- device: PageViewDevice,
180
- version: IDL.Opt(IDL.Nat64),
181
- user_agent: IDL.Opt(IDL.Text)
182
- });
183
- const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
184
- const Result_1 = IDL.Variant({
185
- Ok: IDL.Null,
186
- Err: IDL.Vec(IDL.Tuple(AnalyticKey, IDL.Text))
187
- });
188
- const SetPerformanceMetric = IDL.Record({
189
- session_id: IDL.Text,
190
- data: PerformanceData,
191
- href: IDL.Text,
192
- metric_name: PerformanceMetricName,
193
- satellite_id: IDL.Principal,
194
- version: IDL.Opt(IDL.Nat64),
195
- user_agent: IDL.Opt(IDL.Text)
196
- });
197
- const Result_2 = IDL.Variant({Ok: PerformanceMetric, Err: IDL.Text});
198
- const SetSatelliteConfig = IDL.Record({
199
- features: IDL.Opt(OrbiterSatelliteFeatures),
200
- restricted_origin: IDL.Opt(IDL.Text),
201
- version: IDL.Opt(IDL.Nat64)
202
- });
203
- const SetTrackEvent = IDL.Record({
204
- updated_at: IDL.Opt(IDL.Nat64),
205
- session_id: IDL.Text,
206
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
207
- name: IDL.Text,
208
- satellite_id: IDL.Principal,
209
- version: IDL.Opt(IDL.Nat64),
210
- user_agent: IDL.Opt(IDL.Text)
211
- });
212
- const Result_3 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
213
- return IDL.Service({
214
- del_controllers: IDL.Func(
215
- [DeleteControllersArgs],
216
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
217
- []
218
- ),
219
- del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
220
- deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
221
- get_page_views: IDL.Func(
222
- [GetAnalytics],
223
- [IDL.Vec(IDL.Tuple(AnalyticKey, PageView))],
224
- ['query']
225
- ),
226
- get_page_views_analytics_clients: IDL.Func(
227
- [GetAnalytics],
228
- [AnalyticsClientsPageViews],
229
- ['query']
230
- ),
231
- get_page_views_analytics_metrics: IDL.Func(
232
- [GetAnalytics],
233
- [AnalyticsMetricsPageViews],
234
- ['query']
235
- ),
236
- get_page_views_analytics_top_10: IDL.Func([GetAnalytics], [AnalyticsTop10PageViews], ['query']),
237
- get_performance_metrics: IDL.Func(
238
- [GetAnalytics],
239
- [IDL.Vec(IDL.Tuple(AnalyticKey, PerformanceMetric))],
240
- ['query']
241
- ),
242
- get_performance_metrics_analytics_web_vitals: IDL.Func(
243
- [GetAnalytics],
244
- [AnalyticsWebVitalsPerformanceMetrics],
245
- ['query']
246
- ),
247
- get_track_events: IDL.Func(
248
- [GetAnalytics],
249
- [IDL.Vec(IDL.Tuple(AnalyticKey, TrackEvent))],
250
- ['query']
251
- ),
252
- get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
253
- http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
254
- http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
255
- list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
256
- list_satellite_configs: IDL.Func(
257
- [],
258
- [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
259
- ['query']
260
- ),
261
- memory_size: IDL.Func([], [MemorySize], ['query']),
262
- set_controllers: IDL.Func(
263
- [SetControllersArgs],
264
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
265
- []
266
- ),
267
- set_page_view: IDL.Func([AnalyticKey, SetPageView], [Result], []),
268
- set_page_views: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetPageView))], [Result_1], []),
269
- set_performance_metric: IDL.Func([AnalyticKey, SetPerformanceMetric], [Result_2], []),
270
- set_performance_metrics: IDL.Func(
271
- [IDL.Vec(IDL.Tuple(AnalyticKey, SetPerformanceMetric))],
272
- [Result_1],
273
- []
274
- ),
275
- set_satellite_configs: IDL.Func(
276
- [IDL.Vec(IDL.Tuple(IDL.Principal, SetSatelliteConfig))],
277
- [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
278
- []
279
- ),
280
- set_track_event: IDL.Func([AnalyticKey, SetTrackEvent], [Result_3], []),
281
- set_track_events: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetTrackEvent))], [Result_1], [])
282
- });
283
- };
284
- // @ts-ignore
285
- export const init = ({IDL}) => {
286
- return [];
287
- };