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AAIwJ,e,+VACzB,CAAAzN,KAAI,EAAU,IAAI0N,IAAqBF,EAAaG,MAAM,MAA0B,IACtF,CAEA,GAAAC,CAAI/N,GACF,O,uSAAO,CAAAG,KAAI,OAAQ4N,IAAI/N,EACzB,G,cAVW0N,E,mUAAmB,GAD/B,IAAAD,c,sIACYC,E,2BCGb,IAAY9G,E,mCAAZ,SAAYA,GACV,sBACA,kBACA,kBACA,oBACA,iCACD,CAND,CAAYA,IAAAA,EAAY,I","sources":["webpack://core/./modules/server/constants.ts","webpack://core/./repositories/PouchDBRepository.ts","webpack://core/./repositories/utils/get-reduce-conflicts.ts","webpack://core/./repositories/utils/regexp-switcher.ts","webpack://core/./repositories/utils/dbname.ts","webpack://core/./repositories/RestAPIRepository.ts","webpack://core/./repositories/utils/is-root-document.ts","webpack://core/./repositories/utils/is-folder-document.ts","webpack://core/./repositories/utils/title-document.ts","webpack://core/./services/users/Role.model.ts","webpack://core/./services/users/User.model.ts","webpack://core/./services/users/Users.repository.ts","webpack://core/./services/users/Users.service.ts","webpack://core/./services/users/MyUser.view-model.ts","webpack://core/./services/issues/Issue.model.ts","webpack://core/./services/issues/Issues.repository.ts","webpack://core/./services/issues/Issues.service.ts","webpack://core/./services/comments/Comment.model.ts","webpack://core/./services/comments/Comments.repository.ts","webpack://core/./services/comments/Comments.service.ts","webpack://core/./services/Logger.service.ts","webpack://core/./services/organization/models/Org.model.ts","webpack://core/./services/organization/Org.repository.ts","webpack://core/./services/organization/Org.service.ts","webpack://core/./services/organization/types.ts","webpack://core/./services/FeatureFlags.service.ts","webpack://core/./types/document.ts"],"sourcesContent":["export const INDEX_DESIGN_ORDER = 'index-design-order';\nexport const INDEX_DESIGN_REF = 'index-design-ref';\nexport const INDEX_DESIGN_PARENT = 'index-design-parent';\nexport const INDEX_DESIGN_ROOT = 'index-design-root';\n\nexport const SORT_AND_USE_INDEX = {\n fields: ['parent', 'order'],\n index: INDEX_DESIGN_ORDER,\n};\n","import { RESOLVING_STATUS_ANY } from 'core/store/modules/common/literals';\nimport {\n INDEX_DESIGN_PARENT,\n INDEX_DESIGN_ROOT,\n SORT_AND_USE_INDEX,\n} from 'core/modules/server/constants';\nimport dbname from 'core/repositories/utils/dbname';\nimport regexpSwitcher from 'core/repositories/utils/regexp-switcher';\nimport type { SearchState } from 'core/types';\nimport { env } from 'core/utils';\nimport PouchDB from 'pouchdb';\nimport PouchdbFind from 'pouchdb-find';\nimport type { UUID} from 'short-uuid';\nimport { uuid } from 'short-uuid';\n\nimport type { IRead, IWrite } from './interfaces';\nimport getReduceConflicts from './utils/get-reduce-conflicts';\n\nPouchDB.plugin(PouchdbFind);\n\ntype DBDatabase = PouchDB.Database;\n\nexport interface IServer extends IRead, IWrite {\n fetch(...argument: any[]): Promise[] | any;\n flush(documents: any[]): Promise[] | any;\n}\nexport class PouchDBRepository implements IServer {\n protected instance: any;\n constructor(name: string) {\n this.instance = new PouchDB(dbname(name));\n\n const config = {\n since: 'now',\n live: true,\n include_docs: true,\n };\n\n this.instance.changes(config);\n\n // for debugging it should be removed after all\n this.instance.on('change', ({ doc }: any) => {\n // eslint-disable-next-line no-console\n console.log('listening-document', doc);\n });\n\n if (env.NODE_ENV === 'development') {\n this.instance.replicate\n .to(`${env.POUCHDB_HOST}:${env.POUCHDB_PORT}/staging${name}`, {\n live: true,\n })\n .on('change', console.log)\n .on('paused', console.log)\n .on('error', console.log);\n }\n }\n\n get = (id: UUID) => this.instance.get(id);\n\n getChildren = (parent: UUID): Promise[]> =>\n this.fetch(\n {\n parent: { $eq: parent },\n },\n { fields: ['parent'], index: INDEX_DESIGN_PARENT },\n );\n\n getAll = (root: UUID | null = null, conditions: any = {}): Promise[]> =>\n this.fetch({\n parent: { $gt: null },\n order: { $gt: null },\n root: { $eq: root },\n ...conditions,\n });\n\n fetch = async (\n selector: any = {},\n optSortAndUseIndex: any = SORT_AND_USE_INDEX,\n additionalOptions: any = {},\n ): Promise[]> => {\n const { fields, index } = optSortAndUseIndex;\n\n const options = {\n selector,\n sort: fields,\n use_index: index,\n ...additionalOptions,\n };\n\n if (fields && index) {\n await this.instance.createIndex({\n index: {\n fields,\n ddoc: index,\n },\n });\n }\n\n const { docs } = await this.instance.find(options);\n\n return docs;\n };\n\n flush = async (documents: any[]) => {\n const results = await this.instance.bulkDocs(documents);\n const conflicts: any[] = [];\n const history: any = {};\n\n results.forEach((result: any) => {\n const { id } = result;\n\n if (result.ok) {\n history[id] = result.rev;\n } else if (result.status === 409) {\n conflicts.push(id);\n } else {\n throw new Error(result);\n }\n });\n\n const oh = conflicts.length;\n const ok = results.length - oh;\n\n if (ok) {\n // eslint-disable-next-line no-console\n console.log(`Successfully synced ${ok} items`);\n }\n\n if (oh) {\n // eslint-disable-next-line no-console\n console.log(`Ran into ${oh} conflicts`);\n\n const { rows: conflictRows } = await this.instance.allDocs({\n include_docs: true,\n conflicts: true,\n keys: conflicts,\n });\n const rows = getReduceConflicts(conflictRows);\n\n // eslint-disable-next-line no-console\n // console.log('conflicts', JSON.stringify(rows, null, 2));\n\n return { conflicts: rows, history };\n }\n\n return { conflicts: null, history, documents };\n };\n\n batch = async (items: any[]): Promise => this.flush(items);\n\n create = async (item: any): Promise =>\n this.flush([\n {\n _id: uuid(),\n order: 0,\n ...item,\n },\n ]);\n\n update = async (item: any): Promise =>\n this.flush([\n {\n _id: uuid(),\n ...item,\n },\n ]);\n\n remove = async (id: string): Promise => {\n const document = await this.instance.get(id);\n\n return this.flush([\n {\n ...document,\n _id: id,\n _deleted: true,\n },\n ]);\n };\n\n find = async (root: UUID, search: SearchState, assignments: any[]): Promise => {\n const { inHtml, inTitle, responsible, responsibleStatus, text } = search;\n\n const conditions: any[] = [];\n\n const regex = regexpSwitcher(text);\n\n if (text) {\n if (inTitle) {\n conditions.push({ title: { $regex: regex } });\n }\n\n if (inHtml) {\n conditions.push({ html: { $regex: regex } });\n }\n }\n\n const assignmentsCondition =\n responsible || responsibleStatus !== RESOLVING_STATUS_ANY.ANY\n ? {\n _id: {\n $in: assignments.map(({ refId }: any) => refId),\n },\n }\n : {};\n\n const textConditions = conditions.length ? { $or: conditions } : {};\n\n let result: any[] = [];\n\n try {\n result = await this.fetch(\n {\n root: { $eq: root },\n ...assignmentsCondition,\n ...textConditions,\n },\n { fields: ['root'], index: INDEX_DESIGN_ROOT },\n { fields: ['_id'] },\n );\n } catch (error) {\n // eslint-disable-next-line no-console\n console.log(error);\n }\n\n return result;\n };\n}\n","export default async (rows: any[]) =>\n rows.reduce((previous: any, { doc, id }: any): any => {\n // eslint-disable-next-line no-param-reassign\n previous[id] = doc;\n\n return previous;\n }, {});\n","import { env } from 'core/utils';\n\nexport default (text: string) => {\n const pattern = `.*${text}.*`;\n\n // https://github.com/pouchdb/pouchdb-server/issues/445\n if (env.POUCHDB_SOURCE === 'local') {\n return RegExp(pattern, 'i');\n }\n\n return pattern;\n};\n","import { env } from 'core/utils';\n\nexport default (name: string) => {\n if (env.POUCHDB_SOURCE === 'remote') {\n const url = `${env.POUCHDB_HOST}:${env.POUCHDB_PORT}/`;\n\n return `${url}${name}`;\n }\n\n return name;\n};\n","/* eslint-disable */\nimport { apiHttpClient as httpClient } from 'core/services';\nimport type { SearchState } from 'core/types';\nimport type { UUID } from 'short-uuid';\nimport { uuid } from 'short-uuid';\n\nimport type { IRead, IWrite } from './interfaces';\n\nexport class RestAPIRepository implements IRead, IWrite {\n private url: string;\n\n protected instance: any;\n\n constructor(name: string) {\n this.url = `${name}/`;\n this.instance = httpClient;\n }\n\n request = async (path: string, payload: any, method = 'GET') => {\n const { data, status } = await this.instance.request({\n method,\n url: path,\n data: payload,\n });\n\n return { data, status };\n };\n\n get = async (_id: UUID): Promise => {\n const { data } = await this.instance.get(`${this.url}${_id}`);\n\n return data;\n };\n\n getChildren = (_parent: UUID): Promise[]> => {\n throw new Error('Method getChildren not implemented.');\n };\n\n getAll = async (): Promise[]> => {\n const { data } = await this.instance.get(this.url);\n\n return data;\n };\n\n batch = async (_items: any[]): Promise => {\n throw new Error('Method batch not implemented.');\n };\n\n create = async (item: any): Promise =>\n this.instance.request(this.url, { _id: uuid(), ...item }, 'POST');\n\n update = async (item: any): Promise => this.instance.request(this.url, item, 'PUT');\n\n remove = async (_id: string): Promise => {\n throw new Error('Method remove not implemented.');\n };\n\n find = async (_root: UUID, _search: SearchState, _assignments: any[]): Promise => {\n throw new Error('Remove find not implemented.');\n };\n}\n","export const isRootDocument = (document: any) => document.root === document._id;\n","import { DocumentType } from 'core/types/document';\n\nexport const isFolderDocument = (type: string): boolean => type === DocumentType.FOLDER","export const titleDocument = ({ title }: any) => title[0].props.children;\n","import type { UserRoles } from '../../base';\n\nexport class RoleModel {\n name: UserRoles;\n\n description: string;\n}\n","import type { UserId } from 'core/types';\nimport type { OrganizationUserRoles } from 'core/base';\n\nexport class UserModel {\n id: UserId;\n\n email: string;\n\n roles: OrganizationUserRoles[] | null;\n\n firstName?: string;\n\n lastName?: string;\n\n uniqueUserName?: string;\n\n userName?: string;\n}\n","import type { PaginationResponse, UserRoles } from 'core/base';\nimport { BaseRepository } from 'core/base';\nimport type { AxiosRequestConfig } from 'axios';\nimport type { UserModel } from './User.model';\nimport type { UserId } from '../../types';\nimport type { RoleModel } from './Role.model';\n\nexport class UsersRepository extends BaseRepository {\n constructor() {\n super('/users');\n }\n\n async getAll(config?: AxiosRequestConfig) {\n const { data } = await this.httpClient.get>('/', config);\n\n return data;\n }\n\n async getUserInfo() {\n const { data } = await this.httpClient.get('/me');\n\n return data;\n }\n\n getRoles() {\n return this.httpClient.get('/roles').then(({ data }) => data);\n }\n\n updateUserRoles(id: UserId, roles: UserRoles[]) {\n return this.httpClient.put(`/${id}/roles`, roles).then(({ data }) => data);\n }\n\n updateManyUsersRoles(usersForUpdate: { userID: UserId; roles: UserRoles[] }[]) {\n return this.httpClient.post(`/update/roles`, usersForUpdate).then(({ data }) => data);\n }\n}\n","import { URL_LIST } from 'core/store/modules/common/literals';\nimport type { AxiosRequestConfig } from 'axios';\nimport type { UserRoles } from '../../base';\nimport { fusionAuthRedirect } from '../fusionAuthRedirect';\nimport { UsersRepository } from './Users.repository';\nimport type { UserId } from '../../types';\nimport type { RoleModel } from './Role.model';\n\nconst skipRoles = (roles?: RoleModel[], skipValues?: UserRoles[]) => {\n if (!roles) return [];\n return roles.filter(role => !skipValues?.includes(role.name));\n};\n\nexport class UsersService {\n usersRepo: UsersRepository = new UsersRepository();\n\n getUserInfo() {\n return this.usersRepo.getUserInfo();\n }\n\n getAll(config?: AxiosRequestConfig) {\n return this.usersRepo.getAll(config);\n }\n\n getRoles() {\n return this.usersRepo.getRoles();\n }\n\n async getRolesByRole() {\n const roles = await this.getRoles();\n\n return {\n getAdminResourceRoles: () => skipRoles(roles, ['admin']),\n getMemberResourceRoles: () => skipRoles(roles, ['admin', 'owner']),\n getGuestResourceRoles: () => skipRoles(roles, ['admin', 'owner', 'member']),\n getAdminInstanceRoles: () => skipRoles(roles, ['owner']),\n };\n }\n\n updateUserRoles(id: UserId, roles: UserRoles[]) {\n return this.usersRepo.updateUserRoles(id, roles);\n }\n\n updateManyUsersRoles(usersForUpdate: { userID: UserId; roles: UserRoles[] }[]) {\n return this.usersRepo.updateManyUsersRoles(usersForUpdate);\n }\n\n // eslint-disable-next-line class-methods-use-this\n login() {\n fusionAuthRedirect(URL_LIST.auth);\n }\n\n // eslint-disable-next-line class-methods-use-this\n logout() {\n fusionAuthRedirect(URL_LIST.logout, window.location.origin);\n }\n}\n","import type { DocumentId } from '../../types';\nimport type { OrganizationUserRoles } from '../../base';\n\ntype UserActions = {\n [P in OrganizationUserRoles as `atLeast${Capitalize>}`]?: () => boolean;\n};\n\nexport class MyUserViewModel implements UserActions {\n id: DocumentId;\n\n roles: OrganizationUserRoles[];\n\n orgID: string;\n\n email: string;\n\n userName?: string;\n\n atLeastAdmin() {\n return this.roles.some(r => ['admin'].includes(r));\n }\n\n atLeastMember() {\n return this.roles.some(r => ['member', 'admin'].includes(r));\n }\n\n atLeastGuest() {\n return this.roles.some(r => ['guest', 'member', 'admin'].includes(r));\n }\n}\n","import type { DocumentId, DocumentRevision, IssueStatusType, UserId } from 'core/types';\n\nexport type IssueLinkModel = {\n entityType: string;\n entityID: DocumentId;\n};\nexport class IssueModel {\n _id: DocumentId;\n\n _rev: DocumentRevision;\n\n title: string;\n\n description: string;\n\n assigneeIDs: UserId[];\n\n status: IssueStatusType;\n\n dueDate: Date;\n\n link: IssueLinkModel;\n\n createdAtUTC?: Date;\n\n createdBy: UserId;\n}\n","import type {\n BaseDocumentChangeModel,\n BaseDocumentModel,\n CustomError,\n PaginationResponse,\n UpdateResponse,\n} from 'core/base';\nimport { BaseRepository } from 'core/base';\nimport type { DocumentId, DocumentRevision } from 'core/types';\nimport type { AxiosRequestConfig } from 'axios';\nimport type { IssueModel } from './Issue.model';\n\nexport class IssuesRepository extends BaseRepository {\n constructor() {\n super('/issues');\n }\n\n async getAll(config?: AxiosRequestConfig) {\n const { data } = await this.httpClient.get>('/', config);\n\n return data;\n }\n\n async getByType(typeName: string, id: DocumentId) {\n const { data } = await this.httpClient.get>(\n `/${typeName}/${id}`,\n );\n\n return data;\n }\n\n async get(id: DocumentId) {\n const { data } = await this.httpClient.get(`/${id}`);\n\n return data;\n }\n\n async update(model: IssueModel): Promise {\n const { _id, _rev } = model;\n const config: AxiosRequestConfig = {\n headers: {\n 'If-Match': `\"${_rev}\"`,\n },\n };\n\n const { headers } = await this.httpClient.put>(\n `/${_id}`,\n model,\n config,\n );\n\n return {\n ...model,\n _rev: JSON.parse(headers.etag) as DocumentRevision,\n };\n }\n\n async create(\n model: IssueModel,\n config?: AxiosRequestConfig,\n ): Promise<{ model: IssueModel; error?: CustomError; ok: boolean }> {\n await this.httpClient.post>('/', model, config);\n\n return {\n model,\n ok: true,\n };\n }\n\n getChanges(id: DocumentId, since?: DocumentRevision) {\n const options = {\n params: {\n since,\n },\n };\n\n return this.httpClient\n .get[]>(`${id}/changes`, options)\n .then(({ data }) => data);\n }\n}\n","import type { DocumentId, DocumentRevision } from 'core/types';\nimport type { AxiosRequestConfig } from 'axios';\nimport { IssuesRepository } from './Issues.repository';\nimport type { IssueModel } from './Issue.model';\n\nexport class IssuesService {\n issuesRepo: IssuesRepository = new IssuesRepository();\n\n getIssue(id: DocumentId) {\n return this.issuesRepo.get(id);\n }\n\n create(issue: IssueModel) {\n return this.issuesRepo.create(issue);\n }\n\n update(issue: IssueModel) {\n return this.issuesRepo.update(issue);\n }\n\n getByType(typeName: string, id: DocumentId) {\n return this.issuesRepo.getByType(typeName, id);\n }\n\n getAll(config?: AxiosRequestConfig) {\n return this.issuesRepo.getAll(config);\n }\n\n getChanges(id: DocumentId, since?: DocumentRevision) {\n return this.issuesRepo.getChanges(id, since);\n }\n}\n","import type { DocumentId, DocumentRevision, UserId } from 'core/types';\n\nexport type CommentLinkModel = {\n entityType: string;\n entityID: DocumentId;\n};\nexport class CommentModel {\n _id: DocumentId;\n\n _rev: DocumentRevision;\n\n text: string;\n\n authorID: UserId;\n\n link: CommentLinkModel;\n\n createdAtUTC: Date;\n}\n","import type { CustomError, PaginationResponse, UpdateResponse } from 'core/base';\nimport { BaseRepository } from 'core/base';\nimport type { DocumentId, DocumentRevision } from 'core/types';\nimport type { AxiosRequestConfig } from 'axios';\nimport type { CommentModel } from './Comment.model';\n\nexport class CommentsRepository extends BaseRepository {\n constructor() {\n super('/comments');\n }\n\n async getAll() {\n const { data } = await this.httpClient.get>('/');\n\n return data;\n }\n\n async getByType(typeName: string, id: DocumentId) {\n const { data } = await this.httpClient.get>(\n `/${typeName}/${id}`,\n );\n\n return data;\n }\n\n async get(id: DocumentId) {\n const { data } = await this.httpClient.get(`/${id}`);\n\n return data;\n }\n\n async update(model: CommentModel): Promise {\n const { _id, _rev } = model;\n const config: AxiosRequestConfig = {\n headers: {\n 'If-Match': `\"${_rev}\"`,\n },\n };\n\n const { headers } = await this.httpClient.put>(\n `/${_id}`,\n model,\n config,\n );\n\n return {\n ...model,\n _rev: JSON.parse(headers.etag) as DocumentRevision,\n };\n }\n\n async create(\n model: CommentModel,\n config?: AxiosRequestConfig,\n ): Promise<{ model: CommentModel; error?: CustomError; ok: boolean }> {\n await this.httpClient.post>('/', model, config);\n\n return {\n model,\n ok: true,\n };\n }\n}\n","import type { DocumentId } from 'core/types';\nimport { CommentsRepository } from './Comments.repository';\nimport type { CommentModel } from './Comment.model';\n\nexport class CommentsService {\n commentsRepo: CommentsRepository = new CommentsRepository();\n\n getComment(id: DocumentId) {\n return this.commentsRepo.get(id);\n }\n\n create(comment: CommentModel) {\n return this.commentsRepo.create(comment);\n }\n\n update(comment: CommentModel) {\n return this.commentsRepo.update(comment);\n }\n\n getByType(typeName: string, id: DocumentId) {\n return this.commentsRepo.getByType(typeName, id);\n }\n\n getAll() {\n return this.commentsRepo.getAll();\n }\n}\n","import UAParser from 'ua-parser-js';\nimport { env } from '../utils/env';\nimport type { UserModel } from './users';\n\nconst JOB = 'web-client';\n\ntype LOG_LEVELS = 'info' | 'error' | 'warn';\n\ntype InfoData = Record;\n\ntype ErrorData = { message?: string; error?: unknown; stack?: string };\n\ntype LogArgs = ['error', unknown] | ['info', InfoData] | ['warn', InfoData];\n\nconst parseError = (error: unknown): ErrorData => {\n if (error instanceof Error) {\n return {\n message: error.message,\n stack: error.stack?.toString(),\n };\n }\n\n return { error };\n};\n\nexport class LoggerService {\n #uaParser: UAParser;\n\n #user?: UserModel;\n\n constructor(private appName: string) {\n this.#uaParser = new UAParser();\n }\n\n setUser(user: UserModel) {\n this.#user = user;\n }\n\n log(...args: LogArgs) {\n this.#sendOrLog(...args);\n }\n\n error(error: unknown) {\n this.#sendOrLog('error', error);\n }\n\n info(info: InfoData) {\n this.#sendOrLog('info', info);\n }\n\n warn(info: InfoData) {\n this.#sendOrLog('warn', info);\n }\n\n #prepareBody(level: LOG_LEVELS, logInfo: InfoData | ErrorData) {\n const os = this.#uaParser.getOS();\n const browser = this.#uaParser.getBrowser();\n\n return {\n streams: [\n {\n stream: {\n job: JOB,\n app: this.appName,\n host: window.location.hostname,\n level,\n user: this.#user,\n url: window.location.href,\n },\n values: [[LoggerService.#now(), JSON.stringify({ os, browser, ...logInfo })]],\n },\n ],\n };\n }\n\n #sendOrLog(...args: LogArgs) {\n const [level, arg] = args;\n // TODO: use feature flags to activate logger\n if (!env.LOG_URL) {\n // eslint-disable-next-line no-console\n console[level]('LoggerService:', arg);\n return;\n }\n\n const getLogInfo = () => {\n if (level === 'error') {\n return parseError(arg);\n }\n\n return arg;\n };\n\n const body = this.#prepareBody(level, getLogInfo());\n LoggerService.#send(body);\n }\n\n static #send(body: unknown) {\n const headers = {\n type: 'application/json',\n };\n const blob = new Blob([JSON.stringify(body)], headers);\n navigator.sendBeacon(env.LOG_URL, blob);\n }\n\n static #now() {\n return `${Date.now() * 1_000_000}`;\n }\n}\n","import type { OrgFeaturesList } from '../types';\n\ntype OrgModule = { id: string; label: string };\n\nexport class OrgModel {\n features?: OrgFeaturesList[];\n\n modules?: OrgModule[];\n}\n","import { BaseRepository } from '../../base';\nimport type { OrgModel } from './models/Org.model';\n\nexport class OrgRepository extends BaseRepository {\n constructor() {\n super('/org');\n }\n\n get() {\n return this.httpClient.get('/').then(({ data }) => data);\n }\n}\n","import { injectable } from 'inversify';\nimport { OrgRepository } from './Org.repository';\n\n@injectable()\nexport class OrgService {\n protected orgRepo = new OrgRepository();\n\n get() {\n return this.orgRepo.get();\n }\n}\n","export enum OrgFeaturesList {\n keystone = 'keystone',\n}\n\nexport enum ThirdPartyVendors {\n keystone = 'keystone',\n}\n","import { injectable } from 'inversify';\nimport { env } from '../utils';\n\ntype FeatureFlags = 'logger' | T;\n\n@injectable()\nexport class FeatureFlagsService {\n #flags: Set>;\n\n constructor() {\n const featureFlags = env.FEATURE_FLAGS;\n this.#flags = new Set>(featureFlags.split(',') as FeatureFlags[]);\n }\n\n has(name: FeatureFlags) {\n return this.#flags.has(name);\n }\n}\n","import type { Dictionary } from '@reduxjs/toolkit';\n// eslint-disable-next-line no-restricted-imports\nimport type { UUID as DEPRECATED_UUID } from 'short-uuid';\nimport type { BaseEntity } from '../base';\nimport type { FormError } from '../components';\nimport type { DocumentState } from '../store';\nimport type { UUID } from '../utils';\n\n// eslint-disable-next-line no-shadow\nexport enum DocumentType {\n DOCUMENT = 'document',\n FOLDER = 'folder',\n PLUGIN = 'plugin',\n PLUGINS = 'plugins',\n PLUGINS_FOLDER = 'plugins-folder',\n}\n\nexport type DocumentId = DEPRECATED_UUID | UUID;\nexport type ActionId = UUID;\n\nexport type RouteParams = {\n documentId: DocumentId;\n};\n\nexport interface UseCase {\n execute: (arg: T) => unknown;\n}\n\nexport type DocumentsList = Dictionary>;\n\nexport interface DocumentErrorsList {\n [x: DocumentId]: FormError[];\n}\n\nexport type DocumentRevision = number;\n\nexport type Attachment = {\n id: DEPRECATED_UUID | UUID;\n fileName: string;\n};\n\nexport type AttachmentId = `${Attachment['id']}_${Attachment['fileName']}`;\n\nexport type DocumentWithChildren = T & { children?: DocumentWithChildren[] };\n\nexport type UserId = DEPRECATED_UUID | UUID;\n"],"names":["INDEX_DESIGN_ORDER","INDEX_DESIGN_REF","INDEX_DESIGN_PARENT","INDEX_DESIGN_ROOT","SORT_AND_USE_INDEX","fields","index","plugin","PouchDBRepository","constructor","name","get","id","this","instance","getChildren","parent","fetch","$eq","getAll","root","conditions","$gt","order","selector","optSortAndUseIndex","additionalOptions","options","sort","use_index","createIndex","ddoc","docs","find","flush","documents","results","bulkDocs","conflicts","history","forEach","result","ok","rev","status","Error","push","oh","length","console","log","rows","conflictRows","allDocs","include_docs","keys","reduce","previous","doc","batch","items","create","item","_id","uuid","update","remove","document","_deleted","search","assignments","inHtml","inTitle","responsible","responsibleStatus","text","regex","pattern","env","POUCHDB_SOURCE","RegExp","title","$regex","html","assignmentsCondition","RESOLVING_STATUS_ANY","ANY","$in","map","refId","textConditions","$or","error","POUCHDB_HOST","POUCHDB_PORT","dbname","changes","since","live","on","NODE_ENV","replicate","to","RestAPIRepository","request","path","payload","method","data","url","_parent","_items","_root","_search","_assignments","isRootDocument","isFolderDocument","type","DocumentType","FOLDER","titleDocument","props","children","RoleModel","UserModel","UsersRepository","BaseRepository","super","config","httpClient","getUserInfo","getRoles","then","updateUserRoles","roles","put","updateManyUsersRoles","usersForUpdate","post","skipRoles","skipValues","filter","role","includes","UsersService","usersRepo","getRolesByRole","getAdminResourceRoles","getMemberResourceRoles","getGuestResourceRoles","getAdminInstanceRoles","login","fusionAuthRedirect","URL_LIST","auth","logout","window","location","origin","MyUserViewModel","atLeastAdmin","some","r","atLeastMember","atLeastGuest","IssueModel","IssuesRepository","getByType","typeName","model","_rev","headers","JSON","parse","etag","getChanges","params","IssuesService","issuesRepo","getIssue","issue","CommentModel","CommentsRepository","CommentsService","commentsRepo","getComment","comment","LoggerService","appName","setUser","user","args","info","warn","level","logInfo","os","getOS","browser","getBrowser","streams","stream","job","app","host","hostname","href","values","stringify","arg","LOG_URL","body","message","stack","toString","blob","Blob","navigator","sendBeacon","Date","now","OrgModel","OrgRepository","OrgService","orgRepo","OrgFeaturesList","ThirdPartyVendors","injectable","FeatureFlagsService","featureFlags","FEATURE_FLAGS","Set","split","has"],"sourceRoot":""}