From 82d9731c91aea3e5c2c6553899fded3ca209409f Mon Sep 17 00:00:00 2001 From: Arash Koushkebaghi Date: Mon, 19 Aug 2019 23:52:38 -0700 Subject: [PATCH] fix(people): rename person filename to people --- src/adapters/PeopleAdapter.js | 19 ++++++++++--------- src/adapters/PeopleJSONAdapter.test.js | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/adapters/PeopleAdapter.js b/src/adapters/PeopleAdapter.js index 356d82211..96ea8f35b 100644 --- a/src/adapters/PeopleAdapter.js +++ b/src/adapters/PeopleAdapter.js @@ -29,16 +29,17 @@ export const PersonStatus = { export default class PeopleAdapter extends WebexAdapter { /** * A Person object with details about the person. + * * @typedef {Object} Person - * @property {string} ID The person identifier. - * @property {Array.} emails An array of emails for the person. - * @property {string} displayName The name to be displayed for the person. - * @property {string} firstName The first name of the person. - * @property {string} lastName The last name of the person. - * @property {string} nickName The short name for the person. - * @property {string} avatar The full url to the person's avatar. - * @property {string} orgID The ID of the organization the person belongs to. - * @property {null|PersonStatus} status The presence status of the user. @see PersonStatus enum + * @property {string} ID The person identifier. + * @property {Array.} emails An array of emails for the person. + * @property {string} displayName The name to be displayed for the person. + * @property {string} firstName The first name of the person. + * @property {string} lastName The last name of the person. + * @property {string} nickName The short name for the person. + * @property {string} avatar The full url to the person's avatar. + * @property {string} orgID The ID of the organization the person belongs to. + * @property {null|PersonStatus} status The presence status of the user. @see PersonStatus enum */ /** diff --git a/src/adapters/PeopleJSONAdapter.test.js b/src/adapters/PeopleJSONAdapter.test.js index 8c5035e78..9adfc133b 100644 --- a/src/adapters/PeopleJSONAdapter.test.js +++ b/src/adapters/PeopleJSONAdapter.test.js @@ -1,4 +1,4 @@ -import person from './../data/person'; +import person from './../data/people'; import PeopleJSONAdapter from './PeopleJSONAdapter'; describe('People Adapter Interface', () => {