key.d.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { Key as KeyInterface } from "../interfaces/key";
  2. import { BaseModel } from "./base_model";
  3. import { Filenames } from "../types/filenames";
  4. import { SupportedPlatforms } from "../types/supported_platforms";
  5. import { Filenames as Keynames } from "../types/filenames";
  6. import { Comment } from "../interfaces/comment";
  7. import { Screenshot } from "../interfaces/screenshot";
  8. import { Translation } from "../interfaces/translation";
  9. type KeyComment = Omit<Comment, "key_id">;
  10. export declare class Key extends BaseModel implements KeyInterface {
  11. key_id: number;
  12. created_at: string;
  13. created_at_timestamp: number;
  14. key_name: Keynames;
  15. filenames: Filenames;
  16. description: string;
  17. platforms: SupportedPlatforms[];
  18. tags: string[];
  19. comments: KeyComment[];
  20. screenshots: Screenshot[];
  21. translations: Translation[];
  22. is_plural: boolean;
  23. plural_name: string;
  24. is_hidden: boolean;
  25. is_archived: boolean;
  26. context: string;
  27. base_words: number;
  28. char_limit: number;
  29. custom_attributes: any[] | string;
  30. modified_at: string;
  31. modified_at_timestamp: number;
  32. translations_modified_at: string;
  33. translations_modified_at_timestamp: number;
  34. }
  35. export {};