// {{folder_name}} 类型定义
// Generated by apifox-flow, do not edit manually

{{#each types}}
{{#if is_enum}}
export enum {{name}} {
{{#each enum_values}}
  {{key}} = "{{value}}",{{#if description}}
  // {{description}}{{/if}}
{{/each}}
}

{{else}}
{{#if is_interface}}
export interface {{name}} {
{{#each properties}}
  {{name}}{{#unless required}}?{{/unless}}: {{type_}};{{#if description}}
  // {{description}}{{/if}}
{{/each}}
{{#unless properties}}
  // 空接口
{{/unless}}
}

{{else}}
export type {{name}} = {{type_}};

{{/if}}
{{/if}}
{{/each}}
