@junobuild/core 0.0.29 → 0.0.31
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.
|
@@ -3,8 +3,7 @@ import type {Principal} from '@dfinity/principal';
|
|
|
3
3
|
|
|
4
4
|
export interface AnalyticKey {
|
|
5
5
|
key: string;
|
|
6
|
-
|
|
7
|
-
satellite_id: Principal;
|
|
6
|
+
collected_at: bigint;
|
|
8
7
|
}
|
|
9
8
|
export interface Controller {
|
|
10
9
|
updated_at: bigint;
|
|
@@ -30,11 +29,12 @@ export interface PageView {
|
|
|
30
29
|
updated_at: bigint;
|
|
31
30
|
referrer: [] | [string];
|
|
32
31
|
time_zone: string;
|
|
32
|
+
session_id: string;
|
|
33
33
|
href: string;
|
|
34
34
|
created_at: bigint;
|
|
35
|
+
satellite_id: Principal;
|
|
35
36
|
device: PageViewDevice;
|
|
36
37
|
user_agent: [] | [string];
|
|
37
|
-
collected_at: bigint;
|
|
38
38
|
}
|
|
39
39
|
export interface PageViewDevice {
|
|
40
40
|
inner_height: number;
|
|
@@ -62,10 +62,11 @@ export interface SetPageView {
|
|
|
62
62
|
updated_at: [] | [bigint];
|
|
63
63
|
referrer: [] | [string];
|
|
64
64
|
time_zone: string;
|
|
65
|
+
session_id: string;
|
|
65
66
|
href: string;
|
|
67
|
+
satellite_id: Principal;
|
|
66
68
|
device: PageViewDevice;
|
|
67
69
|
user_agent: [] | [string];
|
|
68
|
-
collected_at: bigint;
|
|
69
70
|
}
|
|
70
71
|
export interface SetSatelliteConfig {
|
|
71
72
|
updated_at: [] | [bigint];
|
|
@@ -73,17 +74,19 @@ export interface SetSatelliteConfig {
|
|
|
73
74
|
}
|
|
74
75
|
export interface SetTrackEvent {
|
|
75
76
|
updated_at: [] | [bigint];
|
|
77
|
+
session_id: string;
|
|
76
78
|
metadata: [] | [Array<[string, string]>];
|
|
77
79
|
name: string;
|
|
80
|
+
satellite_id: Principal;
|
|
78
81
|
user_agent: [] | [string];
|
|
79
|
-
collected_at: bigint;
|
|
80
82
|
}
|
|
81
83
|
export interface TrackEvent {
|
|
82
84
|
updated_at: bigint;
|
|
85
|
+
session_id: string;
|
|
83
86
|
metadata: [] | [Array<[string, string]>];
|
|
84
87
|
name: string;
|
|
85
88
|
created_at: bigint;
|
|
86
|
-
|
|
89
|
+
satellite_id: Principal;
|
|
87
90
|
}
|
|
88
91
|
export interface _SERVICE {
|
|
89
92
|
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
|
|
@@ -22,8 +22,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
22
22
|
});
|
|
23
23
|
const AnalyticKey = IDL.Record({
|
|
24
24
|
key: IDL.Text,
|
|
25
|
-
|
|
26
|
-
satellite_id: IDL.Principal
|
|
25
|
+
collected_at: IDL.Nat64
|
|
27
26
|
});
|
|
28
27
|
const PageViewDevice = IDL.Record({
|
|
29
28
|
inner_height: IDL.Nat16,
|
|
@@ -34,18 +33,20 @@ export const idlFactory = ({IDL}) => {
|
|
|
34
33
|
updated_at: IDL.Nat64,
|
|
35
34
|
referrer: IDL.Opt(IDL.Text),
|
|
36
35
|
time_zone: IDL.Text,
|
|
36
|
+
session_id: IDL.Text,
|
|
37
37
|
href: IDL.Text,
|
|
38
38
|
created_at: IDL.Nat64,
|
|
39
|
+
satellite_id: IDL.Principal,
|
|
39
40
|
device: PageViewDevice,
|
|
40
|
-
user_agent: IDL.Opt(IDL.Text)
|
|
41
|
-
collected_at: IDL.Nat64
|
|
41
|
+
user_agent: IDL.Opt(IDL.Text)
|
|
42
42
|
});
|
|
43
43
|
const TrackEvent = IDL.Record({
|
|
44
44
|
updated_at: IDL.Nat64,
|
|
45
|
+
session_id: IDL.Text,
|
|
45
46
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
46
47
|
name: IDL.Text,
|
|
47
48
|
created_at: IDL.Nat64,
|
|
48
|
-
|
|
49
|
+
satellite_id: IDL.Principal
|
|
49
50
|
});
|
|
50
51
|
const SatelliteConfig = IDL.Record({
|
|
51
52
|
updated_at: IDL.Nat64,
|
|
@@ -66,10 +67,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
66
67
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
67
68
|
referrer: IDL.Opt(IDL.Text),
|
|
68
69
|
time_zone: IDL.Text,
|
|
70
|
+
session_id: IDL.Text,
|
|
69
71
|
href: IDL.Text,
|
|
72
|
+
satellite_id: IDL.Principal,
|
|
70
73
|
device: PageViewDevice,
|
|
71
|
-
user_agent: IDL.Opt(IDL.Text)
|
|
72
|
-
collected_at: IDL.Nat64
|
|
74
|
+
user_agent: IDL.Opt(IDL.Text)
|
|
73
75
|
});
|
|
74
76
|
const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
|
|
75
77
|
const Result_1 = IDL.Variant({
|
|
@@ -82,10 +84,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
82
84
|
});
|
|
83
85
|
const SetTrackEvent = IDL.Record({
|
|
84
86
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
87
|
+
session_id: IDL.Text,
|
|
85
88
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
86
89
|
name: IDL.Text,
|
|
87
|
-
|
|
88
|
-
|
|
90
|
+
satellite_id: IDL.Principal,
|
|
91
|
+
user_agent: IDL.Opt(IDL.Text)
|
|
89
92
|
});
|
|
90
93
|
const Result_2 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
|
|
91
94
|
return IDL.Service({
|
|
@@ -3,8 +3,7 @@ import type {Principal} from '@dfinity/principal';
|
|
|
3
3
|
|
|
4
4
|
export interface AnalyticKey {
|
|
5
5
|
key: string;
|
|
6
|
-
|
|
7
|
-
satellite_id: Principal;
|
|
6
|
+
collected_at: bigint;
|
|
8
7
|
}
|
|
9
8
|
export interface Controller {
|
|
10
9
|
updated_at: bigint;
|
|
@@ -30,11 +29,12 @@ export interface PageView {
|
|
|
30
29
|
updated_at: bigint;
|
|
31
30
|
referrer: [] | [string];
|
|
32
31
|
time_zone: string;
|
|
32
|
+
session_id: string;
|
|
33
33
|
href: string;
|
|
34
34
|
created_at: bigint;
|
|
35
|
+
satellite_id: Principal;
|
|
35
36
|
device: PageViewDevice;
|
|
36
37
|
user_agent: [] | [string];
|
|
37
|
-
collected_at: bigint;
|
|
38
38
|
}
|
|
39
39
|
export interface PageViewDevice {
|
|
40
40
|
inner_height: number;
|
|
@@ -62,10 +62,11 @@ export interface SetPageView {
|
|
|
62
62
|
updated_at: [] | [bigint];
|
|
63
63
|
referrer: [] | [string];
|
|
64
64
|
time_zone: string;
|
|
65
|
+
session_id: string;
|
|
65
66
|
href: string;
|
|
67
|
+
satellite_id: Principal;
|
|
66
68
|
device: PageViewDevice;
|
|
67
69
|
user_agent: [] | [string];
|
|
68
|
-
collected_at: bigint;
|
|
69
70
|
}
|
|
70
71
|
export interface SetSatelliteConfig {
|
|
71
72
|
updated_at: [] | [bigint];
|
|
@@ -73,17 +74,19 @@ export interface SetSatelliteConfig {
|
|
|
73
74
|
}
|
|
74
75
|
export interface SetTrackEvent {
|
|
75
76
|
updated_at: [] | [bigint];
|
|
77
|
+
session_id: string;
|
|
76
78
|
metadata: [] | [Array<[string, string]>];
|
|
77
79
|
name: string;
|
|
80
|
+
satellite_id: Principal;
|
|
78
81
|
user_agent: [] | [string];
|
|
79
|
-
collected_at: bigint;
|
|
80
82
|
}
|
|
81
83
|
export interface TrackEvent {
|
|
82
84
|
updated_at: bigint;
|
|
85
|
+
session_id: string;
|
|
83
86
|
metadata: [] | [Array<[string, string]>];
|
|
84
87
|
name: string;
|
|
85
88
|
created_at: bigint;
|
|
86
|
-
|
|
89
|
+
satellite_id: Principal;
|
|
87
90
|
}
|
|
88
91
|
export interface _SERVICE {
|
|
89
92
|
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
|
|
@@ -22,8 +22,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
22
22
|
});
|
|
23
23
|
const AnalyticKey = IDL.Record({
|
|
24
24
|
key: IDL.Text,
|
|
25
|
-
|
|
26
|
-
satellite_id: IDL.Principal
|
|
25
|
+
collected_at: IDL.Nat64
|
|
27
26
|
});
|
|
28
27
|
const PageViewDevice = IDL.Record({
|
|
29
28
|
inner_height: IDL.Nat16,
|
|
@@ -34,18 +33,20 @@ export const idlFactory = ({IDL}) => {
|
|
|
34
33
|
updated_at: IDL.Nat64,
|
|
35
34
|
referrer: IDL.Opt(IDL.Text),
|
|
36
35
|
time_zone: IDL.Text,
|
|
36
|
+
session_id: IDL.Text,
|
|
37
37
|
href: IDL.Text,
|
|
38
38
|
created_at: IDL.Nat64,
|
|
39
|
+
satellite_id: IDL.Principal,
|
|
39
40
|
device: PageViewDevice,
|
|
40
|
-
user_agent: IDL.Opt(IDL.Text)
|
|
41
|
-
collected_at: IDL.Nat64
|
|
41
|
+
user_agent: IDL.Opt(IDL.Text)
|
|
42
42
|
});
|
|
43
43
|
const TrackEvent = IDL.Record({
|
|
44
44
|
updated_at: IDL.Nat64,
|
|
45
|
+
session_id: IDL.Text,
|
|
45
46
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
46
47
|
name: IDL.Text,
|
|
47
48
|
created_at: IDL.Nat64,
|
|
48
|
-
|
|
49
|
+
satellite_id: IDL.Principal
|
|
49
50
|
});
|
|
50
51
|
const SatelliteConfig = IDL.Record({
|
|
51
52
|
updated_at: IDL.Nat64,
|
|
@@ -66,10 +67,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
66
67
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
67
68
|
referrer: IDL.Opt(IDL.Text),
|
|
68
69
|
time_zone: IDL.Text,
|
|
70
|
+
session_id: IDL.Text,
|
|
69
71
|
href: IDL.Text,
|
|
72
|
+
satellite_id: IDL.Principal,
|
|
70
73
|
device: PageViewDevice,
|
|
71
|
-
user_agent: IDL.Opt(IDL.Text)
|
|
72
|
-
collected_at: IDL.Nat64
|
|
74
|
+
user_agent: IDL.Opt(IDL.Text)
|
|
73
75
|
});
|
|
74
76
|
const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
|
|
75
77
|
const Result_1 = IDL.Variant({
|
|
@@ -82,10 +84,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
82
84
|
});
|
|
83
85
|
const SetTrackEvent = IDL.Record({
|
|
84
86
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
87
|
+
session_id: IDL.Text,
|
|
85
88
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
86
89
|
name: IDL.Text,
|
|
87
|
-
|
|
88
|
-
|
|
90
|
+
satellite_id: IDL.Principal,
|
|
91
|
+
user_agent: IDL.Opt(IDL.Text)
|
|
89
92
|
});
|
|
90
93
|
const Result_2 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
|
|
91
94
|
return IDL.Service({
|