message: chore: fix up types mirage default scenario
diff: @@ -3,6 +3,8 @@ import config from 'ember-get-config';
  import Node from 'ember-osf-web/models/node';
  import { Permission } from 'ember-osf-web/models/osf-model';
  +import RegistrationSchema from 'ember-osf-web/models/registration-schema';
  +import User from 'ember-osf-web/models/user';
  import { draftRegisterNodeMultiple, forkNode, registerNodeMultiple } from '../helpers';
  @@ -19,7 +21,7 @@ const {
  },
  } = config;
  -function registrationScenario(server: Server, currentUser: ModelInstance) {
  +function registrationScenario(server: Server, currentUser: ModelInstance<User>) {
  const registrationNode = server.create(
  'node',
  {
  @@ -30,24 +32,26 @@ function registrationScenario(server: Server, currentUser: ModelInstance) {
  server.create('contributor', {
  node: registrationNode,
  users: currentUser,
  - permission: 'admin',
  + permission: Permission.Admin,
  index: 0,
  });
  registerNodeMultiple(
  server,
  - registrationNode as ModelInstance<Node>,
  + registrationNode,
  12,
  { currentUserPermissions: Object.values(Permission) },
  'withArbitraryState',
  );
  - draftRegisterNodeMultiple(server, registrationNode as ModelInstance<Node>, 12, {}, 'withRegistrationMetadata');
  + draftRegisterNodeMultiple(server, registrationNode, 12, {}, 'withRegistrationMetadata');
  server.create('registration', { id: 'beefs' });
  server.create('registration', {
  id: 'decaf',
  - registrationSchema: server.schema.registrationSchemas.find('prereg_challenge'),
  + registrationSchema: server.schema.registrationSchemas.find(
  + 'prereg_challenge',
  + ) as ModelInstance<RegistrationSchema>,
  linkedNodes: server.createList('node', 2),
  linkedRegistrations: server.createList('registration', 2),
  root: null,
  @@ -57,17 +61,17 @@ function registrationScenario(server: Server, currentUser: ModelInstance) {
  server.create('collection', { title: 'Bookmarks', bookmarks: true });
  }
  -function dashboardScenario(server: Server, currentUser: ModelInstance) {
  +function dashboardScenario(server: Server, currentUser: ModelInstance<User>) {
  const firstNode = server.create('node', {});
  server.create('contributor', { node: firstNode, users: currentUser, index: 0 });
  - const nodes = server.createList<Node>('node', 10, {
  + const nodes = server.createList('node', 10, {
  currentUserPermissions: Object.values(Permission),
  }, 'withContributors');
  for (const node of nodes) {
  server.create('contributor', {
  node,
  users: currentUser,
  - permission: 'admin',
  + permission: Permission.Admin,
  index: 0,
  });
  }
  @@ -90,12 +94,12 @@ function dashboardScenario(server: Server, currentUser: ModelInstance) {
  server.createList('institution', 20);
  }
  -function forksScenario(server: Server, currentUser: ModelInstance) {
  +function forksScenario(server: Server, currentUser: ModelInstance<User>) {
  const forksNode = server.create('node', { id: 'fork5', currentUserPermissions: Object.values(Permission) });
  server.create('contributor', {
  node: forksNode,
  users: currentUser,
  - permission: 'admin',
  + permission: Permission.Admin,
  index: 0,
  });
  forkNode(server, forksNode as ModelInstance<Node>, { currentUserPermissions: Object.values(Permission) });
  @@ -116,7 +120,7 @@ function handbookScenario(server: Server) {
  }
  }
  -function settingsScenario(server: Server, currentUser: ModelInstance) {
  +function settingsScenario(server: Server, currentUser: ModelInstance<User>) {
  server.create('user-setting', { user: currentUser });
  server.createList('token', 23);
  server.createList('scope', 5);
  