Skip to content

Commit

Permalink
changing folder name to be same as class name
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithad0703 committed Nov 7, 2023
1 parent 4fcf217 commit 95d5f86
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
"lib/stack/webhook/index.js",
"lib/stack/workflow/index.js",
"lib/stack/workflow/publishRules/index.js",
"lib/organization/team/stackRoleMapping/index.js̀"

"lib/organization/teams/index.js",
"lib/organization/teams/stackRoleMappings/index.js",
"lib/organization/teams/teamUsers/index.js"
],
"excludePattern": "(node_modules/|jsdocs)"
},
Expand Down
2 changes: 1 addition & 1 deletion lib/organization/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { StackCollection } from '../stack'
import { UserCollection } from '../user'
import { App } from '../app'
import { AppRequest } from '../app/request'
import { Teams } from './team'
import { Teams } from './teams'
/**
* Organization is the top-level entity in the hierarchy of Contentstack, consisting of stacks and stack resources, and users. Organization allows easy management of projects as well as users within the Organization. Read more about <a href='https://www.contentstack.com/docs/guide/organization'>Organizations.</a>.
* @namespace Organization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
fetchAll
} from '../../entity'
import { TeamUsers } from './teamUsers'
import { StackRoleMappings } from './stackRoleMapping'
import { StackRoleMappings } from './stackRoleMappings'
import error from '../../core/contentstackError'

export function Teams (http, data) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/unit/team-stack-role-mapping-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Axios from 'axios'
import { expect } from 'chai'
import { describe, it } from 'mocha'
import MockAdapter from 'axios-mock-adapter'
import { StackRoleMappings } from '../../lib/organization/team/stackRoleMapping'
import { StackRoleMappings } from '../../lib/organization/teams/stackRoleMappings'
import { stackRoleMappingMock } from './mock/objects'

describe('Contentstack Team Stack Role Mapping test', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/team-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Axios from 'axios'
import { expect } from 'chai'
import { describe, it } from 'mocha'
import MockAdapter from 'axios-mock-adapter'
import { Teams } from '../../lib/organization/team'
import { Teams } from '../../lib/organization/teams'
import { systemUidMock, teamsMock, noticeMock } from './mock/objects'

describe('Contentstack Team test', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/team-users-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Axios from 'axios'
import { expect } from 'chai'
import { describe, it } from 'mocha'
import MockAdapter from 'axios-mock-adapter'
import { TeamUsers } from '../../lib/organization/team/teamUsers'
import { TeamUsers } from '../../lib/organization/teams/teamUsers'
import { teamUsersMock, noticeMock } from './mock/objects'

describe('Contentstack Team Users test', () => {
Expand Down

0 comments on commit 95d5f86

Please sign in to comment.