Skip to content

Invalid generated interfaces #7

@cb1kenobi

Description

@cb1kenobi

Harper's integration tests create these invalid interfaces:

export interface 123_4 {
	id: any;
	__createdtime__?: any;
	__updatedtime__?: any;
	name?: any;
}

export type 123_New4 = Omit<123_4, 'id'>;
export type { 123_4 as 123_4Record };
export type 123_4Records = 123_4[];
export type 123_New4Record = Omit<123_4, 'id'>;

export interface 1123_1 {
	id: any;
	__createdtime__?: any;
	__updatedtime__?: any;
}

export type 1123_New1 = Omit<1123_1, 'id'>;
export type { 1123_1 as 1123_1Record };
export type 1123_1Records = 1123_1[];
export type 1123_New1Record = Omit<1123_1, 'id'>;

It looks like the table names are originating here: https://github.com/HarperFast/harper/blob/main/integrationTests/apiTests/config/envConfig.mjs#L26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions