@memberjunction/open-app-engine 5.41.0 → 5.43.0

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 (48) hide show
  1. package/dist/dependency/dependency-graph-builder.d.ts +1 -1
  2. package/dist/dependency/dependency-graph-builder.d.ts.map +1 -1
  3. package/dist/dependency/dependency-graph-builder.js +5 -3
  4. package/dist/dependency/dependency-graph-builder.js.map +1 -1
  5. package/dist/dependency/dependency-resolver.d.ts +1 -0
  6. package/dist/dependency/dependency-resolver.d.ts.map +1 -1
  7. package/dist/dependency/dependency-resolver.js.map +1 -1
  8. package/dist/github/github-client.d.ts +10 -5
  9. package/dist/github/github-client.d.ts.map +1 -1
  10. package/dist/github/github-client.js +110 -94
  11. package/dist/github/github-client.js.map +1 -1
  12. package/dist/index.d.ts +2 -4
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +2 -3
  15. package/dist/index.js.map +1 -1
  16. package/dist/install/config-manager.d.ts +2 -1
  17. package/dist/install/config-manager.d.ts.map +1 -1
  18. package/dist/install/config-manager.js +175 -28
  19. package/dist/install/config-manager.js.map +1 -1
  20. package/dist/install/history-recorder.d.ts +14 -3
  21. package/dist/install/history-recorder.d.ts.map +1 -1
  22. package/dist/install/history-recorder.js +82 -48
  23. package/dist/install/history-recorder.js.map +1 -1
  24. package/dist/install/install-orchestrator.d.ts +9 -2
  25. package/dist/install/install-orchestrator.d.ts.map +1 -1
  26. package/dist/install/install-orchestrator.js +348 -146
  27. package/dist/install/install-orchestrator.js.map +1 -1
  28. package/dist/install/migration-runner.d.ts +27 -0
  29. package/dist/install/migration-runner.d.ts.map +1 -1
  30. package/dist/install/migration-runner.js +29 -8
  31. package/dist/install/migration-runner.js.map +1 -1
  32. package/dist/install/package-manager.d.ts.map +1 -1
  33. package/dist/install/package-manager.js +51 -20
  34. package/dist/install/package-manager.js.map +1 -1
  35. package/dist/install/schema-manager.d.ts.map +1 -1
  36. package/dist/install/schema-manager.js +17 -12
  37. package/dist/install/schema-manager.js.map +1 -1
  38. package/dist/manifest/manifest-schema.d.ts +53 -6
  39. package/dist/manifest/manifest-schema.d.ts.map +1 -1
  40. package/dist/manifest/manifest-schema.js +20 -7
  41. package/dist/manifest/manifest-schema.js.map +1 -1
  42. package/dist/types/open-app-types.d.ts +3 -0
  43. package/dist/types/open-app-types.d.ts.map +1 -1
  44. package/package.json +6 -3
  45. package/dist/install/client-bootstrap-gen.d.ts +0 -8
  46. package/dist/install/client-bootstrap-gen.d.ts.map +0 -1
  47. package/dist/install/client-bootstrap-gen.js +0 -38
  48. package/dist/install/client-bootstrap-gen.js.map +0 -1
@@ -3,7 +3,7 @@ import { type GitHubClientOptions } from '../github/github-client.js';
3
3
  import { type SkywayDatabaseConfig } from './migration-runner.js';
4
4
  import { type PackageManagerType, type VersionStrategy, type WorkspaceTarget } from './package-manager.js';
5
5
  import { DatabaseProviderBase } from '@memberjunction/core';
6
- import type { UserInfo } from '@memberjunction/core';
6
+ import type { UserInfo, IMetadataProvider } from '@memberjunction/core';
7
7
  export interface OrchestratorContext {
8
8
  ContextUser: UserInfo;
9
9
  DatabaseProvider: DatabaseProviderBase;
@@ -17,7 +17,6 @@ export interface OrchestratorContext {
17
17
  PackageManager?: PackageManagerType;
18
18
  VersionStrategy?: VersionStrategy;
19
19
  AdditionalTargets?: WorkspaceTarget[];
20
- ClientBootstrapSubpath?: string;
21
20
  MJCoreSchema?: string;
22
21
  MigrationPlaceholders?: Record<string, string>;
23
22
  }
@@ -26,4 +25,12 @@ export declare function UpgradeApp(options: UpgradeOptions, context: Orchestrato
26
25
  export declare function RemoveApp(options: RemoveOptions, context: OrchestratorContext): Promise<AppOperationResult>;
27
26
  export declare function DisableApp(appName: string, context: OrchestratorContext): Promise<AppOperationResult>;
28
27
  export declare function EnableApp(appName: string, context: OrchestratorContext): Promise<AppOperationResult>;
28
+ export declare function ResolveDependencyVersion(repoUrl: string, versionRange: string, options: GitHubClientOptions): Promise<{
29
+ Version?: string;
30
+ ErrorMessage?: string;
31
+ }>;
32
+ export declare function RemoveAppEntityMetadata(schemaName: string, contextUser: UserInfo, callbacks?: AppInstallCallbacks, provider?: IMetadataProvider): Promise<{
33
+ Success: boolean;
34
+ ErrorMessage?: string;
35
+ }>;
29
36
  //# sourceMappingURL=install-orchestrator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"install-orchestrator.d.ts","sourceRoot":"","sources":["../../src/install/install-orchestrator.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,kBAAkB,EAAyC,MAAM,4BAA4B,CAAC;AAOhL,OAAO,EAAoF,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAExJ,OAAO,EAAoB,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAkF,KAAK,kBAAkB,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAI3L,OAAO,EAAc,oBAAoB,EAAqB,MAAM,sBAAsB,CAAC;AAC3F,OAAO,KAAK,EAAE,QAAQ,EAAqB,MAAM,sBAAsB,CAAC;AAiBxE,MAAM,WAAW,mBAAmB;IAElC,WAAW,EAAE,QAAQ,CAAC;IAEtB,gBAAgB,EAAE,oBAAoB,CAAC;IAEvC,cAAc,EAAE,oBAAoB,CAAC;IAErC,aAAa,EAAE,mBAAmB,CAAC;IAEnC,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAEhC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IAEpC,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC,iBAAiB,CAAC,EAAE,eAAe,EAAE,CAAC;IAEtC,sBAAsB,C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