@scaffoldly/rowdy 0.0.2-1-beta.20251021023526.f7577f7 → 0.0.2-1-beta.20251021103126.52e3839

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.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { Observable, ReplaySubject } from 'rxjs';
3
+ import { AxiosInstance, AxiosHeaders, AxiosResponseHeaders } from 'axios';
3
4
  import * as path_to_regexp from 'path-to-regexp';
4
5
  import { PassThrough, Readable, Writable } from 'stream';
5
- import { AxiosHeaders, AxiosResponseHeaders, AxiosInstance } from 'axios';
6
6
  import { Agent } from 'https';
7
7
  import { APIGatewayProxyEventV2 } from 'aws-lambda';
8
8
 
@@ -130,11 +130,15 @@ declare class Environment implements ILoggable {
130
130
  repr(): string;
131
131
  }
132
132
 
133
- type IImageApi = {
133
+ interface IImageApi {
134
+ log: Logger;
135
+ http: AxiosInstance;
134
136
  getImage(req: Image['Req'], opts?: Image['Opts']['GET']): Observable<ApiSchema<Image['Req'], Image['Res']>>;
135
137
  putImage(req: Image['Req'], opts?: Image['Opts']['PUT']): Observable<ApiSchema<Image['Req'], Image['Res']>>;
136
- };
138
+ }
137
139
  interface IRegistryApi {
140
+ log: Logger;
141
+ http: AxiosInstance;
138
142
  infer(): Observable<IRegistryApi>;
139
143
  getRegistry(req?: Registry['Req']): Observable<ApiSchema<Registry['Req'], Registry['Res']>>;
140
144
  }
@@ -181,6 +185,7 @@ type Image = {
181
185
  authorization?: string;
182
186
  };
183
187
  PUT: Image['Opts']['GET'] & {
188
+ namepace?: string;
184
189
  registry?: string;
185
190
  };
186
191
  };