import { object } from 'yup';
import { UpsertRequest } from './index';

export interface Create{{pascalCase model}}Request {

}

export interface Create{{pascalCase model}}RelationshipsRequest {

}

export const Create{{pascalCase model}}Schema = object({
  data: object({
    attributes: object({

    }).required(),
    relationships: object({

    }).optional(),
  }).required(),
});

export interface Update{{pascalCase model}}Request {

}

export interface Update{{pascalCase model}}RelationshipsRequest {

}

export const Update{{pascalCase model}}Schema = object({
  data: object({
    attributes: object({

    }).optional(),
    relationships: object({

    }).optional(),
  }).optional(),
});
