@intentius/chant-lexicon-k8s 0.100.0 → 0.102.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 (261) hide show
  1. package/dist/actions/apps.d.ts +4 -4
  2. package/dist/actions/apps.d.ts.map +1 -1
  3. package/dist/actions/core.d.ts +5 -5
  4. package/dist/actions/core.d.ts.map +1 -1
  5. package/dist/actions/networking.d.ts.map +1 -1
  6. package/dist/codegen/generate-typescript.d.ts +2 -2
  7. package/dist/codegen/generate-typescript.d.ts.map +1 -1
  8. package/dist/codegen/generate.d.ts.map +1 -1
  9. package/dist/codegen/naming.d.ts.map +1 -1
  10. package/dist/codegen/versions.d.ts.map +1 -1
  11. package/dist/components/capability-plugin.d.ts.map +1 -1
  12. package/dist/composites/catalog.d.ts.map +1 -1
  13. package/dist/composites/cockroachdb-cluster.d.ts +2 -2
  14. package/dist/composites/gke-otel-collector.d.ts.map +1 -1
  15. package/dist/composites/index.d.ts +1 -0
  16. package/dist/composites/index.d.ts.map +1 -1
  17. package/dist/composites/otel-collector-agent.d.ts +24 -2
  18. package/dist/composites/otel-collector-agent.d.ts.map +1 -1
  19. package/dist/composites/otel-collector-gateway.d.ts +37 -52
  20. package/dist/composites/otel-collector-gateway.d.ts.map +1 -1
  21. package/dist/composites/otel-collector-node.d.ts +88 -0
  22. package/dist/composites/otel-collector-node.d.ts.map +1 -0
  23. package/dist/composites/otel-collector-rbac.d.ts +74 -0
  24. package/dist/composites/otel-collector-rbac.d.ts.map +1 -0
  25. package/dist/composites/otel-collector-shape.d.ts +7 -0
  26. package/dist/composites/otel-collector-shape.d.ts.map +1 -1
  27. package/dist/composites/otel-collector.d.ts +17 -21
  28. package/dist/composites/otel-collector.d.ts.map +1 -1
  29. package/dist/composites/ray-cluster.d.ts +6 -6
  30. package/dist/composites/ray-job.d.ts +5 -5
  31. package/dist/composites/ray-service.d.ts +6 -6
  32. package/dist/crd/crd-sources.d.ts.map +1 -1
  33. package/dist/crd/loader.d.ts.map +1 -1
  34. package/dist/crd/oci-chart.d.ts +50 -0
  35. package/dist/crd/oci-chart.d.ts.map +1 -0
  36. package/dist/crd/types.d.ts +5 -0
  37. package/dist/crd/types.d.ts.map +1 -1
  38. package/dist/effect-receipt-row.d.ts.map +1 -1
  39. package/dist/generated/index.d.ts +752 -729
  40. package/dist/generated/index.d.ts.map +1 -1
  41. package/dist/import/embedded.d.ts +4 -2
  42. package/dist/import/embedded.d.ts.map +1 -1
  43. package/dist/import/generator.d.ts.map +1 -1
  44. package/dist/import/live-export.d.ts +5 -0
  45. package/dist/import/live-export.d.ts.map +1 -1
  46. package/dist/import/parser.d.ts.map +1 -1
  47. package/dist/import/testdata/embedded/fixtures.d.ts +6 -0
  48. package/dist/import/testdata/embedded/fixtures.d.ts.map +1 -1
  49. package/dist/integrity.json +8 -6
  50. package/dist/lint/audit-catalog.d.ts.map +1 -1
  51. package/dist/lint/post-synth/index.d.ts.map +1 -1
  52. package/dist/lint/post-synth/otel-placement-helpers.d.ts +5 -1
  53. package/dist/lint/post-synth/otel-placement-helpers.d.ts.map +1 -1
  54. package/dist/lint/post-synth/wk8604.d.ts +19 -0
  55. package/dist/lint/post-synth/wk8604.d.ts.map +1 -0
  56. package/dist/lint/post-synth/wk8605.d.ts +23 -0
  57. package/dist/lint/post-synth/wk8605.d.ts.map +1 -0
  58. package/dist/manifest.json +1 -1
  59. package/dist/meta.json +156 -17
  60. package/dist/okf/index.md +5 -0
  61. package/dist/okf/rules/WK8604.md +11 -0
  62. package/dist/okf/rules/WK8605.md +11 -0
  63. package/dist/okf/types/APIGroup.md +3 -3
  64. package/dist/okf/types/APIGroupList.md +1 -1
  65. package/dist/okf/types/APIResourceList.md +1 -1
  66. package/dist/okf/types/APIService.md +1 -1
  67. package/dist/okf/types/APIServiceList.md +2 -2
  68. package/dist/okf/types/APIVersions.md +1 -1
  69. package/dist/okf/types/BatchJob.md +1 -1
  70. package/dist/okf/types/CSIDriver.md +1 -1
  71. package/dist/okf/types/CSIDriverList.md +2 -2
  72. package/dist/okf/types/CSINode.md +1 -1
  73. package/dist/okf/types/CSINodeList.md +2 -2
  74. package/dist/okf/types/CSIStorageCapacity.md +2 -2
  75. package/dist/okf/types/CSIStorageCapacityList.md +2 -2
  76. package/dist/okf/types/CertificateSigningRequest.md +1 -1
  77. package/dist/okf/types/CertificateSigningRequestList.md +2 -2
  78. package/dist/okf/types/ClusterRole.md +1 -1
  79. package/dist/okf/types/ClusterRoleBindingList.md +2 -2
  80. package/dist/okf/types/ClusterRoleList.md +2 -2
  81. package/dist/okf/types/ClusterTrustBundle.md +1 -1
  82. package/dist/okf/types/ClusterTrustBundleList.md +2 -2
  83. package/dist/okf/types/ComponentStatus.md +1 -1
  84. package/dist/okf/types/ComponentStatusList.md +2 -2
  85. package/dist/okf/types/ConfigMapList.md +2 -2
  86. package/dist/okf/types/ControllerRevisionList.md +2 -2
  87. package/dist/okf/types/CoreEventList.md +2 -2
  88. package/dist/okf/types/CronJob.md +1 -1
  89. package/dist/okf/types/CronJobList.md +2 -2
  90. package/dist/okf/types/CustomResourceDefinition.md +1 -1
  91. package/dist/okf/types/CustomResourceDefinitionList.md +2 -2
  92. package/dist/okf/types/DaemonSet.md +1 -1
  93. package/dist/okf/types/DaemonSetList.md +2 -2
  94. package/dist/okf/types/DeleteOptions.md +1 -1
  95. package/dist/okf/types/Deploy.md +1 -1
  96. package/dist/okf/types/DeploymentList.md +2 -2
  97. package/dist/okf/types/DeviceClass.md +1 -1
  98. package/dist/okf/types/DeviceClassList.md +2 -2
  99. package/dist/okf/types/DeviceTaintRule.md +1 -1
  100. package/dist/okf/types/DeviceTaintRuleList.md +2 -2
  101. package/dist/okf/types/EndpointSlice.md +2 -2
  102. package/dist/okf/types/EndpointSliceList.md +2 -2
  103. package/dist/okf/types/Endpoints.md +1 -1
  104. package/dist/okf/types/EndpointsList.md +2 -2
  105. package/dist/okf/types/Event.md +2 -2
  106. package/dist/okf/types/EventsEvent.md +2 -2
  107. package/dist/okf/types/EventsEventList.md +2 -2
  108. package/dist/okf/types/Eviction.md +1 -1
  109. package/dist/okf/types/FlowSchema.md +1 -1
  110. package/dist/okf/types/FlowSchemaList.md +2 -2
  111. package/dist/okf/types/GrafanaDashboard.md +14 -0
  112. package/dist/okf/types/GrafanaDatasource.md +14 -0
  113. package/dist/okf/types/GrafanaFolder.md +14 -0
  114. package/dist/okf/types/HorizontalPodAutoscaler.md +1 -1
  115. package/dist/okf/types/HorizontalPodAutoscalerList.md +2 -2
  116. package/dist/okf/types/IPAddress.md +1 -1
  117. package/dist/okf/types/IPAddressList.md +2 -2
  118. package/dist/okf/types/Ing.md +1 -1
  119. package/dist/okf/types/IngressClass.md +1 -1
  120. package/dist/okf/types/IngressClassList.md +2 -2
  121. package/dist/okf/types/IngressList.md +2 -2
  122. package/dist/okf/types/JobList.md +2 -2
  123. package/dist/okf/types/Lease.md +1 -1
  124. package/dist/okf/types/LeaseCandidate.md +1 -1
  125. package/dist/okf/types/LeaseCandidateList.md +2 -2
  126. package/dist/okf/types/LeaseList.md +2 -2
  127. package/dist/okf/types/LimitRange.md +1 -1
  128. package/dist/okf/types/LimitRangeList.md +2 -2
  129. package/dist/okf/types/LocalSubjectAccessReview.md +1 -1
  130. package/dist/okf/types/MutatingAdmissionPolicy.md +1 -1
  131. package/dist/okf/types/MutatingAdmissionPolicyBinding.md +1 -1
  132. package/dist/okf/types/MutatingAdmissionPolicyBindingList.md +2 -2
  133. package/dist/okf/types/MutatingAdmissionPolicyList.md +2 -2
  134. package/dist/okf/types/MutatingWebhookConfiguration.md +1 -1
  135. package/dist/okf/types/MutatingWebhookConfigurationList.md +2 -2
  136. package/dist/okf/types/Namespace.md +1 -1
  137. package/dist/okf/types/NamespaceList.md +2 -2
  138. package/dist/okf/types/NetPol.md +1 -1
  139. package/dist/okf/types/NetworkPolicyList.md +2 -2
  140. package/dist/okf/types/Node.md +1 -1
  141. package/dist/okf/types/NodeList.md +2 -2
  142. package/dist/okf/types/PersistentVolume.md +1 -1
  143. package/dist/okf/types/PersistentVolumeClaimList.md +2 -2
  144. package/dist/okf/types/PersistentVolumeList.md +2 -2
  145. package/dist/okf/types/PodCertificateRequest.md +1 -1
  146. package/dist/okf/types/PodCertificateRequestList.md +2 -2
  147. package/dist/okf/types/PodDisruptionBudgetList.md +2 -2
  148. package/dist/okf/types/PodList.md +2 -2
  149. package/dist/okf/types/PodTemplateList.md +2 -2
  150. package/dist/okf/types/PriorityClassList.md +2 -2
  151. package/dist/okf/types/PriorityLevelConfiguration.md +1 -1
  152. package/dist/okf/types/PriorityLevelConfigurationList.md +2 -2
  153. package/dist/okf/types/ReplicaSet.md +1 -1
  154. package/dist/okf/types/ReplicaSetList.md +2 -2
  155. package/dist/okf/types/ReplicationController.md +1 -1
  156. package/dist/okf/types/ReplicationControllerList.md +2 -2
  157. package/dist/okf/types/ResourceClaim.md +1 -1
  158. package/dist/okf/types/ResourceClaimList.md +2 -2
  159. package/dist/okf/types/ResourceClaimTemplate.md +1 -1
  160. package/dist/okf/types/ResourceClaimTemplateList.md +2 -2
  161. package/dist/okf/types/ResourceQuota.md +1 -1
  162. package/dist/okf/types/ResourceQuotaList.md +2 -2
  163. package/dist/okf/types/ResourceSlice.md +1 -1
  164. package/dist/okf/types/ResourceSliceList.md +2 -2
  165. package/dist/okf/types/RoleBindingList.md +2 -2
  166. package/dist/okf/types/RoleList.md +2 -2
  167. package/dist/okf/types/RuntimeClass.md +2 -2
  168. package/dist/okf/types/RuntimeClassList.md +2 -2
  169. package/dist/okf/types/Scale.md +1 -1
  170. package/dist/okf/types/SecretList.md +2 -2
  171. package/dist/okf/types/SelfSubjectAccessReview.md +1 -1
  172. package/dist/okf/types/SelfSubjectRulesReview.md +1 -1
  173. package/dist/okf/types/Service.md +1 -1
  174. package/dist/okf/types/ServiceAccountList.md +2 -2
  175. package/dist/okf/types/ServiceCIDR.md +1 -1
  176. package/dist/okf/types/ServiceCIDRList.md +2 -2
  177. package/dist/okf/types/ServiceList.md +2 -2
  178. package/dist/okf/types/StatefulSet.md +1 -1
  179. package/dist/okf/types/StatefulSetList.md +2 -2
  180. package/dist/okf/types/Status.md +2 -2
  181. package/dist/okf/types/StorageClass.md +1 -1
  182. package/dist/okf/types/StorageClassList.md +2 -2
  183. package/dist/okf/types/StorageVersionMigration.md +1 -1
  184. package/dist/okf/types/StorageVersionMigrationList.md +2 -2
  185. package/dist/okf/types/SubjectAccessReview.md +1 -1
  186. package/dist/okf/types/TokenRequest.md +1 -1
  187. package/dist/okf/types/TokenReview.md +1 -1
  188. package/dist/okf/types/ValidatingAdmissionPolicy.md +1 -1
  189. package/dist/okf/types/ValidatingAdmissionPolicyBinding.md +1 -1
  190. package/dist/okf/types/ValidatingAdmissionPolicyBindingList.md +2 -2
  191. package/dist/okf/types/ValidatingAdmissionPolicyList.md +2 -2
  192. package/dist/okf/types/ValidatingWebhookConfiguration.md +1 -1
  193. package/dist/okf/types/ValidatingWebhookConfigurationList.md +2 -2
  194. package/dist/okf/types/VolumeAttachment.md +1 -1
  195. package/dist/okf/types/VolumeAttachmentList.md +2 -2
  196. package/dist/okf/types/VolumeAttributesClassList.md +2 -2
  197. package/dist/op/activities/argo.d.ts.map +1 -1
  198. package/dist/op/activities/index.d.ts +3 -3
  199. package/dist/op/activities/index.d.ts.map +1 -1
  200. package/dist/op/activities/wait-for-ready.d.ts.map +1 -1
  201. package/dist/op/builders.d.ts.map +1 -1
  202. package/dist/rules/otel-placement-helpers.ts +7 -11
  203. package/dist/rules/wk8604.ts +29 -0
  204. package/dist/rules/wk8605.ts +131 -0
  205. package/dist/skills/chant-k8s.md +1 -1
  206. package/dist/spec/parse.d.ts +27 -0
  207. package/dist/spec/parse.d.ts.map +1 -1
  208. package/dist/types/index.d.ts +5360 -972
  209. package/dist/variables.d.ts.map +1 -1
  210. package/package.json +4 -4
  211. package/src/codegen/declarations.test.ts +118 -0
  212. package/src/codegen/generate-typescript.ts +69 -4
  213. package/src/codegen/generate.ts +15 -6
  214. package/src/composites/__snapshots__/gke-otel-collector.snapshot.test.ts.snap +2 -68
  215. package/src/composites/catalog.ts +12 -0
  216. package/src/composites/gke-otel-collector.snapshot.test.ts +3 -1
  217. package/src/composites/gke-otel-collector.ts +13 -2
  218. package/src/composites/index.ts +1 -0
  219. package/src/composites/otel-collector-agent.ts +45 -11
  220. package/src/composites/otel-collector-gateway.test.ts +102 -5
  221. package/src/composites/otel-collector-gateway.ts +96 -18
  222. package/src/composites/otel-collector-node.test.ts +174 -0
  223. package/src/composites/otel-collector-node.ts +213 -0
  224. package/src/composites/otel-collector-rbac.test.ts +114 -0
  225. package/src/composites/otel-collector-rbac.ts +144 -0
  226. package/src/composites/otel-collector-shape.ts +19 -0
  227. package/src/composites/otel-collector.ts +40 -35
  228. package/src/crd/crd-sources.ts +26 -0
  229. package/src/crd/loader.test.ts +9 -1
  230. package/src/crd/loader.ts +26 -3
  231. package/src/crd/oci-chart.test.ts +149 -0
  232. package/src/crd/oci-chart.ts +178 -0
  233. package/src/crd/types.ts +5 -0
  234. package/src/generated/index.d.ts +5360 -972
  235. package/src/generated/index.ts +23 -0
  236. package/src/generated/lexicon-k8s.json +156 -17
  237. package/src/generated/operations.json +48 -0
  238. package/src/import/embedded-live.test.ts +180 -0
  239. package/src/import/embedded-roundtrip.test.ts +73 -7
  240. package/src/import/embedded-types.e2e.test.ts +3 -1
  241. package/src/import/embedded.test.ts +64 -0
  242. package/src/import/embedded.ts +31 -2
  243. package/src/import/generator.test.ts +19 -0
  244. package/src/import/generator.ts +20 -2
  245. package/src/import/live-export.ts +10 -2
  246. package/src/import/testdata/embedded/README.md +4 -1
  247. package/src/import/testdata/embedded/alertmanager-configmap.yaml +91 -0
  248. package/src/import/testdata/embedded/fixtures.ts +18 -0
  249. package/src/import/testdata/embedded/grafana-operator-dashboard.yaml +363 -0
  250. package/src/import/testdata/embedded/grafana-v2-dashboard-configmap.yaml +851 -0
  251. package/src/lint/audit-catalog.ts +2 -0
  252. package/src/lint/post-synth/index.ts +4 -0
  253. package/src/lint/post-synth/otel-placement-helpers.ts +7 -11
  254. package/src/lint/post-synth/otel-placement.test.ts +35 -0
  255. package/src/lint/post-synth/post-synth.test.ts +3 -3
  256. package/src/lint/post-synth/wk8604.ts +29 -0
  257. package/src/lint/post-synth/wk8605.test.ts +141 -0
  258. package/src/lint/post-synth/wk8605.ts +131 -0
  259. package/src/skills/chant-k8s.md +1 -1
  260. package/src/spec/parse.test.ts +118 -0
  261. package/src/spec/parse.ts +250 -29
@@ -11,7 +11,7 @@ resource_type: K8s::Storage::StorageClass
11
11
  ## Properties
12
12
 
13
13
  - `provisioner` (`string`, required): provisioner indicates the type of the provisioner.
14
- - `allowedTopologies` (`Record<string, unknown>[]`, optional): allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
14
+ - `allowedTopologies` (`TopologySelectorTerm[]`, optional): allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
15
15
  - `allowVolumeExpansion` (`boolean`, optional): allowVolumeExpansion shows whether the storage class allow volume expand.
16
16
  - `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
17
17
  - `mountOptions` (`string[]`, optional): mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::StorageClassList
10
10
 
11
11
  ## Properties
12
12
 
13
- - `items` (`Record<string, unknown>[]`, required): items is the list of StorageClasses
14
- - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
13
+ - `items` (`{ allowVolumeExpansion?: boolean; allowedTopologies?: TopologySelectorTerm[]; metadata?: ObjectMeta; mountOptions?: string[]; parameters?: Record<string, string>; provisioner: string; reclaimPolicy?: string; volumeBindingMode?: string }[]`, required): items is the list of StorageClasses
14
+ - `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -11,4 +11,4 @@ resource_type: K8s::Storagemigration::StorageVersionMigration
11
11
  ## Properties
12
12
 
13
13
  - `metadata` (`ObjectMeta`, optional): Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
14
- - `spec` (`Record<string, unknown>`, optional): Specification of the migration.
14
+ - `spec` (`StorageVersionMigrationSpec`, optional): Specification of the migration.
@@ -10,5 +10,5 @@ resource_type: K8s::Storagemigration::StorageVersionMigrationList
10
10
 
11
11
  ## Properties
12
12
 
13
- - `items` (`Record<string, unknown>[]`, required): Items is the list of StorageVersionMigration
14
- - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
13
+ - `items` (`{ metadata?: ObjectMeta; spec?: StorageVersionMigrationSpec }[]`, required): Items is the list of StorageVersionMigration
14
+ - `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -10,5 +10,5 @@ resource_type: K8s::Authorization::SubjectAccessReview
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec holds information about the request being evaluated
13
+ - `spec` (`SubjectAccessReviewSpec`, required): spec holds information about the request being evaluated
14
14
  - `metadata` (`ObjectMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -11,4 +11,4 @@ resource_type: K8s::Authentication::TokenRequest
11
11
  ## Properties
12
12
 
13
13
  - `metadata` (`ObjectMeta`, optional): metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
14
- - `spec` (`Record<string, unknown>`, optional): spec holds information about the request being evaluated
14
+ - `spec` (`TokenRequestSpec`, optional): spec holds information about the request being evaluated
@@ -10,5 +10,5 @@ resource_type: K8s::Authentication::TokenReview
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec holds information about the request being evaluated
13
+ - `spec` (`TokenReviewSpec`, required): spec holds information about the request being evaluated
14
14
  - `metadata` (`ObjectMeta`, optional): metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -11,4 +11,4 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicy
11
11
  ## Properties
12
12
 
13
13
  - `metadata` (`ObjectMeta`, optional): metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
14
- - `spec` (`Record<string, unknown>`, optional): spec defines the desired behavior of the ValidatingAdmissionPolicy.
14
+ - `spec` (`ValidatingAdmissionPolicySpec`, optional): spec defines the desired behavior of the ValidatingAdmissionPolicy.
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyBinding
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
13
+ - `spec` (`ValidatingAdmissionPolicyBindingSpec`, required): spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
14
14
  - `metadata` (`ObjectMeta`, optional): metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyBindingList
10
10
 
11
11
  ## Properties
12
12
 
13
- - `items` (`Record<string, unknown>[]`, required): List of PolicyBinding.
14
- - `metadata` (`Record<string, unknown>`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
13
+ - `items` (`{ metadata?: ObjectMeta; spec: ValidatingAdmissionPolicyBindingSpec }[]`, required): List of PolicyBinding.
14
+ - `metadata` (`ListMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyList
10
10
 
11
11
  ## Properties
12
12
 
13
- - `items` (`Record<string, unknown>[]`, required): List of ValidatingAdmissionPolicy.
14
- - `metadata` (`Record<string, unknown>`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
13
+ - `items` (`{ metadata?: ObjectMeta; spec?: ValidatingAdmissionPolicySpec }[]`, required): List of ValidatingAdmissionPolicy.
14
+ - `metadata` (`ListMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -11,4 +11,4 @@ resource_type: K8s::Admissionregistration::ValidatingWebhookConfiguration
11
11
  ## Properties
12
12
 
13
13
  - `metadata` (`ObjectMeta`, optional): metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
14
- - `webhooks` (`Record<string, unknown>[]`, optional): webhooks is a list of webhooks and the affected resources and operations.
14
+ - `webhooks` (`ValidatingWebhook[]`, optional): webhooks is a list of webhooks and the affected resources and operations.
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingWebhookConfigurationList
10
10
 
11
11
  ## Properties
12
12
 
13
- - `items` (`Record<string, unknown>[]`, required): List of ValidatingWebhookConfiguration.
14
- - `metadata` (`Record<string, unknown>`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
13
+ - `items` (`{ metadata?: ObjectMeta; webhooks?: ValidatingWebhook[] }[]`, required): List of ValidatingWebhookConfiguration.
14
+ - `metadata` (`ListMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::VolumeAttachment
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
13
+ - `spec` (`VolumeAttachmentSpec`, required): spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
14
14
  - `metadata` (`ObjectMeta`, optional): Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::VolumeAttachmentList
10
10
 
11
11
  ## Properties
12
12
 
13
- - `items` (`Record<string, unknown>[]`, required): items is the list of VolumeAttachments
14
- - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
13
+ - `items` (`{ metadata?: ObjectMeta; spec: VolumeAttachmentSpec }[]`, required): items is the list of VolumeAttachments
14
+ - `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::VolumeAttributesClassList
10
10
 
11
11
  ## Properties
12
12
 
13
- - `items` (`Record<string, unknown>[]`, required): items is the list of VolumeAttributesClass objects.
14
- - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
13
+ - `items` (`{ driverName: string; metadata?: ObjectMeta; parameters?: Record<string, string> }[]`, required): items is the list of VolumeAttributesClass objects.
14
+ - `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -1 +1 @@
1
- {"version":3,"file":"argo.d.ts","sourceRoot":"","sources":["../../../src/op/activities/argo.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;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CAAC,EAAE,MAAM,CAAC;IAChB,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,mDAAmD;AACnD,MAAM,WAAW,aAAa;IAC5B,4FAA4F;IAC5F,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,2EAA2E;AAC3E,MAAM,MAAM,iBAAiB,GAAG,CAC9B,IAAI,EAAE,mBAAmB,EACzB,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,aAAa,CAAC,CAAC;AAE5B,4EAA4E;AAC5E,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,YAAY,OAAO,EAAE,MAAM,EAG1B;CACF;AA4CD,oEAAoE;AACpE,eAAO,MAAM,wBAAwB,EAAE,iBACkC,CAAC;AAE1E;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,mBAAmB,EACzB,MAAM,CAAC,EAAE,WAAW,EACpB,OAAO,GAAE,iBAA4C,GACpD,OAAO,CAAC,aAAa,CAAC,CAkCxB"}
@@ -29,10 +29,10 @@ export { waitForReady, defaultResourceFetcher, apiResourceFetcher, ReadinessFail
29
29
  export type { WaitForReadyArgs, ResourceFetcher, ReadinessSpec, ReadinessMatch, ConditionMatch, PathMatch, } from "./wait-for-ready.js";
30
30
  export { resolveClusterTarget, ClusterBindingMismatchError } from "@intentius/chant/kubectl-context";
31
31
  export type { ResolvedClusterTarget, K8sClusterProfile, K8sConfigShape } from "@intentius/chant/kubectl-context";
32
- export declare const receiptRead: (args: import("@intentius/chant/op/receipt-store").ReceiptReadArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op/receipt-store").ReceiptReadResult>;
33
- export declare const receiptWrite: (args: import("@intentius/chant/op/receipt-store").ReceiptWriteArgs, signal?: AbortSignal) => Promise<{
32
+ export declare const receiptRead: (args: import("@intentius/chant/op").ReceiptReadArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op").ReceiptReadResult>;
33
+ export declare const receiptWrite: (args: import("@intentius/chant/op").ReceiptWriteArgs, signal?: AbortSignal) => Promise<{
34
34
  written: true;
35
35
  receipt: string;
36
36
  }>;
37
- export declare const receiptStaleness: (args: import("@intentius/chant/op/receipt-store").ReceiptStalenessArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op/receipt-store").ReceiptStalenessResult>;
37
+ export declare const receiptStaleness: (args: import("@intentius/chant/op").ReceiptStalenessArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op").ReceiptStalenessResult>;
38
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/op/activities/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC/E,YAAY,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAMpG,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACxF,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEpF,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,kBAAkB,CAA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TATIONS`.
26
26
  */
27
27
 
28
- import { load } from "js-yaml";
28
+ import { parseCollectorConfig as parseOtelCollectorConfig } from "@intentius/chant-lexicon-otel/configmap";
29
29
  import { extractContainers, extractPodSpec, type K8sManifest } from "./k8s-helpers";
30
30
 
31
31
  export const PLACEMENT_ANNOTATIONS = {
@@ -80,17 +80,13 @@ function isRecord(v: unknown): v is Record<string, unknown> {
80
80
  return typeof v === "object" && v !== null && !Array.isArray(v);
81
81
  }
82
82
 
83
- /** Parse a ConfigMap value as a collector config, or undefined when it isn't one. */
83
+ /**
84
+ * Parse a ConfigMap value as a collector config, or undefined when it isn't
85
+ * one. The otel lexicon's parser, shared with its config checks (OTEL101 and
86
+ * the rest) and WK8604 so every check agrees on what counts as a config.
87
+ */
84
88
  export function parseCollectorConfig(text: unknown): CollectorConfigShape | undefined {
85
- if (typeof text !== "string") return undefined;
86
- let value: unknown;
87
- try {
88
- value = load(text);
89
- } catch {
90
- return undefined;
91
- }
92
- if (!isRecord(value) || !isRecord(value.service) || !isRecord(value.service.pipelines)) return undefined;
93
- return value as unknown as CollectorConfigShape;
89
+ return parseOtelCollectorConfig(text) as CollectorConfigShape | undefined;
94
90
  }
95
91
 
96
92
  /** The `type` of a component id: `tail_sampling/errors` is `tail_sampling`. */
@@ -0,0 +1,29 @@
1
+ /**
2
+ * WK8604: the otel config checks over collector configs in ConfigMaps
3
+ *
4
+ * `OtelCollector`, `OtelCollectorGateway`, `GkeOtelCollector` and hand-written
5
+ * manifests carry the collector config as a string under a ConfigMap data key.
6
+ * `chant build` gives each lexicon's checks only that lexicon's output, so the
7
+ * otel lexicon's config checks never see a config that lives in the k8s output
8
+ * (chant #2930). This check runs them there: every ConfigMap data value that
9
+ * parses as a collector config (a `service.pipelines` map) goes through the
10
+ * otel lexicon's `validateCollectorConfig`.
11
+ *
12
+ * Findings keep the otel rule ids (OTEL101-OTEL106, OTEL112-OTEL117, and any config
13
+ * check the otel lexicon adds later), so `lint.rules` and suppressions name
14
+ * one id wherever the config lives. Each message names the ConfigMap's
15
+ * namespace, name and key. Needs only the k8s lexicon in the project.
16
+ */
17
+
18
+ import type { PostSynthCheck, PostSynthContext, PostSynthDiagnostic } from "@intentius/chant/lint/post-synth";
19
+ import { collectorConfigDiagnostics } from "@intentius/chant-lexicon-otel/lint/post-synth/otel-helpers";
20
+
21
+ export const wk8604: PostSynthCheck = {
22
+ id: "WK8604",
23
+ description:
24
+ "OpenTelemetry Collector config in a ConfigMap fails the otel lexicon's config checks; findings are reported under their OTEL1xx ids, naming the ConfigMap and key.",
25
+
26
+ check(ctx: PostSynthContext): PostSynthDiagnostic[] {
27
+ return collectorConfigDiagnostics(ctx, { configMapsOnly: true });
28
+ },
29
+ };
@@ -0,0 +1,131 @@
1
+ /**
2
+ * WK8605: a collector config reads the node, and its workload doesn't give it the node
3
+ *
4
+ * `k8sattributes` filtering to its node by `filter.node_from_env_var`, and
5
+ * `kubeletstats` addressing the kubelet by `${env:K8S_NODE_NAME}`, need that
6
+ * variable set in the pod; unset, the filter matches no pod and the kubelet
7
+ * address doesn't resolve. `hostmetrics` with `root_path` needs the host root
8
+ * mounted there, and `filelog` needs the directories it reads mounted from
9
+ * the host. None of this fails at startup: the collector runs and reports
10
+ * the container instead of the node, or nothing.
11
+ *
12
+ * What a config needs is worked out by `collectorNodeAccess`, the function
13
+ * `OtelCollector` uses to add it (chant #3103), so the composite's own
14
+ * output passes and this fires on hand-written workloads. Only the
15
+ * containers that pass `--config` count (every container when none does). A variable
16
+ * counts as set whatever its source; a mount counts when a hostPath volume
17
+ * covers the path. Whether the container may read root-owned log files is
18
+ * not checked, since that depends on the runtime. One build root at a time
19
+ * (chant #1939).
20
+ */
21
+
22
+ import type { PostSynthCheck, PostSynthContext, PostSynthDiagnostic } from "@intentius/chant/lint/post-synth";
23
+ import { docsToManifests, extractContainers, extractPodSpec, type K8sContainer, type K8sManifest } from "./k8s-helpers";
24
+ import { collectorPlacements, describePlacement } from "./otel-placement-helpers";
25
+ import { collectorNodeAccess, type NodeHostMount } from "../../composites/otel-collector-node";
26
+
27
+ function isRecord(v: unknown): v is Record<string, unknown> {
28
+ return typeof v === "object" && v !== null && !Array.isArray(v);
29
+ }
30
+
31
+ function within(path: string, dir: string): boolean {
32
+ const d = dir.replace(/\/+$/, "");
33
+ return d === "" || path === d || path.startsWith(`${d}/`);
34
+ }
35
+
36
+ /**
37
+ * The containers that run a collector: those passing `--config`, or every
38
+ * container when none does. A sidecar's variables and mounts don't count.
39
+ */
40
+ function collectorContainers(workload: K8sManifest): K8sContainer[] {
41
+ const all = extractContainers(workload);
42
+ const withConfig = all.filter((c) =>
43
+ [...(Array.isArray(c.command) ? c.command : []), ...(Array.isArray(c.args) ? c.args : [])].some(
44
+ (a) => typeof a === "string" && (a === "--config" || a.startsWith("--config=")),
45
+ ),
46
+ );
47
+ return withConfig.length > 0 ? withConfig : all;
48
+ }
49
+
50
+ /** Each container mount backed by a hostPath volume, as [host path, container path]. */
51
+ function hostMounts(workload: K8sManifest, containers: K8sContainer[]): Array<[string, string]> {
52
+ const pod = extractPodSpec(workload);
53
+ const hostPaths = new Map<string, string>();
54
+ for (const v of Array.isArray(pod?.volumes) ? pod.volumes : []) {
55
+ if (isRecord(v) && typeof v.name === "string" && isRecord(v.hostPath) && typeof v.hostPath.path === "string") {
56
+ hostPaths.set(v.name, v.hostPath.path);
57
+ }
58
+ }
59
+ const out: Array<[string, string]> = [];
60
+ for (const c of containers) {
61
+ for (const m of Array.isArray(c.volumeMounts) ? c.volumeMounts : []) {
62
+ if (!isRecord(m) || typeof m.name !== "string" || typeof m.mountPath !== "string") continue;
63
+ const host = hostPaths.get(m.name);
64
+ if (host !== undefined) out.push([host.replace(/\/+$/, "") || "/", m.mountPath.replace(/\/+$/, "") || "/"]);
65
+ }
66
+ }
67
+ return out;
68
+ }
69
+
70
+ /** Whether some hostPath mount gives the container the host path a requirement names, at its path. */
71
+ function covered(need: NodeHostMount, mounts: Array<[string, string]>): boolean {
72
+ return mounts.some(([host, path]) => {
73
+ // hostmetrics takes the host root or parts of it anywhere at or under root_path.
74
+ if (need.partial && within(path, need.mountPath)) {
75
+ const rel = path.slice(need.mountPath.length);
76
+ return host === (rel || "/");
77
+ }
78
+ if (!within(need.mountPath, path)) return false;
79
+ const rel = need.mountPath.slice(path === "/" ? 0 : path.length);
80
+ const expected = `${host === "/" ? "" : host}${rel}` || "/";
81
+ return expected === need.hostPath;
82
+ });
83
+ }
84
+
85
+ function envNames(containers: K8sContainer[]): Set<string> {
86
+ const names = new Set<string>();
87
+ for (const c of containers) {
88
+ for (const e of Array.isArray(c.env) ? c.env : []) {
89
+ if (isRecord(e) && typeof e.name === "string") names.add(e.name);
90
+ }
91
+ }
92
+ return names;
93
+ }
94
+
95
+ export const wk8605: PostSynthCheck = {
96
+ id: "WK8605",
97
+ description:
98
+ "OpenTelemetry Collector config reads the node (k8sattributes filtered to its node, kubeletstats, hostmetrics root_path, filelog) but its workload doesn't set the node name variable or mount the host paths. Sees one build root at a time (chant #1939).",
99
+
100
+ check(ctx: PostSynthContext): PostSynthDiagnostic[] {
101
+ const diagnostics: PostSynthDiagnostic[] = [];
102
+ for (const p of collectorPlacements(docsToManifests(ctx))) {
103
+ const need = collectorNodeAccess(p.config);
104
+ if (need.env.length === 0 && need.mounts.length === 0) continue;
105
+
106
+ const containers = collectorContainers(p.workload);
107
+ const env = envNames(containers);
108
+ const mounts = hostMounts(p.workload, containers);
109
+ const gaps: string[] = [];
110
+ for (const v of need.env) {
111
+ if (!env.has(v.name)) gaps.push(`no ${v.name} variable (set it from ${v.valueFrom.fieldRef.fieldPath} with the downward API)`);
112
+ }
113
+ for (const m of need.mounts) {
114
+ if (!covered(m, mounts)) gaps.push(`${m.component} reads host ${m.hostPath} at ${m.mountPath}, which no hostPath volume mounts`);
115
+ }
116
+ if (gaps.length === 0) continue;
117
+
118
+ diagnostics.push({
119
+ checkId: "WK8605",
120
+ severity: "warning",
121
+ message:
122
+ `${describePlacement(p)} runs a collector config that reads the node (ConfigMap ${p.configMap}, ${p.key}), but: ${gaps.join("; ")}. ` +
123
+ `Without them the collector reports on its own container, or nothing. OtelCollector adds these from the config; ` +
124
+ `in a hand-written workload, add them read-only.`,
125
+ entity: p.name,
126
+ lexicon: "k8s",
127
+ });
128
+ }
129
+ return diagnostics;
130
+ },
131
+ };
@@ -171,7 +171,7 @@ Composites are higher-level functions that produce multiple coordinated K8s reso
171
171
  | Multi-host TLS Ingress (cert-manager) | **SecureIngress** | Ingress + optional Certificate |
172
172
  | HPA metrics provider | **MetricsServer** | Deployment + Service + RBAC + APIService |
173
173
  | CockroachDB cluster | **CockroachDbCluster** | StatefulSet + Services + PVCs + RBAC + optional CertificateRequests |
174
- | OpenTelemetry agent on every node | **OtelCollector** | DaemonSet + node-local Service + RBAC + ConfigMap |
174
+ | OpenTelemetry agent on every node | **OtelCollector** | DaemonSet + node-local Service + RBAC + ConfigMap; a node-reading config (otel's `NodeAgent`) also gets the node name variable and read-only host mounts |
175
175
  | OpenTelemetry gateway tier | **OtelCollectorGateway** | Deployment + ClusterIP and headless Services + PDB + ConfigMap; point agents at it with `gatewayExporter(gateway, { loadBalance: true })` |
176
176
 
177
177
  ### Decision Tree — AWS (EKS) Composites
@@ -26,6 +26,27 @@ export interface ParsedPropertyType {
26
26
  defType: string;
27
27
  properties: ParsedProperty[];
28
28
  }
29
+ /**
30
+ * A named OpenAPI object definition emitted as a declaration-only interface
31
+ * in the `.d.ts` (chant #3093): `DeploymentSpec`, `ServiceSpec`, `JobSpec`
32
+ * and every other object definition a resource reaches. Unlike the
33
+ * {@link PROPERTY_TYPE_DEFS} property types it has no runtime constructor and
34
+ * no registry entry; authors write it as an object literal.
35
+ */
36
+ export interface ParsedDefinitionType {
37
+ /** TypeScript name, e.g. `DeploymentSpec` or `FlowcontrolSubject`. */
38
+ name: string;
39
+ /** The definition key, e.g. `io.k8s.api.apps.v1.DeploymentSpec`. */
40
+ defKey: string;
41
+ description?: string;
42
+ properties: ParsedProperty[];
43
+ }
44
+ /** Everything one swagger document yields: resources and property types, plus the declaration-only interfaces. */
45
+ export interface K8sSwaggerParse {
46
+ results: K8sParseResult[];
47
+ /** Sorted by name. */
48
+ definitionTypes: ParsedDefinitionType[];
49
+ }
29
50
  export interface ParsedEnum {
30
51
  name: string;
31
52
  values: string[];
@@ -116,6 +137,12 @@ type SwaggerPathItem = Record<string, SwaggerOperation | unknown>;
116
137
  * Returns one result per top-level resource identified by x-kubernetes-group-version-kind.
117
138
  */
118
139
  export declare function parseK8sSwagger(data: string | Buffer): K8sParseResult[];
140
+ /**
141
+ * Parse the swagger document into resource and property-type results, and the
142
+ * declaration-only interfaces for every other object definition a resource
143
+ * reaches (chant #3093).
144
+ */
145
+ export declare function parseK8sSwaggerTypes(data: string | Buffer): K8sSwaggerParse;
119
146
  /** Stable key for a GVK, used to join the `paths` pass onto the `definitions` pass. */
120
147
  /**
121
148
  * Every `(property name, list-map keys)` pair the spec declares, across ALL
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/spec/parse.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAUhF,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAEpC,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,EAAE,mBAAmB,CAAC;IACjC,4GAA4G;IAC5G,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6HAA6H;IAC7H,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,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