Skip to content

DTO interfaceleri otomatik olarak oluştur - #10

Open
xash3000 wants to merge 2 commits into
mainfrom
api-models-dto
Open

DTO interfaceleri otomatik olarak oluştur#10
xash3000 wants to merge 2 commits into
mainfrom
api-models-dto

Conversation

@xash3000

@xash3000 xash3000 commented Sep 5, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread libs/shared/dto/index.ts
Comment on lines +24 to +32
export interface Question {
questionID?: string | undefined;
formID?: string | undefined;
questionText?: string | undefined;
questionType?: string | undefined;
options?: string[] | undefined;
isRequired?: boolean;
file?: string | undefined;
}

@enfyna enfyna Sep 5, 2024

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backendde çalışan arkadaşlara söylemek lazımda buraya bir tane object tipinde bir değişken eklense güzel olur. Çünkü örneğin ölçek değerlendirme tipinde bir sorunun yıldız sayısını bir object değişkeninin içinde tutuyorum. Diğer türlü her soru tipi için zorunlu olan şeyleri optionsta tutarakta yapabiliriz ama güzel durmaz bence.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants