@punks/backend-entity-manager 0.0.298 → 0.0.300

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.
@@ -3,9 +3,10 @@ export type AwsJobComputePlatformType = "ec2" | "fargate";
3
3
  export type AwsBatchInfrastructureParams = {
4
4
  vcpu: number;
5
5
  memory: number;
6
- gpuMemory?: number;
6
+ gpu?: number;
7
7
  dockerImage: string;
8
8
  computePlatformType?: AwsJobComputePlatformType;
9
+ assignPublicIp?: boolean;
9
10
  };
10
11
  export type AwsBatchInvocationParams = {
11
12
  startCommand: string[];
package/dist/esm/index.js CHANGED
@@ -40086,16 +40086,16 @@ let AwsBatchService = AwsBatchService_1 = class AwsBatchService {
40086
40086
  type: ResourceType.VCPU,
40087
40087
  value: definition.infrastructureParams.vcpu.toString(),
40088
40088
  },
40089
- ...(definition.infrastructureParams.gpuMemory
40089
+ ...(definition.infrastructureParams.gpu
40090
40090
  ? [
40091
40091
  {
40092
40092
  type: ResourceType.GPU,
40093
- value: definition.infrastructureParams.gpuMemory.toString(),
40093
+ value: definition.infrastructureParams.gpu.toString(),
40094
40094
  },
40095
40095
  ]
40096
40096
  : []),
40097
40097
  ],
40098
- networkConfiguration: definition.infrastructureParams.computePlatformType !== "ec2"
40098
+ networkConfiguration: definition.infrastructureParams.assignPublicIp
40099
40099
  ? {
40100
40100
  assignPublicIp: AssignPublicIp.ENABLED,
40101
40101
  }