@capraconsulting/cals-cli 2.25.21 → 2.25.23

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 (63) hide show
  1. package/lib/cache.d.ts +27 -27
  2. package/lib/cals-cli.d.ts +1 -1
  3. package/lib/cals-cli.js +2748 -2748
  4. package/lib/cli/commands/definition/dump-setup.d.ts +3 -3
  5. package/lib/cli/commands/definition/util.d.ts +6 -6
  6. package/lib/cli/commands/definition/util.test.d.ts +1 -1
  7. package/lib/cli/commands/definition/validate.d.ts +3 -3
  8. package/lib/cli/commands/definition.d.ts +3 -3
  9. package/lib/cli/commands/delete-cache.d.ts +3 -3
  10. package/lib/cli/commands/getting-started.d.ts +3 -3
  11. package/lib/cli/commands/github/analyze-directory.d.ts +3 -3
  12. package/lib/cli/commands/github/configure.d.ts +3 -3
  13. package/lib/cli/commands/github/generate-clone-commands.d.ts +3 -3
  14. package/lib/cli/commands/github/list-pull-requests-stats.d.ts +3 -3
  15. package/lib/cli/commands/github/list-repos.d.ts +3 -3
  16. package/lib/cli/commands/github/list-webhooks.d.ts +3 -3
  17. package/lib/cli/commands/github/set-token.d.ts +3 -3
  18. package/lib/cli/commands/github/sync.d.ts +9 -9
  19. package/lib/cli/commands/github/util.d.ts +3 -3
  20. package/lib/cli/commands/github.d.ts +3 -3
  21. package/lib/cli/commands/snyk/report.d.ts +3 -3
  22. package/lib/cli/commands/snyk/set-token.d.ts +3 -3
  23. package/lib/cli/commands/snyk/sync.d.ts +3 -3
  24. package/lib/cli/commands/snyk.d.ts +3 -3
  25. package/lib/cli/index.d.ts +1 -1
  26. package/lib/cli/index.test.d.ts +1 -1
  27. package/lib/cli/reporter.d.ts +27 -27
  28. package/lib/cli/util.d.ts +11 -11
  29. package/lib/config.d.ts +14 -14
  30. package/lib/definition/definition.d.ts +13 -13
  31. package/lib/definition/definition.test.d.ts +1 -1
  32. package/lib/definition/index.d.ts +2 -2
  33. package/lib/definition/types.d.ts +78 -78
  34. package/lib/git/GitRepo.d.ts +31 -31
  35. package/lib/git/util.d.ts +16 -16
  36. package/lib/git/util.test.d.ts +1 -1
  37. package/lib/github/changeset/changeset.d.ts +21 -21
  38. package/lib/github/changeset/execute.d.ts +10 -10
  39. package/lib/github/changeset/types.d.ts +93 -93
  40. package/lib/github/index.d.ts +2 -2
  41. package/lib/github/service.d.ts +91 -91
  42. package/lib/github/token.d.ts +11 -11
  43. package/lib/github/types.d.ts +85 -85
  44. package/lib/github/util.d.ts +8 -8
  45. package/lib/index.d.ts +14 -14
  46. package/lib/index.es.js +1519 -1519
  47. package/lib/index.js +1519 -1519
  48. package/lib/load-secrets/index.d.ts +2 -2
  49. package/lib/load-secrets/load-secrets.d.ts +7 -7
  50. package/lib/load-secrets/types.d.ts +22 -22
  51. package/lib/snyk/index.d.ts +3 -3
  52. package/lib/snyk/service.d.ts +21 -21
  53. package/lib/snyk/token.d.ts +11 -11
  54. package/lib/snyk/types.d.ts +27 -27
  55. package/lib/snyk/util.d.ts +3 -3
  56. package/lib/snyk/util.test.d.ts +1 -1
  57. package/lib/sonarcloud/index.d.ts +2 -2
  58. package/lib/sonarcloud/service.d.ts +33 -33
  59. package/lib/sonarcloud/token.d.ts +8 -8
  60. package/lib/testing/executor.d.ts +25 -25
  61. package/lib/testing/index.d.ts +2 -2
  62. package/lib/testing/lib.d.ts +64 -64
  63. package/package.json +6 -6
package/lib/cache.d.ts CHANGED
@@ -1,27 +1,27 @@
1
- import { Config } from "./config";
2
- interface CacheItem<T> {
3
- cacheTime: ReturnType<Date["getTime"]>;
4
- data: T;
5
- }
6
- export declare class CacheProvider {
7
- constructor(config: Config);
8
- mustValidate: boolean;
9
- private config;
10
- private defaultCacheTime;
11
- /**
12
- * Retrieve cache if existent, ignoring the time.
13
- *
14
- * The caller is responsible for handling proper validation,
15
- */
16
- retrieveJson<T>(cachekey: string): CacheItem<T> | undefined;
17
- /**
18
- * Save data to cache.
19
- */
20
- storeJson<T>(cachekey: string, data: T): void;
21
- json<T>(cachekey: string, block: () => Promise<T>, cachetime?: number): Promise<T>;
22
- /**
23
- * Delete all cached data.
24
- */
25
- cleanup(): void;
26
- }
27
- export {};
1
+ import { Config } from "./config";
2
+ interface CacheItem<T> {
3
+ cacheTime: ReturnType<Date["getTime"]>;
4
+ data: T;
5
+ }
6
+ export declare class CacheProvider {
7
+ constructor(config: Config);
8
+ mustValidate: boolean;
9
+ private config;
10
+ private defaultCacheTime;
11
+ /**
12
+ * Retrieve cache if existent, ignoring the time.
13
+ *
14
+ * The caller is responsible for handling proper validation,
15
+ */
16
+ retrieveJson<T>(cachekey: string): CacheItem<T> | undefined;
17
+ /**
18
+ * Save data to cache.
19
+ */
20
+ storeJson<T>(cachekey: string, data: T): void;
21
+ json<T>(cachekey: string, block: () => Promise<T>, cachetime?: number): Promise<T>;
22
+ /**
23
+ * Delete all cached data.
24
+ */
25
+ cleanup(): void;
26
+ }
27
+ export {};
package/lib/cals-cli.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ export {};