File tree Expand file tree Collapse file tree 12 files changed +135
-196
lines changed Expand file tree Collapse file tree 12 files changed +135
-196
lines changed Original file line number Diff line number Diff line change 1
1
import * as CDK from 'aws-cdk-lib'
2
- import { AppProps } from 'aws-cdk-lib'
3
- import { PackedLambda } from './packLambda.js'
2
+ import type { AppProps } from 'aws-cdk-lib'
3
+ import type { PackedLambda } from './packLambda.js'
4
4
import { WebhookReceiverStack } from './WebhookReceiverStack.js'
5
5
6
6
export class TestApp extends CDK . App {
Original file line number Diff line number Diff line change
1
+ import type { App } from 'aws-cdk-lib'
1
2
import {
2
- App ,
3
3
CfnOutput ,
4
4
Duration ,
5
5
aws_iam as IAM ,
9
9
aws_sqs as SQS ,
10
10
Stack ,
11
11
} from 'aws-cdk-lib'
12
- import { PackedLambda } from './packLambda.js'
12
+ import type { PackedLambda } from './packLambda.js'
13
13
14
14
/**
15
15
* This is the CloudFormation stack which contains the webhook receiver resources.
Original file line number Diff line number Diff line change 1
- import { consoleReporter } from '@nordicsemiconductor /bdd-markdown'
1
+ import { consoleReporter } from '@bifravst /bdd-markdown'
2
2
3
3
const chunks : string [ ] = [ ]
4
4
Original file line number Diff line number Diff line change 1
- import { markdownReporter } from '@nordicsemiconductor /bdd-markdown'
1
+ import { markdownReporter } from '@bifravst /bdd-markdown'
2
2
3
3
process . stdin . on ( 'data' , async ( data ) => {
4
4
console . log ( await markdownReporter ( JSON . parse ( data . toString ( ) ) ) )
Original file line number Diff line number Diff line change 1
1
import { CloudFormationClient } from '@aws-sdk/client-cloudformation'
2
- import { runFolder } from '@nordicsemiconductor /bdd-markdown'
3
- import { stackOutput } from '@nordicsemiconductor /cloudformation-helpers'
2
+ import { runFolder } from '@bifravst /bdd-markdown'
3
+ import { stackOutput } from '@bifravst /cloudformation-helpers'
4
4
import * as path from 'path'
5
5
import { stackBaseName } from '../cdk/stackBaseName.js'
6
6
import { steps as restSteps } from './steps/rest-steps.js'
Original file line number Diff line number Diff line change 1
- import {
2
- codeBlockOrThrow ,
3
- StepRunner ,
4
- regExpMatchedStep ,
5
- } from '@nordicsemiconductor/bdd-markdown'
1
+ import type { StepRunner } from '@bifravst/bdd-markdown'
2
+ import { codeBlockOrThrow , regExpMatchedStep } from '@bifravst/bdd-markdown'
6
3
import assert from 'assert/strict'
7
- import fetch , { Response } from 'node-fetch'
8
- import { World } from '../run-features.js'
4
+ import type { Response } from 'node-fetch'
5
+ import fetch from 'node-fetch'
6
+ import type { World } from '../run-features.js'
9
7
import { Type } from '@sinclair/typebox'
10
8
11
9
export const steps = ( ) : StepRunner < World > [ ] => {
Original file line number Diff line number Diff line change
1
+ import type { QueueAttributeName } from '@aws-sdk/client-sqs'
1
2
import {
2
3
DeleteMessageCommand ,
3
- QueueAttributeName ,
4
4
ReceiveMessageCommand ,
5
5
SQSClient ,
6
6
} from '@aws-sdk/client-sqs'
7
- import { Logger } from '@nordicsemiconductor /bdd-markdown'
7
+ import type { Logger } from '@bifravst /bdd-markdown'
8
8
9
9
type WebhookRequest = {
10
10
headers : { [ key : string ] : string }
Original file line number Diff line number Diff line change 1
- import {
2
- codeBlockOrThrow ,
3
- regExpMatchedStep ,
4
- StepRunner ,
5
- } from '@nordicsemiconductor/bdd-markdown'
1
+ import type { StepRunner } from '@bifravst/bdd-markdown'
2
+ import { codeBlockOrThrow , regExpMatchedStep } from '@bifravst/bdd-markdown'
6
3
import assert from 'assert/strict'
7
- import { World } from '../run-features.js'
4
+ import type { World } from '../run-features.js'
8
5
import { WebhookReceiver } from './webhook-receiver.js'
9
6
import { Type } from '@sinclair/typebox'
10
7
Original file line number Diff line number Diff line change 1
- import {
2
- GetTraceGraphCommand ,
3
- GetTraceGraphCommandOutput ,
4
- XRayClient ,
5
- } from '@aws-sdk/client-xray'
6
- import { LogLevel , SuiteResult } from '@nordicsemiconductor/bdd-markdown'
1
+ import type { GetTraceGraphCommandOutput } from '@aws-sdk/client-xray'
2
+ import { GetTraceGraphCommand , XRayClient } from '@aws-sdk/client-xray'
3
+ import type { SuiteResult } from '@bifravst/bdd-markdown'
4
+ import { LogLevel } from '@bifravst/bdd-markdown'
7
5
import os from 'os'
8
6
9
7
const traceToMermaid = ( trace : GetTraceGraphCommandOutput ) : string => {
Original file line number Diff line number Diff line change 1
- import {
2
- MessageAttributeValue ,
3
- SendMessageCommand ,
4
- SQSClient ,
5
- } from '@aws-sdk/client-sqs'
6
- import {
1
+ import type { MessageAttributeValue } from '@aws-sdk/client-sqs'
2
+ import { SendMessageCommand , SQSClient } from '@aws-sdk/client-sqs'
3
+ import type {
7
4
APIGatewayEventRequestContextV2 ,
8
5
APIGatewayProxyEventV2WithRequestContext ,
9
6
APIGatewayProxyResultV2 ,
You can’t perform that action at this time.
0 commit comments