apps 0.0.1-beta.31 → 0.0.1-beta.33

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.
@@ -1,5 +1,6 @@
1
1
  /** Shared OpenAPI compilation diagnostics. */
2
2
  import { Schema } from "effect";
3
+ /** Which part of an OpenAPI document could not be compiled into tools. */
3
4
  export declare const OpenapiCompileErrorCode: Schema.Literals<readonly ["server_protocol", "server_url", "external_reference", "circular_reference", "schema_keyword", "schema_reference", "missing_component", "openapi_version", "auth_helper", "auth_missing", "operation_path", "operation_method", "duplicate_operation", "server_missing", "multiple_hosts", "parameter_encoding", "parameter_style", "request_body", "combined_oauth", "auth_method", "event_stream", "input_schema", "no_operations", "no_supported_operations", "invalid_document", "source_generation", "authoring_reference"]>;
4
5
  /** A declared operation the importer left out, and why. */
5
6
  export declare const OpenapiSkippedOperation: Schema.Struct<{
@@ -38,6 +38,11 @@ export interface ObjectSchema<F extends Fields> extends Schema<ObjectValue<F>> {
38
38
  export declare const decoderOf: <T>(schema: Schema<T, boolean>) => EffectSchema.Decoder<T>;
39
39
  /** Recognize schemas made by this author facade when adapting a definition. */
40
40
  export declare const isSchema: (value: unknown) => value is Schema<unknown, boolean>;
41
+ /**
42
+ * Source that skipped type checking can pass any value where a schema belongs, such as `string`
43
+ * for `string()`. Name the argument and the mistake before a native constructor reads it.
44
+ */
45
+ export declare const schemaArgument: <S extends Schema<unknown, boolean>>(value: S, role: string) => S;
41
46
  /** Decode within an Effect program. Invalid input is omitted from the failure. */
42
47
  export declare const parse: <T>(decoder: EffectSchema.Decoder<T>, input: unknown) => Effect.Effect<T, ValidationError>;
43
48
  /** Present a native decoder through the synchronous author API. */