@scaffoldly/rowdy 0.0.2-1-beta.20251020121139.f50647a → 0.0.2-1-beta.20251021012555.a08bc31

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 (3) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/dist/index.js +29372 -5717
  3. package/package.json +3 -1
package/dist/index.d.ts CHANGED
@@ -135,7 +135,8 @@ type IImageApi = {
135
135
  putImage(req: Image['Req'], opts?: Image['Opts']['PUT']): Observable<ApiSchema<Image['Req'], Image['Res']>>;
136
136
  };
137
137
  interface IRegistryApi {
138
- getRegistry(req: Registry['Req']): Observable<ApiSchema<Registry['Req'], Registry['Res']>>;
138
+ infer(): Observable<IRegistryApi>;
139
+ getRegistry(req?: Registry['Req']): Observable<ApiSchema<Registry['Req'], Registry['Res']>>;
139
140
  }
140
141
  type ApiVersion = 'rowdy.run/v1alpha1';
141
142
  type ApiKind = 'Routes' | 'NotFound' | Health$1['kind'] | Image['kind'] | Registry['kind'];
@@ -168,7 +169,6 @@ type Registry = {
168
169
  };
169
170
  Res: ApiResponseStatus & {
170
171
  registry: string;
171
- authorization: string;
172
172
  };
173
173
  };
174
174
  type Image = {
@@ -348,8 +348,8 @@ declare class Rowdy {
348
348
  constructor(log: Logger);
349
349
  get Images(): IImageApi;
350
350
  get Registry(): IRegistryApi;
351
- get proxy(): HttpProxy<Pipeline>;
352
- get environment(): Environment;
351
+ get proxy(): HttpProxy<Pipeline> | undefined;
352
+ get environment(): Environment | undefined;
353
353
  readonly routes: {
354
354
  GET: ({
355
355
  match: path_to_regexp.MatchFunction<never>;
@@ -364,7 +364,7 @@ declare class Rowdy {
364
364
  registry?: string;
365
365
  authorization?: string;
366
366
  }>;
367
- handler: (req: Registry["Req"]) => Observable<ApiSchema<Registry["Req"], Registry["Res"]>>;
367
+ handler: (req?: Registry["Req"]) => Observable<ApiSchema<Registry["Req"], Registry["Res"]>>;
368
368
  })[];
369
369
  PUT: {
370
370
  match: path_to_regexp.MatchFunction<{