@firestartr/cli 1.41.0 → 1.41.1-snapshot-1

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,4 +1,4 @@
1
- export declare function getFeatureTarballDownloadPath(featureName: string, version: string): string;
1
+ export declare function getFeatureZipDownloadPath(featureName: string, version: string): string;
2
2
  export declare function removeFeatureTarball(featureName: string, version: string): void;
3
3
  export declare function featureTarballExists(featureName: string, version: string): boolean;
4
4
  export declare function getFeaturesExtractPath(featureName: string, version: string, options?: any): string;
@@ -1,9 +1,15 @@
1
1
  import { RenderClaims } from '../../renderer/types';
2
2
  import { IClaim } from '../base';
3
+ export declare function initVirtualClaims(org: string): void;
4
+ export declare function isVirtualClaim(kind: string, name: string): boolean;
5
+ export declare function getVirtualClaim(kind: string, name: string): any;
3
6
  export interface IVirtualClaim {
4
- expand(renderClaims: RenderClaims, config?: any): Promise<IClaim>;
7
+ expand(config?: any): Promise<IClaim>;
8
+ getDefaultConfig(): any;
5
9
  }
6
10
  export declare class FirestartrAllClaim implements IVirtualClaim {
7
- expand(renderClaims: RenderClaims, config?: any): Promise<IClaim>;
11
+ DEFAULT_CONFIG: any;
12
+ expand(config?: any): Promise<IClaim>;
8
13
  expandMembers(renderClaims: RenderClaims): string[];
14
+ getDefaultConfig(): any;
9
15
  }
@@ -2,4 +2,4 @@ import { InitializerPatches } from '../initializers/base';
2
2
  import { GlobalSection } from '../globals/base';
3
3
  import { OverriderPatches } from '../overriders/base';
4
4
  import { Normalizer } from '../normalizers/base';
5
- export declare function loadClaim(claimRef: string, defaults: any, patchClaim: (claim: any, defaults: any) => any, loadInitializers: (claim: any) => Promise<InitializerPatches[]>, loadGlobals: (claim: any) => Promise<GlobalSection[]>, loadOverrides: (claim: any) => OverriderPatches[], loadNormalizers: (claim: any, path: string) => Promise<Normalizer[]>, cwd?: string, existingRefs?: any): Promise<any>;
5
+ export declare function loadClaim(claimRef: string, org: string, defaults: any, patchClaim: (claim: any, defaults: any) => any, loadInitializers: (claim: any) => Promise<InitializerPatches[]>, loadGlobals: (claim: any) => Promise<GlobalSection[]>, loadOverrides: (claim: any) => OverriderPatches[], loadNormalizers: (claim: any, path: string) => Promise<Normalizer[]>, cwd?: string, existingRefs?: any): Promise<any>;
@@ -1,9 +1,8 @@
1
- import { listFeatures, getFeatureConfig, prepareFeature } from './installer';
1
+ import { getFeatureConfig, prepareFeature } from './installer';
2
2
  import { renderFeature } from './renderer';
3
3
  declare const _default: {
4
4
  renderFeature: typeof renderFeature;
5
5
  getFeatureConfig: typeof getFeatureConfig;
6
- listFeatures: typeof listFeatures;
7
6
  prepareFeature: typeof prepareFeature;
8
7
  };
9
8
  export default _default;
@@ -1,5 +1,4 @@
1
- export declare function listFeatures(repo?: string, owner?: string): Promise<string[]>;
2
1
  export declare function getFeatureConfig(featureName: string, version: string, featureOwner: any, // -> cr
3
2
  featureArgs?: any, repo?: string, owner?: string): Promise<any>;
4
3
  export declare function prepareFeature(featureName: string, version: string, repo?: string, owner?: string): Promise<void>;
5
- export declare function downloadFeatureTarball(repo: string, featureName: string, version: string, owner?: string): Promise<string>;
4
+ export declare function downloadFeatureZip(repo: string, featureName: string, version: string, owner?: string): Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.41.0",
3
+ "version": "1.41.1-snapshot-1",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",