@altostra/core
Version:
Core library for shared types and logic
21 lines (20 loc) • 878 B
TypeScript
import type { NonEmptyString } from "../../../CustomTypes/NonEmptyString";
import type { AwsAccount } from "../../AwsAccount";
import type { AwsRegion } from "../../AwsRegion";
import type { IDomainEntity } from "../../IDomainEntity";
import type { Name } from "../../Name";
import type { OrganizationId } from "../../Organization";
import type { LocationId } from "./LocationId";
export interface ILocation {
name: Name;
region: AwsRegion;
account: AwsAccount;
isInitialized: boolean;
}
export interface Location extends IDomainEntity, ILocation {
id: LocationId;
organizationId: OrganizationId;
integrationAccountId: NonEmptyString;
}
export declare const isBaseLocation: import("@altostra/type-validations").ObjectOfTypeValidation<ILocation>;
export declare const isLocation: import("@altostra/type-validations").ObjectOfTypeValidation<Location>;