Buckets:
| export * as ConfigExperimental from "./experimental" | |
| import { Schema } from "effect" | |
| import { Catalog } from "../catalog" | |
| import { Policy as PolicyV2 } from "../policy" | |
| // Each core domain exports the policy actions it supports. Adding an action to | |
| // this union makes it valid in authored config while keeping Policy generic. | |
| export const PolicyAction = Schema.Union([Catalog.PolicyActions]) | |
| export class Policy extends Schema.Class<Policy>("ConfigV2.Experimental.Policy")({ | |
| ...PolicyV2.Info.fields, | |
| action: PolicyAction, | |
| }) {} | |
| export class Experimental extends Schema.Class<Experimental>("ConfigV2.Experimental")({ | |
| policies: Policy.pipe(Schema.Array, Schema.optional), | |
| }) {} | |
Xet Storage Details
- Size:
- 687 Bytes
- Xet hash:
- 7fc2d673b2cae2d56b81dffcb093e082d16e609e77b9ea0cd8a8e5485269c474
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.