@terraforge/core 0.0.20 → 0.0.21
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.
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -215,7 +215,7 @@ type LogProps = {
|
|
|
215
215
|
};
|
|
216
216
|
type Log = LogProps & {
|
|
217
217
|
user?: string;
|
|
218
|
-
date
|
|
218
|
+
date: number;
|
|
219
219
|
};
|
|
220
220
|
type ActivityLogBackend = {
|
|
221
221
|
log(urn: URN, log: LogProps): Promise<void>;
|
|
@@ -453,14 +453,14 @@ declare class FileLockBackend implements LockBackend {
|
|
|
453
453
|
lock(urn: URN): Promise<() => Promise<void>>;
|
|
454
454
|
}
|
|
455
455
|
//#endregion
|
|
456
|
-
//#region src/backend/aws/
|
|
456
|
+
//#region src/backend/aws/dynamo-activity-log.d.ts
|
|
457
457
|
type Props$2 = {
|
|
458
458
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
459
459
|
region: string;
|
|
460
460
|
tableName: string;
|
|
461
461
|
user?: string;
|
|
462
462
|
};
|
|
463
|
-
declare class
|
|
463
|
+
declare class DynamoActivityLogBackend implements ActivityLogBackend {
|
|
464
464
|
private props;
|
|
465
465
|
protected client: DynamoDB;
|
|
466
466
|
constructor(props: Props$2);
|
|
@@ -468,7 +468,7 @@ declare class DynamoDBActivityLogBackend implements ActivityLogBackend {
|
|
|
468
468
|
tail(urn: URN, limit?: number): Promise<Log[]>;
|
|
469
469
|
}
|
|
470
470
|
//#endregion
|
|
471
|
-
//#region src/backend/aws/
|
|
471
|
+
//#region src/backend/aws/dynamo-lock.d.ts
|
|
472
472
|
type Props$1 = {
|
|
473
473
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
474
474
|
region: string;
|
|
@@ -528,4 +528,4 @@ type CustomResourceProvider = Partial<{
|
|
|
528
528
|
}>;
|
|
529
529
|
declare const createCustomProvider: (providerId: string, resourceProviders: Record<string, CustomResourceProvider>) => Provider;
|
|
530
530
|
//#endregion
|
|
531
|
-
export { ActivityLogBackend, App, AppError, type Config, type CreateProps, type CustomResourceProvider, type DataSource, type DataSourceFunction, type DataSourceMeta, type DeleteProps,
|
|
531
|
+
export { ActivityLogBackend, App, AppError, type Config, type CreateProps, type CustomResourceProvider, type DataSource, type DataSourceFunction, type DataSourceMeta, type DeleteProps, DynamoActivityLogBackend, DynamoLockBackend, FileActivityLogBackend, FileLockBackend, FileStateBackend, Future, type GetDataProps, type GetProps, Group, type Input, LockBackend, Log, LogProps, MemoryActivityLogBackend, MemoryLockBackend, MemoryStateBackend, type Meta, type Node, type OptionalInput, type OptionalOutput, Output, type PlanProps, type ProcedureOptions, type Provider, type Resource, ResourceAlreadyExists, type ResourceClass, type ResourceConfig, ResourceError, type ResourceMeta, ResourceNotFound, type ResourceStatus, type ResourceStatusInfo, S3StateBackend, Stack, type StackStatusInfo, type State, StateBackend, type Tag, type URN, type UpdateProps, WorkSpace, type WorkSpaceOptions, createCustomProvider, createCustomResourceClass, createDebugger, createMeta, deferredOutput, enableDebug, findInputDeps, getMeta, isDataSource, isNode, isResource, nodeMetaSymbol, output, resolveInputs };
|
package/dist/index.mjs
CHANGED
|
@@ -1464,8 +1464,8 @@ var FileLockBackend = class {
|
|
|
1464
1464
|
};
|
|
1465
1465
|
|
|
1466
1466
|
//#endregion
|
|
1467
|
-
//#region src/backend/aws/
|
|
1468
|
-
var
|
|
1467
|
+
//#region src/backend/aws/dynamo-activity-log.ts
|
|
1468
|
+
var DynamoActivityLogBackend = class {
|
|
1469
1469
|
client;
|
|
1470
1470
|
constructor(props) {
|
|
1471
1471
|
this.props = props;
|
|
@@ -1497,7 +1497,7 @@ var DynamoDBActivityLogBackend = class {
|
|
|
1497
1497
|
};
|
|
1498
1498
|
|
|
1499
1499
|
//#endregion
|
|
1500
|
-
//#region src/backend/aws/
|
|
1500
|
+
//#region src/backend/aws/dynamo-lock.ts
|
|
1501
1501
|
var DynamoLockBackend = class {
|
|
1502
1502
|
client;
|
|
1503
1503
|
constructor(props) {
|
|
@@ -1691,4 +1691,4 @@ const createCustomProvider = (providerId, resourceProviders) => {
|
|
|
1691
1691
|
};
|
|
1692
1692
|
|
|
1693
1693
|
//#endregion
|
|
1694
|
-
export { App, AppError,
|
|
1694
|
+
export { App, AppError, DynamoActivityLogBackend, DynamoLockBackend, FileActivityLogBackend, FileLockBackend, FileStateBackend, Future, Group, MemoryActivityLogBackend, MemoryLockBackend, MemoryStateBackend, Output, ResourceAlreadyExists, ResourceError, ResourceNotFound, S3StateBackend, Stack, WorkSpace, createCustomProvider, createCustomResourceClass, createDebugger, createMeta, deferredOutput, enableDebug, findInputDeps, getMeta, isDataSource, isNode, isResource, nodeMetaSymbol, output, resolveInputs };
|