runtimeconditions-google-analytics 0.1.0__tar.gz

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 (16) hide show
  1. runtimeconditions_google_analytics-0.1.0/MANIFEST.in +1 -0
  2. runtimeconditions_google_analytics-0.1.0/PKG-INFO +5 -0
  3. runtimeconditions_google_analytics-0.1.0/pyproject.toml +21 -0
  4. runtimeconditions_google_analytics-0.1.0/runtimeconditions.file-manifest.yaml +12 -0
  5. runtimeconditions_google_analytics-0.1.0/setup.cfg +4 -0
  6. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics/__init__.py +30 -0
  7. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics/bindings.py +82 -0
  8. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics/py.typed +0 -0
  9. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics/runtimeconditions.binding-model.yaml +498 -0
  10. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics/runtimeconditions.binding-release.yaml +39 -0
  11. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics/runtimeconditions.bindings.yaml +213 -0
  12. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics/runtimeconditions.extension.yaml +105 -0
  13. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics.egg-info/PKG-INFO +5 -0
  14. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics.egg-info/SOURCES.txt +14 -0
  15. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics.egg-info/dependency_links.txt +1 -0
  16. runtimeconditions_google_analytics-0.1.0/src/runtimeconditions_google_analytics.egg-info/top_level.txt +1 -0
@@ -0,0 +1 @@
1
+ include runtimeconditions.file-manifest.yaml
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.4
2
+ Name: runtimeconditions-google-analytics
3
+ Version: 0.1.0
4
+ Project-URL: Repository, https://github.com/runtimeconditions/extensions
5
+ Requires-Python: >=3.12
@@ -0,0 +1,21 @@
1
+ # Code generated by runtimeconditions-binding-emitter 0.1.0 from model a5d157645fe16f159e92ade062b40dd874752a7ad6f2f90c2d14a2474cb9c38d; DO NOT EDIT.
2
+ [build-system]
3
+ requires = ["setuptools==84.0.0"]
4
+ build-backend = "setuptools.build_meta"
5
+
6
+ [project]
7
+ name = "runtimeconditions-google-analytics"
8
+ version = "0.1.0"
9
+ requires-python = ">=3.12"
10
+ dependencies = [
11
+ ]
12
+
13
+ [project.urls]
14
+ Repository = "https://github.com/runtimeconditions/extensions"
15
+
16
+ [tool.setuptools.packages.find]
17
+ where = ["src"]
18
+ include = ["runtimeconditions_google_analytics", "runtimeconditions_google_analytics.*"]
19
+
20
+ [tool.setuptools.package-data]
21
+ "runtimeconditions_google_analytics" = ["py.typed", "runtimeconditions.bindings.yaml", "runtimeconditions.binding-model.yaml", "runtimeconditions.extension.yaml", "runtimeconditions.binding-release.yaml"]
@@ -0,0 +1,12 @@
1
+ apiVersion: runtimeconditions.io/file-manifest/v1alpha1
2
+ kind: RuntimeConditionsFileManifest
3
+ files:
4
+ MANIFEST.in: d51e89c4c7c5e16c06d543c7aac32df945dd4f536e578b6ad089b68a6f489fca
5
+ pyproject.toml: be67b4e81886709ae14899f9adf37ab247d833c4aa03a5e788b6231a4b4f1b23
6
+ src/runtimeconditions_google_analytics/__init__.py: 8ae2e83e91c19d8e70168d5cef86aa84dffafc9981dac0e7daf02b0cfebae8d5
7
+ src/runtimeconditions_google_analytics/bindings.py: a1b2595953f23568bbdffd534e22e6ea7713747521adcfb764ef9ecd61cebe27
8
+ src/runtimeconditions_google_analytics/py.typed: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
9
+ src/runtimeconditions_google_analytics/runtimeconditions.binding-model.yaml: a3852d8aeb4d1e0019e1d93980302e1be3f0afb4eb1245938ac1f75a8272f92f
10
+ src/runtimeconditions_google_analytics/runtimeconditions.binding-release.yaml: bf00834bc114fb5a3672c88386fe038d0411fb165a5a614013b46db52badfd85
11
+ src/runtimeconditions_google_analytics/runtimeconditions.bindings.yaml: c0b332809730817212b13daba761caa786c3c4454f13b0f1e69d6d8e57269805
12
+ src/runtimeconditions_google_analytics/runtimeconditions.extension.yaml: 3662d3b383cfc5d018b194b9b95faf559bdc17b60d76184f3b1b17674e96deef
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,30 @@
1
+ # Code generated by runtimeconditions-binding-emitter 0.1.0 from model a5d157645fe16f159e92ade062b40dd874752a7ad6f2f90c2d14a2474cb9c38d; DO NOT EDIT.
2
+ from __future__ import annotations
3
+
4
+ from .bindings import (
5
+ Configuration,
6
+ Declaration,
7
+ Env,
8
+ Events,
9
+ EventsItem,
10
+ GoogleAnalyticsField,
11
+ JSONValue,
12
+ Name,
13
+ Optional,
14
+ Web,
15
+ google_analytics,
16
+ )
17
+
18
+ __all__ = [
19
+ "Configuration",
20
+ "Declaration",
21
+ "Env",
22
+ "Events",
23
+ "EventsItem",
24
+ "GoogleAnalyticsField",
25
+ "JSONValue",
26
+ "Name",
27
+ "Optional",
28
+ "Web",
29
+ "google_analytics",
30
+ ]
@@ -0,0 +1,82 @@
1
+ # Code generated by runtimeconditions-binding-emitter 0.1.0 from model a5d157645fe16f159e92ade062b40dd874752a7ad6f2f90c2d14a2474cb9c38d; DO NOT EDIT.
2
+ from __future__ import annotations
3
+
4
+ from dataclasses import dataclass
5
+ from enum import StrEnum
6
+ from typing import Protocol, Sequence, TypeAlias
7
+
8
+
9
+ @dataclass(frozen=True, kw_only=True)
10
+ class Declaration:
11
+ pass
12
+
13
+
14
+ class GoogleAnalyticsField(Protocol):
15
+ def rc_marker_5b3cdc5c9263b3fc(self) -> None: ...
16
+
17
+
18
+ JSONValue: TypeAlias = (
19
+ "str | bool | int | float | None | Sequence[JSONValue] | dict[str, JSONValue]"
20
+ )
21
+
22
+
23
+ @dataclass(frozen=True, kw_only=True)
24
+ class Configuration:
25
+ env: Env
26
+
27
+ def rc_marker_5b3cdc5c9263b3fc(self) -> None:
28
+ return None
29
+
30
+
31
+ Env: TypeAlias = "Sequence[JSONValue]"
32
+
33
+
34
+ Events: TypeAlias = "Sequence[EventsItem]"
35
+
36
+
37
+ class EventsItem(StrEnum):
38
+ CUSTOM_EVENT = "custom_event"
39
+ PAGE_VIEW = "page_view"
40
+
41
+
42
+ @dataclass(frozen=True, kw_only=True)
43
+ class Name:
44
+ value: str
45
+
46
+ def rc_marker_5b3cdc5c9263b3fc(self) -> None:
47
+ return None
48
+
49
+
50
+ @dataclass(frozen=True, kw_only=True)
51
+ class Optional:
52
+ value: bool
53
+
54
+ def rc_marker_5b3cdc5c9263b3fc(self) -> None:
55
+ return None
56
+
57
+
58
+ @dataclass(frozen=True, kw_only=True)
59
+ class Web:
60
+ events: Events
61
+
62
+ def rc_marker_5b3cdc5c9263b3fc(self) -> None:
63
+ return None
64
+
65
+
66
+ def google_analytics(*fields: GoogleAnalyticsField) -> Declaration:
67
+ return Declaration()
68
+
69
+
70
+ __all__ = [
71
+ "Configuration",
72
+ "Declaration",
73
+ "Env",
74
+ "Events",
75
+ "EventsItem",
76
+ "GoogleAnalyticsField",
77
+ "JSONValue",
78
+ "Name",
79
+ "Optional",
80
+ "Web",
81
+ "google_analytics",
82
+ ]
@@ -0,0 +1,498 @@
1
+ apiVersion: runtimeconditions.io/binding-model/v1alpha1
2
+ kind: RuntimeConditionsBindingModel
3
+ metadata:
4
+ semanticSha256: a5d157645fe16f159e92ade062b40dd874752a7ad6f2f90c2d14a2474cb9c38d
5
+ normalizer:
6
+ name: rc-binding-model
7
+ version: 0.1.0
8
+ sha256: 0b6a631f55ae70522b11a814326bc7c346118a1b47aa464c6904565d59085ac3
9
+ coreProfileSchema:
10
+ id: https://runtimeconditions.io/schemas/profile/0.4.0/runtimeconditions.profile.schema.yaml
11
+ version: 0.4.0
12
+ semanticSha256: ed447dccefd7507d905b0b6177b1386d8ee96a1d053b731939a9a7ae973d5af1
13
+ rootExtension:
14
+ id: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
15
+ version: 0.1.0
16
+ semanticSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
17
+ extensions:
18
+ - id: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
19
+ version: 0.1.0
20
+ semanticSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
21
+ vocabulary:
22
+ owners:
23
+ - coordinate: condition-field:google.analytics:web:configuration
24
+ category: condition-field
25
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
26
+ kind: google.analytics
27
+ interfaceType: web
28
+ path: configuration
29
+ - coordinate: field-domain:google.analytics:web:configuration.env[].property:"measurementId"
30
+ category: field-value
31
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
32
+ kind: google.analytics
33
+ interfaceType: web
34
+ path: configuration.env[].property
35
+ value: measurementId
36
+ - coordinate: field-domain:google.analytics:web:interface.events[]:"custom_event"
37
+ category: field-value
38
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
39
+ kind: google.analytics
40
+ interfaceType: web
41
+ path: interface.events[]
42
+ value: custom_event
43
+ - coordinate: field-domain:google.analytics:web:interface.events[]:"page_view"
44
+ category: field-value
45
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
46
+ kind: google.analytics
47
+ interfaceType: web
48
+ path: interface.events[]
49
+ value: page_view
50
+ - coordinate: interface-field:google.analytics:web:events
51
+ category: interface-field
52
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
53
+ kind: google.analytics
54
+ interfaceType: web
55
+ path: interface.events
56
+ - coordinate: interface:google.analytics:web
57
+ category: interface
58
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
59
+ kind: google.analytics
60
+ interfaceType: web
61
+ - coordinate: kind:google.analytics
62
+ category: kind
63
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
64
+ kind: google.analytics
65
+ ownedDeclarations:
66
+ - coordinate: kind:google.analytics
67
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
68
+ kind: google.analytics
69
+ provenance:
70
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
71
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
72
+ coordinate: kind:google.analytics
73
+ interfaces:
74
+ - coordinate: interface:google.analytics:web
75
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
76
+ kind: google.analytics
77
+ type: web
78
+ provenance:
79
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
80
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
81
+ coordinate: interface:google.analytics:web
82
+ conditionFields:
83
+ - coordinate: condition-field:google.analytics:web:configuration
84
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
85
+ kind: google.analytics
86
+ interfaceType: web
87
+ path: configuration
88
+ segments:
89
+ - name: configuration
90
+ provenance:
91
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
92
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
93
+ coordinate: condition-field:google.analytics:web:configuration
94
+ interfaceFields:
95
+ - coordinate: interface-field:google.analytics:web:events
96
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
97
+ kind: google.analytics
98
+ interfaceType: web
99
+ path: interface.events
100
+ segments:
101
+ - name: interface
102
+ - name: events
103
+ provenance:
104
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
105
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
106
+ coordinate: interface-field:google.analytics:web:events
107
+ valueDomains:
108
+ - coordinate: field-domain:google.analytics:web:configuration.env[].property
109
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
110
+ kind: google.analytics
111
+ interfaceType: web
112
+ path: configuration.env[].property
113
+ segments:
114
+ - name: configuration
115
+ - name: env
116
+ array: true
117
+ - name: property
118
+ values:
119
+ - value: measurementId
120
+ provenance:
121
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
122
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
123
+ coordinate: field-domain:google.analytics:web:configuration.env[].property
124
+ - coordinate: field-domain:google.analytics:web:interface.events[]
125
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
126
+ kind: google.analytics
127
+ interfaceType: web
128
+ path: interface.events[]
129
+ segments:
130
+ - name: interface
131
+ - name: events
132
+ array: true
133
+ values:
134
+ - value: custom_event
135
+ - value: page_view
136
+ provenance:
137
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
138
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
139
+ coordinate: field-domain:google.analytics:web:interface.events[]
140
+ scopes:
141
+ - coordinate: google.analytics:web
142
+ kind: google.analytics
143
+ interfaceType: web
144
+ applicableSchemas:
145
+ - https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
146
+ projection:
147
+ kind: object
148
+ required:
149
+ - configuration
150
+ - interface
151
+ properties:
152
+ - name: configuration
153
+ required: true
154
+ shape:
155
+ kind: object
156
+ required:
157
+ - env
158
+ properties:
159
+ - name: env
160
+ required: true
161
+ shape:
162
+ kind: array
163
+ items:
164
+ kind: any
165
+ provenance:
166
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
167
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
168
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
169
+ jsonPointer: /properties/configuration/properties/env
170
+ constraints:
171
+ contains:
172
+ additionalProperties: false
173
+ properties:
174
+ name:
175
+ pattern: ^[A-Za-z_][A-Za-z0-9_]*$
176
+ type: string
177
+ property:
178
+ const: measurementId
179
+ required:
180
+ type: boolean
181
+ sensitive:
182
+ type: boolean
183
+ required:
184
+ - name
185
+ - property
186
+ type: object
187
+ minItems: 1
188
+ uniqueItems: true
189
+ provenance:
190
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
191
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
192
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
193
+ jsonPointer: /properties/configuration/properties/env
194
+ provenance:
195
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
196
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
197
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
198
+ jsonPointer: /properties/configuration/properties/env
199
+ provenance:
200
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
201
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
202
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
203
+ jsonPointer: /properties/configuration
204
+ provenance:
205
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
206
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
207
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
208
+ jsonPointer: /properties/configuration
209
+ - name: interface
210
+ required: true
211
+ shape:
212
+ kind: object
213
+ required:
214
+ - events
215
+ properties:
216
+ - name: events
217
+ required: true
218
+ shape:
219
+ kind: array
220
+ items:
221
+ kind: scalar
222
+ scalar: string
223
+ values:
224
+ - value: custom_event
225
+ - value: page_view
226
+ provenance:
227
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
228
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
229
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
230
+ jsonPointer: /properties/interface/properties/events/items
231
+ constraints:
232
+ minItems: 1
233
+ uniqueItems: true
234
+ provenance:
235
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
236
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
237
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
238
+ jsonPointer: /properties/interface/properties/events
239
+ provenance:
240
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
241
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
242
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
243
+ jsonPointer: /properties/interface/properties/events
244
+ provenance:
245
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
246
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
247
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
248
+ jsonPointer: /properties/interface
249
+ provenance:
250
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
251
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
252
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
253
+ jsonPointer: /properties/interface
254
+ - name: name
255
+ shape:
256
+ kind: scalar
257
+ scalar: string
258
+ constraints:
259
+ minLength: 1
260
+ provenance:
261
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
262
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
263
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
264
+ jsonPointer: /properties/name
265
+ provenance:
266
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
267
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
268
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
269
+ jsonPointer: /properties/name
270
+ - name: optional
271
+ shape:
272
+ kind: scalar
273
+ scalar: boolean
274
+ provenance:
275
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
276
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
277
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
278
+ jsonPointer: /properties/optional
279
+ provenance:
280
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
281
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
282
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
283
+ jsonPointer: /properties/optional
284
+ provenance:
285
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
286
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
287
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
288
+ schemas:
289
+ - coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
290
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
291
+ id: google-analytics-web
292
+ kind: google.analytics
293
+ interfaceType: web
294
+ exact:
295
+ $schema: https://json-schema.org/draft/2020-12/schema
296
+ additionalProperties: false
297
+ properties:
298
+ configuration:
299
+ additionalProperties: false
300
+ properties:
301
+ env:
302
+ contains:
303
+ additionalProperties: false
304
+ properties:
305
+ name:
306
+ pattern: ^[A-Za-z_][A-Za-z0-9_]*$
307
+ type: string
308
+ property:
309
+ const: measurementId
310
+ required:
311
+ type: boolean
312
+ sensitive:
313
+ type: boolean
314
+ required:
315
+ - name
316
+ - property
317
+ type: object
318
+ minItems: 1
319
+ type: array
320
+ uniqueItems: true
321
+ required:
322
+ - env
323
+ type: object
324
+ interface:
325
+ additionalProperties: false
326
+ properties:
327
+ events:
328
+ items:
329
+ enum:
330
+ - custom_event
331
+ - page_view
332
+ minItems: 1
333
+ type: array
334
+ uniqueItems: true
335
+ type:
336
+ const: web
337
+ required:
338
+ - events
339
+ - type
340
+ type: object
341
+ kind:
342
+ const: google.analytics
343
+ name:
344
+ minLength: 1
345
+ type: string
346
+ optional:
347
+ type: boolean
348
+ required:
349
+ - configuration
350
+ - interface
351
+ - kind
352
+ type: object
353
+ projection:
354
+ kind: object
355
+ required:
356
+ - configuration
357
+ - interface
358
+ properties:
359
+ - name: configuration
360
+ required: true
361
+ shape:
362
+ kind: object
363
+ required:
364
+ - env
365
+ properties:
366
+ - name: env
367
+ required: true
368
+ shape:
369
+ kind: array
370
+ items:
371
+ kind: any
372
+ provenance:
373
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
374
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
375
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
376
+ jsonPointer: /properties/configuration/properties/env
377
+ constraints:
378
+ contains:
379
+ additionalProperties: false
380
+ properties:
381
+ name:
382
+ pattern: ^[A-Za-z_][A-Za-z0-9_]*$
383
+ type: string
384
+ property:
385
+ const: measurementId
386
+ required:
387
+ type: boolean
388
+ sensitive:
389
+ type: boolean
390
+ required:
391
+ - name
392
+ - property
393
+ type: object
394
+ minItems: 1
395
+ uniqueItems: true
396
+ provenance:
397
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
398
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
399
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
400
+ jsonPointer: /properties/configuration/properties/env
401
+ provenance:
402
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
403
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
404
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
405
+ jsonPointer: /properties/configuration/properties/env
406
+ provenance:
407
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
408
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
409
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
410
+ jsonPointer: /properties/configuration
411
+ provenance:
412
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
413
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
414
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
415
+ jsonPointer: /properties/configuration
416
+ - name: interface
417
+ required: true
418
+ shape:
419
+ kind: object
420
+ required:
421
+ - events
422
+ properties:
423
+ - name: events
424
+ required: true
425
+ shape:
426
+ kind: array
427
+ items:
428
+ kind: scalar
429
+ scalar: string
430
+ values:
431
+ - value: custom_event
432
+ - value: page_view
433
+ provenance:
434
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
435
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
436
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
437
+ jsonPointer: /properties/interface/properties/events/items
438
+ constraints:
439
+ minItems: 1
440
+ uniqueItems: true
441
+ provenance:
442
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
443
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
444
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
445
+ jsonPointer: /properties/interface/properties/events
446
+ provenance:
447
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
448
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
449
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
450
+ jsonPointer: /properties/interface/properties/events
451
+ provenance:
452
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
453
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
454
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
455
+ jsonPointer: /properties/interface
456
+ provenance:
457
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
458
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
459
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
460
+ jsonPointer: /properties/interface
461
+ - name: name
462
+ shape:
463
+ kind: scalar
464
+ scalar: string
465
+ constraints:
466
+ minLength: 1
467
+ provenance:
468
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
469
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
470
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
471
+ jsonPointer: /properties/name
472
+ provenance:
473
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
474
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
475
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
476
+ jsonPointer: /properties/name
477
+ - name: optional
478
+ shape:
479
+ kind: scalar
480
+ scalar: boolean
481
+ provenance:
482
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
483
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
484
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
485
+ jsonPointer: /properties/optional
486
+ provenance:
487
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
488
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
489
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
490
+ jsonPointer: /properties/optional
491
+ provenance:
492
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
493
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
494
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
495
+ provenance:
496
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
497
+ extensionSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
498
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
@@ -0,0 +1,39 @@
1
+ apiVersion: runtimeconditions.io/binding-release/v1alpha1
2
+ dependencyLock:
3
+ extensions:
4
+ - id: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
5
+ version: 0.1.0
6
+ sourceSha256: 3662d3b383cfc5d018b194b9b95faf559bdc17b60d76184f3b1b17674e96deef
7
+ semanticSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
8
+ sourceBackend: catalog
9
+ sourceLocator: catalog:google/analytics/releases/0.1.0/runtimeconditions.extension.yaml
10
+ kind: RuntimeConditionsBindingRelease
11
+ model:
12
+ apiVersion: runtimeconditions.io/binding-model/v1alpha1
13
+ semanticSha256: a5d157645fe16f159e92ade062b40dd874752a7ad6f2f90c2d14a2474cb9c38d
14
+ package:
15
+ coordinate: runtimeconditions-google-analytics
16
+ language: python
17
+ minimumPythonVersion: "3.12"
18
+ name: runtimeconditions_google_analytics
19
+ packageKey: google-analytics
20
+ publicationMode: registry
21
+ registryId: pypi
22
+ version: 0.1.0
23
+ packageDependencies: []
24
+ provenance:
25
+ mode: production
26
+ orchestrator:
27
+ name: rc
28
+ version: 0.1.0
29
+ sha256: 08044437569c5b03586552b73b93657ca6aded8fc7a9f58fb961a094f3753ad2
30
+ profiler:
31
+ name: python-rc-profiler
32
+ version: 0.4.0
33
+ sha256: 6382d2f2a48b79c1b9e90c4084062a30259e74942ec72264264f1a594826ced9
34
+ sourceDirectory: bindings/google-analytics/python
35
+ targetReleaseTag: bindings/google-analytics/python/v0.1.0
36
+ rootExtension:
37
+ id: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
38
+ version: 0.1.0
39
+ semanticSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
@@ -0,0 +1,213 @@
1
+ # Code generated by runtimeconditions-binding-emitter 0.1.0 from model a5d157645fe16f159e92ade062b40dd874752a7ad6f2f90c2d14a2474cb9c38d; DO NOT EDIT.
2
+ apiVersion: runtimeconditions.io/bindings/v1alpha2
3
+ kind: RuntimeConditionsBindingManifest
4
+ generated:
5
+ nonEditable: true
6
+ emitter: runtimeconditions-binding-emitter@sha256:182f4d1ec8f075f3de7a11ea57ea70aef58ace4a176a15ff348c014031e14dba
7
+ version: 0.1.0
8
+ model:
9
+ apiVersion: runtimeconditions.io/binding-model/v1alpha1
10
+ semanticSha256: a5d157645fe16f159e92ade062b40dd874752a7ad6f2f90c2d14a2474cb9c38d
11
+ extension:
12
+ id: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
13
+ version: 0.1.0
14
+ semanticSha256: 3bace49d7e4b90c759c50ff95b8ad24bf613a6e0c1c37f591187a6963de7a6d9
15
+ package:
16
+ language: python
17
+ coordinate: runtimeconditions-google-analytics
18
+ name: runtimeconditions_google_analytics
19
+ version: 0.1.0
20
+ minimumPythonVersion: '3.12'
21
+ declarations:
22
+ - modelRef:
23
+ coordinate: kind:google.analytics
24
+ owner: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
25
+ sourceName: google.analytics
26
+ function: google_analytics
27
+ markerInterface: GoogleAnalyticsField
28
+ markerMethod: rc_marker_5b3cdc5c9263b3fc
29
+ file: bindings.py
30
+ importedMarkerContracts: []
31
+ rootBindings:
32
+ - role: condition-field
33
+ modelRef:
34
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
35
+ jsonPointer: /properties/configuration
36
+ declarationCoordinate: kind:google.analytics
37
+ scope:
38
+ kind: google.analytics
39
+ interfaceType: web
40
+ sourceName: configuration
41
+ path:
42
+ - name: configuration
43
+ value:
44
+ type: Configuration
45
+ schemaCoordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
46
+ vocabularyCoordinate: condition-field:google.analytics:web:configuration
47
+ - role: interface
48
+ modelRef:
49
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
50
+ jsonPointer: /properties/interface
51
+ declarationCoordinate: kind:google.analytics
52
+ scope:
53
+ kind: google.analytics
54
+ interfaceType: web
55
+ sourceName: web
56
+ path:
57
+ - name: interface
58
+ value:
59
+ type: Web
60
+ schemaCoordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
61
+ fixedInterfaceType: web
62
+ - role: schema-field
63
+ modelRef:
64
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
65
+ jsonPointer: /properties/name
66
+ declarationCoordinate: kind:google.analytics
67
+ scope:
68
+ kind: google.analytics
69
+ interfaceType: web
70
+ sourceName: name
71
+ path:
72
+ - name: name
73
+ value:
74
+ type: Name
75
+ schemaCoordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
76
+ - role: schema-field
77
+ modelRef:
78
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
79
+ jsonPointer: /properties/optional
80
+ declarationCoordinate: kind:google.analytics
81
+ scope:
82
+ kind: google.analytics
83
+ interfaceType: web
84
+ sourceName: optional
85
+ path:
86
+ - name: optional
87
+ value:
88
+ type: Optional
89
+ schemaCoordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
90
+ types:
91
+ - modelRef:
92
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
93
+ jsonPointer: /properties/configuration
94
+ sourceName: configuration
95
+ nativeName: Configuration
96
+ construct: object
97
+ file: bindings.py
98
+ fields:
99
+ - modelRef:
100
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
101
+ jsonPointer: /properties/configuration/properties/env
102
+ sourceName: env
103
+ nativeName: env
104
+ required: true
105
+ value:
106
+ type: Env
107
+ implements:
108
+ - declarationCoordinate: kind:google.analytics
109
+ markerMethod: rc_marker_5b3cdc5c9263b3fc
110
+ - modelRef:
111
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
112
+ jsonPointer: /properties/configuration/properties/env
113
+ sourceName: env
114
+ nativeName: Env
115
+ construct: collection
116
+ file: bindings.py
117
+ element:
118
+ modelRef:
119
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
120
+ jsonPointer: /properties/configuration/properties/env
121
+ value:
122
+ builtin: JSONValue
123
+ - modelRef:
124
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
125
+ jsonPointer: /properties/interface/properties/events
126
+ sourceName: events
127
+ nativeName: Events
128
+ construct: collection
129
+ file: bindings.py
130
+ element:
131
+ modelRef:
132
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
133
+ jsonPointer: /properties/interface/properties/events/items
134
+ value:
135
+ type: EventsItem
136
+ - modelRef:
137
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
138
+ jsonPointer: /properties/interface/properties/events/items
139
+ sourceName: events
140
+ nativeName: EventsItem
141
+ construct: scalar
142
+ file: bindings.py
143
+ underlying: str
144
+ members:
145
+ - modelRef:
146
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
147
+ jsonPointer: /properties/interface/properties/events/items
148
+ nativeName: CUSTOM_EVENT
149
+ value: custom_event
150
+ - modelRef:
151
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
152
+ jsonPointer: /properties/interface/properties/events/items
153
+ nativeName: PAGE_VIEW
154
+ value: page_view
155
+ - modelRef:
156
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
157
+ jsonPointer: /properties/name
158
+ sourceName: name
159
+ nativeName: Name
160
+ construct: wrapper
161
+ file: bindings.py
162
+ fields:
163
+ - modelRef:
164
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
165
+ jsonPointer: /properties/name
166
+ sourceName: name
167
+ nativeName: value
168
+ required: true
169
+ value:
170
+ builtin: str
171
+ synthetic: true
172
+ implements:
173
+ - declarationCoordinate: kind:google.analytics
174
+ markerMethod: rc_marker_5b3cdc5c9263b3fc
175
+ - modelRef:
176
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
177
+ jsonPointer: /properties/optional
178
+ sourceName: optional
179
+ nativeName: Optional
180
+ construct: wrapper
181
+ file: bindings.py
182
+ fields:
183
+ - modelRef:
184
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
185
+ jsonPointer: /properties/optional
186
+ sourceName: optional
187
+ nativeName: value
188
+ required: true
189
+ value:
190
+ builtin: bool
191
+ synthetic: true
192
+ implements:
193
+ - declarationCoordinate: kind:google.analytics
194
+ markerMethod: rc_marker_5b3cdc5c9263b3fc
195
+ - modelRef:
196
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
197
+ jsonPointer: /properties/interface
198
+ sourceName: web
199
+ nativeName: Web
200
+ construct: object
201
+ file: bindings.py
202
+ fields:
203
+ - modelRef:
204
+ coordinate: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml#schema:google-analytics-web
205
+ jsonPointer: /properties/interface/properties/events
206
+ sourceName: events
207
+ nativeName: events
208
+ required: true
209
+ value:
210
+ type: Events
211
+ implements:
212
+ - declarationCoordinate: kind:google.analytics
213
+ markerMethod: rc_marker_5b3cdc5c9263b3fc
@@ -0,0 +1,105 @@
1
+ apiVersion: runtimeconditions.io/v1alpha1
2
+ kind: RuntimeConditionsExtensionDefinition
3
+
4
+ metadata:
5
+ id: https://runtimeconditions.io/extensions/google/analytics/0.1.0/runtimeconditions.extension.yaml
6
+ version: 0.1.0
7
+
8
+ spec:
9
+ kinds:
10
+ - name: google.analytics
11
+
12
+ interfaceTypes:
13
+ - name: web
14
+ targetKind: google.analytics
15
+
16
+ conditionFields:
17
+ - name: configuration
18
+ appliesToKinds:
19
+ - google.analytics
20
+ appliesToInterfaceTypes:
21
+ - web
22
+
23
+ interfaceFields:
24
+ - name: events
25
+ targetKind: google.analytics
26
+ targetType: web
27
+
28
+ fieldValues:
29
+ - field: interface.events[]
30
+ targetKind: google.analytics
31
+ targetType: web
32
+ values:
33
+ - page_view
34
+ - custom_event
35
+ - field: configuration.env[].property
36
+ targetKind: google.analytics
37
+ targetType: web
38
+ values:
39
+ - measurementId
40
+
41
+ schemas:
42
+ - id: google-analytics-web
43
+ appliesToKind: google.analytics
44
+ appliesToInterfaceType: web
45
+ description: Validates browser-side Google Analytics event collection requirements.
46
+ schema:
47
+ $schema: https://json-schema.org/draft/2020-12/schema
48
+ type: object
49
+ required:
50
+ - kind
51
+ - interface
52
+ - configuration
53
+ properties:
54
+ name:
55
+ type: string
56
+ minLength: 1
57
+ optional:
58
+ type: boolean
59
+ kind:
60
+ const: google.analytics
61
+ interface:
62
+ type: object
63
+ required:
64
+ - type
65
+ - events
66
+ properties:
67
+ type:
68
+ const: web
69
+ events:
70
+ type: array
71
+ minItems: 1
72
+ uniqueItems: true
73
+ items:
74
+ enum:
75
+ - page_view
76
+ - custom_event
77
+ additionalProperties: false
78
+ configuration:
79
+ type: object
80
+ required:
81
+ - env
82
+ properties:
83
+ env:
84
+ type: array
85
+ minItems: 1
86
+ uniqueItems: true
87
+ contains:
88
+ type: object
89
+ required:
90
+ - property
91
+ - name
92
+ properties:
93
+ property:
94
+ const: measurementId
95
+ name:
96
+ type: string
97
+ pattern: '^[A-Za-z_][A-Za-z0-9_]*$'
98
+ sensitive:
99
+ type: boolean
100
+ required:
101
+ type: boolean
102
+ additionalProperties: false
103
+ additionalProperties: false
104
+ additionalProperties: false
105
+
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.4
2
+ Name: runtimeconditions-google-analytics
3
+ Version: 0.1.0
4
+ Project-URL: Repository, https://github.com/runtimeconditions/extensions
5
+ Requires-Python: >=3.12
@@ -0,0 +1,14 @@
1
+ MANIFEST.in
2
+ pyproject.toml
3
+ runtimeconditions.file-manifest.yaml
4
+ src/runtimeconditions_google_analytics/__init__.py
5
+ src/runtimeconditions_google_analytics/bindings.py
6
+ src/runtimeconditions_google_analytics/py.typed
7
+ src/runtimeconditions_google_analytics/runtimeconditions.binding-model.yaml
8
+ src/runtimeconditions_google_analytics/runtimeconditions.binding-release.yaml
9
+ src/runtimeconditions_google_analytics/runtimeconditions.bindings.yaml
10
+ src/runtimeconditions_google_analytics/runtimeconditions.extension.yaml
11
+ src/runtimeconditions_google_analytics.egg-info/PKG-INFO
12
+ src/runtimeconditions_google_analytics.egg-info/SOURCES.txt
13
+ src/runtimeconditions_google_analytics.egg-info/dependency_links.txt
14
+ src/runtimeconditions_google_analytics.egg-info/top_level.txt