<commit_before>import { InMemoryDbService } from 'angular-in-memory-web-api';
export class InMemoryDataService implements InMemoryDbService {
  createDb() {
    let workitems = [1,2,3,4,5,6,7,8,9,10,11,12,13,14].map((n) => {
      return {"fields":{"system.assignee":"someUser"+n,"system.creator":"someOtherUser"+n,"system.description":"Some Description "+n,"system.state":"new","system.title":"Some Title "+n},"id":""+n,"type":"system.userstory","version":1};
    });

    let loginStatus = {
      "status": 200,
      "responseText": "Good Job"
    };

    return {loginStatus, workitems};
  }
}<commit_msg>In memory data added for workitem types.<commit_after>import { InMemoryDbService } from 'angular-in-memory-web-api';
export class InMemoryDataService implements InMemoryDbService {
  createDb() {
    let workitems = [1,2,3,4,5,6,7,8,9,10,11,12,13,14].map((n) => {
      return {"fields":{"system.assignee":"someUser"+n,"system.creator":"someOtherUser"+n,"system.description":"Some Description "+n,"system.state":"new","system.title":"Some Title "+n},"id":""+n,"type":"system.userstory","version":1};
    });

    let loginStatus = {
      "status": 200,
      "responseText": "Good Job"
    };

    let workitemtypes = [
      {
        "fields": {
          "system.assignee": {
            "required": false,
            "type": {
              "kind": "user"
            }
          },
          "system.creator": {
            "required": true,
            "type": {
              "kind": "user"
            }
          },
          "system.description": {
            "required": false,
            "type": {
              "kind": "string"
            }
          },
          "system.state": {
            "required": true,
            "type": {
              "baseType": "string",
              "kind": "enum",
              "values": [
                "new",
                "in progress",
                "resolved",
                "closed"
              ]
            }
          },
          "system.title": {
            "required": true,
            "type": {
              "kind": "string"
            }
          }
        },
        "name": "system.userstory",
        "version": 0
      }
    ];

    return {loginStatus, workitems, workitemtypes};
  }
}
{'fraction_non_alphanumeric': 0.1757230499561788, 'fraction_numerical': 0.020595968448729185, 'mean_word_length': 1.889873417721519, 'pattern_counts': {'":': 47, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5695892', 'n_tokens_mistral': 704, 'n_tokens_neox': 669, 'n_words': 110}