Skip to content

Instantly share code, notes, and snippets.

@charlypoly
Created March 5, 2018 21:05
Show Gist options
  • Save charlypoly/6d3de6298fb3b050a94612d33bd56d4d to your computer and use it in GitHub Desktop.
Save charlypoly/6d3de6298fb3b050a94612d33bd56d4d to your computer and use it in GitHub Desktop.
export interface BasicUserFragment {
id: string,
first_name: string,
last_name: string,
username: string | null,
picture_path: string | null,
active: boolean,
portfolio_id: string | null,
job_title: string | null,
email: string,
};
export interface PlatformUserFragment {
space_ids: Array< string >,
spaces: Array< {
id: string,
name: string,
logo_path: string | null,
} >,
};
export interface SpaceUserFragment {
space_role_ids: Array< string >,
space_roles: Array< {
id: string,
name: string,
} >,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment