Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Pocket/pocket-monorepo into fix/rem…
Browse files Browse the repository at this point in the history
…ove-kinesis-from-search
  • Loading branch information
bassrock committed Jan 6, 2025
2 parents 5da5da9 + 3857e4a commit 3ce4603
Show file tree
Hide file tree
Showing 433 changed files with 5,148 additions and 3,507 deletions.
3 changes: 2 additions & 1 deletion infrastructure/account-data-deleter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.ts",
"scripts": {
Expand All @@ -28,6 +29,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/account-data-deleter/src/dataDeleterApp.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config } from './config';
import { config } from './config/index.ts';

import {
cloudwatchLogGroup,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config as stackConfig } from '../../config';
import { config as stackConfig } from '../../config/index.ts';

import { dataAwsSsmParameter } from '@cdktf/provider-aws';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config, config as stackConfig } from '../config';
import { config, config as stackConfig } from '../config/index.ts';

import {
dataAwsSsmParameter,
Expand Down
6 changes: 3 additions & 3 deletions infrastructure/account-data-deleter/src/lambda/eventLambda.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { SqsLambda, SqsLambdaProps } from './base/sqsLambda';
import { config as stackConfig } from '../config';
import { SqsLambda, SqsLambdaProps } from './base/sqsLambda.ts';
import { config as stackConfig } from '../config/index.ts';

import { sqsQueue } from '@cdktf/provider-aws';
import { ApplicationSqsSnsTopicSubscription } from '@pocket-tools/terraform-modules/';
import { ApplicationSqsSnsTopicSubscription } from '@pocket-tools/terraform-modules';

import { Construct } from 'constructs';

Expand Down
8 changes: 4 additions & 4 deletions infrastructure/account-data-deleter/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { config } from './config';
import { DataDeleterApp, DataDeleterAppConfig } from './dataDeleterApp';
import { BatchDeleteLambdaResources } from './lambda/batchDeleteLambdaResources';
import { EventLambda } from './lambda/eventLambda';
import { config } from './config/index.ts';
import { DataDeleterApp, DataDeleterAppConfig } from './dataDeleterApp.ts';
import { BatchDeleteLambdaResources } from './lambda/batchDeleteLambdaResources.ts';
import { EventLambda } from './lambda/eventLambda.ts';

import { provider as archiveProvider } from '@cdktf/provider-archive';
import {
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/account-delete-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.ts",
"scripts": {
Expand All @@ -28,6 +29,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/account-delete-monitor/src/dynamodb.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config } from './config';
import { config } from './config/index.ts';

import {
ApplicationDynamoDBTable,
Expand Down
6 changes: 3 additions & 3 deletions infrastructure/account-delete-monitor/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { config } from './config';
import { DynamoDB } from './dynamodb';
import { SQSEventLambda } from './sqsEventLambda';
import { config } from './config/index.ts';
import { DynamoDB } from './dynamodb.ts';
import { SQSEventLambda } from './sqsEventLambda.ts';

import { provider as archiveProvider } from '@cdktf/provider-archive';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config as stackConfig } from './config';
import { config as stackConfig } from './config/index.ts';

import { dataAwsSsmParameter } from '@cdktf/provider-aws';
import {
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/annotations-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.ts",
"scripts": {
Expand All @@ -28,6 +29,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/annotations-api/src/SqsLambda.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Construct } from 'constructs';
import { config } from './config';
import { config } from './config/index.ts';
import {
LAMBDA_RUNTIMES,
PocketPagerDuty,
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/annotations-api/src/dynamodb.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Construct } from 'constructs';
import { config } from './config';
import { config } from './config/index.ts';
import {
ApplicationDynamoDBTable,
ApplicationDynamoDBTableCapacityMode,
Expand Down
6 changes: 3 additions & 3 deletions infrastructure/annotations-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ import {
import { provider as localProvider } from '@cdktf/provider-local';
import { provider as nullProvider } from '@cdktf/provider-null';
import { provider as archiveProvider } from '@cdktf/provider-archive';
import { config } from './config';
import { config } from './config/index.ts';
import {
ApplicationSQSQueue,
PocketALBApplication,
PocketAwsSyntheticChecks,
PocketVPC,
ApplicationSqsSnsTopicSubscription,
} from '@pocket-tools/terraform-modules';
import { DynamoDB } from './dynamodb';
import { SqsLambda } from './SqsLambda';
import { DynamoDB } from './dynamodb.ts';
import { SqsLambda } from './SqsLambda.ts';

class AnnotationsAPI extends TerraformStack {
constructor(scope: Construct, name: string) {
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/braze-content-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.ts",
"scripts": {
Expand All @@ -28,6 +29,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/braze-content-proxy/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
wafv2WebAcl,
wafv2IpSet,
} from '@cdktf/provider-aws';
import { config } from './config';
import { config } from './config/index.ts';
import { PocketALBApplication } from '@pocket-tools/terraform-modules';
import { provider as localProvider } from '@cdktf/provider-local';
import { provider as nullProvider } from '@cdktf/provider-null';
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/braze/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.ts",
"scripts": {
Expand All @@ -25,6 +26,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
8 changes: 4 additions & 4 deletions infrastructure/braze/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Construct } from 'constructs';
import { App, S3Backend, TerraformStack } from 'cdktf';
import { provider as awsProvider } from '@cdktf/provider-aws';
import { config } from './config';
import { EmailSendDomain } from './emailSendDomain';
import { config } from './config/index.ts';
import { EmailSendDomain } from './emailSendDomain.ts';
import * as fs from 'fs';
import { ClickTrackingDomain } from './clickTrackingDomain';
import { DataExportBucket } from './dataExport';
import { ClickTrackingDomain } from './clickTrackingDomain.ts';
import { DataExportBucket } from './dataExport.ts';

class Braze extends TerraformStack {
constructor(scope: Construct, name: string) {
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/client-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "client-api-cdk",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "dist/main.js",
"types": "src/main.ts",
"scripts": {
Expand All @@ -27,6 +28,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/client-api/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config } from './config';
import { config } from './config/index.ts';

import {
provider as awsProvider,
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/feature-flags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "feature-flags-cdk",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "dist/main.js",
"types": "src/main.ts",
"scripts": {
Expand All @@ -26,6 +27,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/feature-flags/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
import { Construct } from 'constructs';
import { App, S3Backend, TerraformStack } from 'cdktf';
import fs from 'fs';
import { config } from './config';
import { config } from './config/index.ts';

class FeatureFlags extends TerraformStack {
constructor(scope: Construct, name: string) {
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/fxa-webhook-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"main": "dist/main.js",
"types": "src/main.ts",
"scripts": {
Expand All @@ -28,6 +29,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
4 changes: 2 additions & 2 deletions infrastructure/fxa-webhook-proxy/src/apiGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
PocketApiGatewayProps,
PocketVPC,
} from '@pocket-tools/terraform-modules';
import { config } from './config';
import { getEnvVariableValues } from './utilities';
import { config } from './config/index.ts';
import { getEnvVariableValues } from './utilities.ts';
import { Construct } from 'constructs';
import { dataAwsSnsTopic, sqsQueue } from '@cdktf/provider-aws';

Expand Down
6 changes: 3 additions & 3 deletions infrastructure/fxa-webhook-proxy/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { Construct } from 'constructs';
import { App, S3Backend, TerraformStack } from 'cdktf';
import { config } from './config';
import { config } from './config/index.ts';
import {
ApplicationSQSQueue,
PocketVPC,
} from '@pocket-tools/terraform-modules';
import { provider as awsProvider, dataAwsSnsTopic } from '@cdktf/provider-aws';
import { SqsLambda } from './sqsLambda';
import { SqsLambda } from './sqsLambda.ts';
import { provider as archiveProvider } from '@cdktf/provider-archive';
import { provider as nullProvider } from '@cdktf/provider-null';
import { provider as localProvider } from '@cdktf/provider-local';
import { ApiGateway } from './apiGateway';
import { ApiGateway } from './apiGateway.ts';

class FxAWebhookProxy extends TerraformStack {
constructor(scope: Construct, name: string) {
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/fxa-webhook-proxy/src/sqsLambda.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Construct } from 'constructs';
import { config } from './config';
import { config } from './config/index.ts';
import {
LAMBDA_RUNTIMES,
PocketSQSWithLambdaTarget,
PocketVPC,
} from '@pocket-tools/terraform-modules';
import { getEnvVariableValues } from './utilities';
import { getEnvVariableValues } from './utilities.ts';
import { dataAwsSnsTopic, sqsQueue } from '@cdktf/provider-aws';

export class SqsLambda extends Construct {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/fxa-webhook-proxy/src/utilities.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { dataAwsSsmParameter } from '@cdktf/provider-aws';
import { config } from './config';
import { config } from './config/index.ts';
import { Construct } from 'constructs';

export function getEnvVariableValues(scope: Construct) {
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/image-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "image-api-cdk",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "dist/main.js",
"types": "src/main.ts",
"scripts": {
Expand All @@ -27,6 +28,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/image-api/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Construct } from 'constructs';
import { App, S3Backend, TerraformStack } from 'cdktf';
import { config } from './config';
import { config } from './config/index.ts';
import {
ApplicationServerlessRedis,
PocketALBApplication,
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/instant-sync-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.ts",
"scripts": {
Expand All @@ -28,6 +29,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
4 changes: 2 additions & 2 deletions infrastructure/instant-sync-events/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { config } from './config';
import { SQSEventLambda } from './sqsEventLambda';
import { config } from './config/index.ts';
import { SQSEventLambda } from './sqsEventLambda.ts';

import { provider as archiveProvider } from '@cdktf/provider-archive';
import {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/instant-sync-events/src/sqsEventLambda.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { config as stackConfig } from './config';
import { config as stackConfig } from './config/index.ts';

import {
dataAwsSsmParameter,
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/list-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "list-api-cdk",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "dist/main.js",
"types": "src/main.ts",
"scripts": {
Expand All @@ -27,6 +28,6 @@
"@types/node": "^22.8.2",
"ts-node": "10.9.2",
"tsconfig": "workspace:*",
"typescript": "5.5.4"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion infrastructure/list-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '@pocket-tools/terraform-modules';
import { Construct } from 'constructs';
import { App, S3Backend, TerraformStack } from 'cdktf';
import { config } from './config';
import { config } from './config/index.ts';

class ListAPI extends TerraformStack {
constructor(scope: Construct, name: string) {
Expand Down
Loading

0 comments on commit 3ce4603

Please sign in to comment.