@stackwright-pro/openapi 0.2.2-alpha.0 → 0.2.2-alpha.2

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.
package/dist/index.d.mts CHANGED
@@ -629,30 +629,6 @@ declare class ClientGenerator {
629
629
  private getAPIDescription;
630
630
  }
631
631
 
632
- /**
633
- * OpenAPICollectionProvider
634
- *
635
- * Runtime implementation of CollectionProvider for OpenAPI endpoints.
636
- * This is the runtime component that actually fetches data.
637
- */
638
- declare class OpenAPICollectionProvider {
639
- private baseUrl;
640
- private auth?;
641
- constructor(baseUrl: string, auth?: {
642
- type: string;
643
- token?: string;
644
- apiKey?: string;
645
- } | undefined);
646
- /**
647
- * Fetch items from an API endpoint
648
- */
649
- fetchItems(endpoint: string): Promise<unknown[]>;
650
- /**
651
- * Fetch a single item by slug
652
- */
653
- fetchItem(endpoint: string, slug: string): Promise<unknown>;
654
- }
655
-
656
632
  /**
657
633
  * Prebuild plugin types
658
634
  * TODO: Move to @stackwright/types package when created
@@ -978,4 +954,4 @@ declare class ApprovedSpecsValidator {
978
954
  clearCache(): void;
979
955
  }
980
956
 
981
- export { type ApprovedSpec, ApprovedSpecsValidator, type ClientGenerationOptions, ClientGenerator, type CollectionConfig, CollectionProviderGenerator, EndpointFilter, OpenAPICollectionProvider, type OpenAPICompilationResult, type OpenAPIConfig, type OpenAPIDocument, OpenAPIParser, OpenAPIPlugin, type OpenAPISourceConfig, type ParseOptions, type ParseResult, type PrebuildSecurityConfig, type ProviderGenerationOptions, type SchemaMapping, SchemaResolver, type SiteConfig, type TypeGenerationOptions, TypeGenerator, type ValidationResult, type ZodGenerationOptions, ZodSchemaGenerator, createOpenAPIFetcher, createOpenAPIPlugin, isUrlSafe, validateUrlSafe };
957
+ export { type ApprovedSpec, ApprovedSpecsValidator, type ClientGenerationOptions, ClientGenerator, type CollectionConfig, CollectionProviderGenerator, EndpointFilter, type OpenAPICompilationResult, type OpenAPIConfig, type OpenAPIDocument, OpenAPIParser, OpenAPIPlugin, type OpenAPISourceConfig, type ParseOptions, type ParseResult, type PrebuildSecurityConfig, type ProviderGenerationOptions, type SchemaMapping, SchemaResolver, type SiteConfig, type TypeGenerationOptions, TypeGenerator, type ValidationResult, type ZodGenerationOptions, ZodSchemaGenerator, createOpenAPIFetcher, createOpenAPIPlugin, isUrlSafe, validateUrlSafe };
package/dist/index.d.ts CHANGED
@@ -629,30 +629,6 @@ declare class ClientGenerator {
629
629
  private getAPIDescription;
630
630
  }
631
631
 
632
- /**
633
- * OpenAPICollectionProvider
634
- *
635
- * Runtime implementation of CollectionProvider for OpenAPI endpoints.
636
- * This is the runtime component that actually fetches data.
637
- */
638
- declare class OpenAPICollectionProvider {
639
- private baseUrl;
640
- private auth?;
641
- constructor(baseUrl: string, auth?: {
642
- type: string;
643
- token?: string;
644
- apiKey?: string;
645
- } | undefined);
646
- /**
647
- * Fetch items from an API endpoint
648
- */
649
- fetchItems(endpoint: string): Promise<unknown[]>;
650
- /**
651
- * Fetch a single item by slug
652
- */
653
- fetchItem(endpoint: string, slug: string): Promise<unknown>;
654
- }
655
-
656
632
  /**
657
633
  * Prebuild plugin types
658
634
  * TODO: Move to @stackwright/types package when created
@@ -978,4 +954,4 @@ declare class ApprovedSpecsValidator {
978
954
  clearCache(): void;
979
955
  }
980
956
 
981
- export { type ApprovedSpec, ApprovedSpecsValidator, type ClientGenerationOptions, ClientGenerator, type CollectionConfig, CollectionProviderGenerator, EndpointFilter, OpenAPICollectionProvider, type OpenAPICompilationResult, type OpenAPIConfig, type OpenAPIDocument, OpenAPIParser, OpenAPIPlugin, type OpenAPISourceConfig, type ParseOptions, type ParseResult, type PrebuildSecurityConfig, type ProviderGenerationOptions, type SchemaMapping, SchemaResolver, type SiteConfig, type TypeGenerationOptions, TypeGenerator, type ValidationResult, type ZodGenerationOptions, ZodSchemaGenerator, createOpenAPIFetcher, createOpenAPIPlugin, isUrlSafe, validateUrlSafe };
957
+ export { type ApprovedSpec, ApprovedSpecsValidator, type ClientGenerationOptions, ClientGenerator, type CollectionConfig, CollectionProviderGenerator, EndpointFilter, type OpenAPICompilationResult, type OpenAPIConfig, type OpenAPIDocument, OpenAPIParser, OpenAPIPlugin, type OpenAPISourceConfig, type ParseOptions, type ParseResult, type PrebuildSecurityConfig, type ProviderGenerationOptions, type SchemaMapping, SchemaResolver, type SiteConfig, type TypeGenerationOptions, TypeGenerator, type ValidationResult, type ZodGenerationOptions, ZodSchemaGenerator, createOpenAPIFetcher, createOpenAPIPlugin, isUrlSafe, validateUrlSafe };
package/dist/index.js CHANGED
@@ -7639,26 +7639,6 @@ ${paramSchemas.join(",\n")}
7639
7639
  }
7640
7640
  };
7641
7641
 
7642
- // src/runtime/OpenAPICollectionProvider.ts
7643
- var OpenAPICollectionProvider = class {
7644
- constructor(baseUrl, auth) {
7645
- this.baseUrl = baseUrl;
7646
- this.auth = auth;
7647
- }
7648
- /**
7649
- * Fetch items from an API endpoint
7650
- */
7651
- async fetchItems(endpoint) {
7652
- throw new Error("Not yet implemented");
7653
- }
7654
- /**
7655
- * Fetch a single item by slug
7656
- */
7657
- async fetchItem(endpoint, slug) {
7658
- throw new Error("Not yet implemented");
7659
- }
7660
- };
7661
-
7662
7642
  // src/utils/EndpointFilter.ts
7663
7643
  var EndpointFilter = class {
7664
7644
  include;
@@ -8719,7 +8699,6 @@ exports.ApprovedSpecsValidator = ApprovedSpecsValidator;
8719
8699
  exports.ClientGenerator = ClientGenerator;
8720
8700
  exports.CollectionProviderGenerator = CollectionProviderGenerator;
8721
8701
  exports.EndpointFilter = EndpointFilter;
8722
- exports.OpenAPICollectionProvider = OpenAPICollectionProvider;
8723
8702
  exports.OpenAPIParser = OpenAPIParser;
8724
8703
  exports.OpenAPIPlugin = OpenAPIPlugin;
8725
8704
  exports.SchemaResolver = SchemaResolver;