-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathproperty-defs-consumer.test.ts.snap
64 lines (60 loc) · 1.43 KB
/
property-defs-consumer.test.ts.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PropertyDefsConsumer property updates should only write the first seen property defs to the DB 1`] = `
[
{
"group_type_index": null,
"id": "<REPLACED-UUID-0>",
"is_numerical": false,
"name": "url",
"project_id": "2",
"property_type": "String",
"property_type_format": null,
"query_usage_30_day": null,
"team_id": 2,
"type": 1,
"volume_30_day": null,
},
]
`;
exports[`PropertyDefsConsumer property updates should write simple property defs to the DB 1`] = `
[
{
"created_at": "2025-01-01T00:00:00.000Z",
"id": "<REPLACED-UUID-0>",
"last_seen_at": "2025-01-01T00:00:00.000Z",
"name": "$pageview",
"project_id": "2",
"query_usage_30_day": null,
"team_id": 2,
"volume_30_day": null,
},
]
`;
exports[`PropertyDefsConsumer property updates should write simple property defs to the DB 2`] = `
[
{
"event": "$pageview",
"id": "<REPLACED_NUMBER>",
"project_id": "2",
"property": "url",
"team_id": 2,
},
]
`;
exports[`PropertyDefsConsumer property updates should write simple property defs to the DB 3`] = `
[
{
"group_type_index": null,
"id": "<REPLACED-UUID-0>",
"is_numerical": false,
"name": "url",
"project_id": "2",
"property_type": "String",
"property_type_format": null,
"query_usage_30_day": null,
"team_id": 2,
"type": 1,
"volume_30_day": null,
},
]
`;