Skip to content

Commit

Permalink
update api extract
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed Jul 24, 2023
1 parent 563f3cb commit 693d232
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/backend-function/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ import { AmplifyFunctionProps } from '@aws-amplify/function-construct';
import { ConstructFactory } from '@aws-amplify/plugin-types';
import { ConstructFactoryGetInstanceProps } from '@aws-amplify/plugin-types';

// @public
export class AmplifyFunctionFactory implements ConstructFactory<AmplifyFunction> {
static build(props: AmplifyFunctionFactoryBuildProps): Promise<AmplifyFunctionFactory>;
static fromDir(props: AmplifyFunctionFactoryFromDirProps): AmplifyFunctionFactory;
getInstance({ constructContainer, }: ConstructFactoryGetInstanceProps): AmplifyFunction;
}

// @public (undocumented)
export type AmplifyFunctionBaseProps = {
export type AmplifyFunctionFactoryBaseProps = {
name: string;
};

// @public (undocumented)
export type AmplifyFunctionBuildProps = AmplifyFunctionBaseProps & Omit<AmplifyFunctionProps, 'absoluteCodePath'> & {
export type AmplifyFunctionFactoryBuildProps = AmplifyFunctionFactoryBaseProps & Omit<AmplifyFunctionProps, 'absoluteCodePath'> & {
buildCommand: string;
outDir: string;
};

// @public
export class AmplifyFunctionFactory implements ConstructFactory<AmplifyFunction> {
static build(props: AmplifyFunctionBuildProps): Promise<AmplifyFunctionFactory>;
static fromDir(props: AmplifyFunctionFromDirProps): AmplifyFunctionFactory;
getInstance({ constructContainer, }: ConstructFactoryGetInstanceProps): AmplifyFunction;
}

// @public (undocumented)
export type AmplifyFunctionFromDirProps = AmplifyFunctionBaseProps & Omit<AmplifyFunctionProps, 'absoluteCodePath'> & {
export type AmplifyFunctionFactoryFromDirProps = AmplifyFunctionFactoryBaseProps & Omit<AmplifyFunctionProps, 'absoluteCodePath'> & {
codePath: string;
};

Expand Down

0 comments on commit 693d232

Please sign in to comment.