Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message/inbox.ProfilePhoto.ImageOps type #221

Open
github-actions bot opened this issue Jan 20, 2025 · 0 comments
Open

message/inbox.ProfilePhoto.ImageOps type #221

github-actions bot opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
datadirect packages/datadirect types TypeScript type definition improvement

Comments

@github-actions
Copy link

ImageOps: any[]; // TODO message/inbox.ProfilePhoto.ImageOps type

// TODO identify reused types and refactor

import {
  DateString,
  DateTimeString,
  HTMLString,
  NumericTimestamp,
  URLString
} from '@battis/descriptive-types';

export type ProfilePhoto = {
  Id: number;
  LargeFilenameUrl: URLString;
  LargeFilename: string;
  LargeHeight: number;
  LargeWidth: number;
  ThumbFilenameUrl: URLString;
  ThumbFilename: string;
  ThumbWidth: number;
  ThumbHeight: number;
  ZoomFilenameUrl: URLString;
  ZoomWidth: number;
  ZoomHeight: number;
  OriginalFilenameUrl: URLString;
  OriginalFilename: string;
  OriginalWidth: number;
  OriginalHeight: number;
  EditedWidth: number;
  EditedHeight: number;
  PhotoEditSettings: string;
  Title: string;
  Caption: string;
  photo_alttext: string;
  hover_alttext: string;
  LongDescription: string;
  TagList: string[];
  FileEdited: boolean;
  IsHoverPhoto: boolean;
  PhotoEapEnabled: boolean;
  ImageOps: any[]; // TODO message/inbox.ProfilePhoto.ImageOps type
  OriginalFilenameEditedUrl: URLString;
  LargeFilenameEditedUrl: URLString;
  ZoomFilenameEditedUrl: URLString;
  ThumbFilenameEditedUrl: URLString;
  PhotoTypeId: number;
  PhotoWidth: number;
  PhotoPK: number;
};

export type FromUser = {
  RowNumber: number;
  RowTotal: number;
  UserId: 7193544;
  FirstName: string;
  LastName: string;
  EmailEffectiveDate?: DateString;
  RetireDate?: DateString;
  StudentDisplay: string;
  UserNameFormatted: string;
  DeceasedDate?: DateString;
  BirthDate?: DateString;
  ResidentFromDate?: DateString;
  VisaIssueDate?: DateString;
  VisaExpireDate?: DateString;
  PassportExpireDate?: DateString;
  AnticipatedCompletionDate?: DateString;
  ClearProfilePhoto: boolean;
  ProfilePhoto: ProfilePhoto;
};

export type Message = {
  MessageId: number;
  ConversationId: number;
  Body: HTMLString;
  FromUser: FromUser;
  SendDate: DateTimeString;
  SendDateTicks: NumericTimestamp;
  ReadInd: boolean;
};

export type Participant = {
  AssociationId: number;
  Pk: number;
  Name: string;
  MembersToInclude: number;
};

export type Conversation = {
  ConversationId: number;
  ReplyToAll: boolean;
  Subject: string;
  Participants: Participant[];
  Messages?: Message[];
};
@battis battis added datadirect packages/datadirect types TypeScript type definition improvement labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datadirect packages/datadirect types TypeScript type definition improvement
Projects
None yet
Development

No branches or pull requests

1 participant