SharedDocUtil
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
cachedLookup: * |
|
public |
cachedOpDocs: * |
|
public |
|
|
public |
|
|
public get |
utilName: * |
Private Members | ||
private |
_rebuildOpDocCache: boolean |
Method Summary
Public Methods | ||
public |
addOpToLookup(opId: *, opName: *) |
|
public |
addOpsToLookup(ops: *, clearFiles: boolean) |
|
public |
buildOpDocs(opName: *): * |
|
public |
cleanOpDocData(obj: *): * |
|
public |
getAllExtensionDocs(filterOldVersions: boolean, filterDeprecated: boolean): * |
|
public |
getCachedOpLookup(): * |
|
public |
getCollectionOpDocs(collectionName: *, currentUser: *): * |
|
public |
getCoreLibs(project: *): * |
|
public |
getDocForOp(opName: *, docs: undefined): * |
|
public |
getExampleProjectId(opname: *, opDocs: *): * |
|
public |
getExtensionDoc(extensionName: *, filterOldVersions: boolean, filterDeprecated: boolean): * |
|
public |
getExtensionOpDocs(extensionName: *, currentUser: *): * |
|
public |
getOpDocMd(opname: *): * |
|
public |
getOpDocs(filterOldVersions: *, filterDeprecated: *): * |
|
public |
getOpDocsForCollections(opNames: *, currentUser: *): * |
|
public |
getOpDocsFromFile(opName: *): * |
|
public |
getProjectLibs(project: *): * |
|
public |
hasExample(opname: *, opDocs: *): * |
|
public |
hasScreenshot(opname: *, opDocs: *): boolean |
|
public |
makeReadable(opDocs: *): * |
|
public |
rebuildOpCaches(cb: *, scopes: string[], clearFiles: boolean) |
|
public |
removeOpNameFromLookup(opName: *) |
|
public |
removeOpNamesFromLookup(opNames: *) |
|
public |
replaceOpNameInLookup(oldName: *, newName: *) |
|
public |
setOpLinks(str: *): * |
|
public |
updateOpDocs(opName: *): * |
Private Methods | ||
private |
_getNamespaceDocs(namespaceName: *, shortName: *, team: *, opNames: *[], filterOldVersions: boolean, filterDeprecated: boolean): * |
Public Constructors
public constructor() source
Public Members
public cachedLookup: * source
public cachedOpDocs: * source
public opLookupFilename: * source
public opdocsFilename: * source
public get utilName: * source
Private Members
private _rebuildOpDocCache: boolean source
Public Methods
public addOpToLookup(opId: *, opName: *) source
Params:
Name | Type | Attribute | Description |
opId | * | ||
opName | * |
public addOpsToLookup(ops: *, clearFiles: boolean) source
Params:
Name | Type | Attribute | Description |
ops | * | ||
clearFiles | boolean |
|
public getAllExtensionDocs(filterOldVersions: boolean, filterDeprecated: boolean): * source
Params:
Name | Type | Attribute | Description |
filterOldVersions | boolean |
|
|
filterDeprecated | boolean |
|
Return:
* |
public getCollectionOpDocs(collectionName: *, currentUser: *): * source
Params:
Name | Type | Attribute | Description |
collectionName | * | ||
currentUser | * |
Return:
* |
public getDocForOp(opName: *, docs: undefined): * source
Params:
Name | Type | Attribute | Description |
opName | * | ||
docs | undefined |
|
Return:
* |
public getExampleProjectId(opname: *, opDocs: *): * source
Params:
Name | Type | Attribute | Description |
opname | * | ||
opDocs | * |
Return:
* |
public getExtensionDoc(extensionName: *, filterOldVersions: boolean, filterDeprecated: boolean): * source
Params:
Name | Type | Attribute | Description |
extensionName | * | ||
filterOldVersions | boolean |
|
|
filterDeprecated | boolean |
|
Return:
* |
public getExtensionOpDocs(extensionName: *, currentUser: *): * source
Params:
Name | Type | Attribute | Description |
extensionName | * | ||
currentUser | * |
Return:
* |
public getOpDocs(filterOldVersions: *, filterDeprecated: *): * source
Params:
Name | Type | Attribute | Description |
filterOldVersions | * | ||
filterDeprecated | * |
Return:
* |
public getOpDocsForCollections(opNames: *, currentUser: *): * source
Params:
Name | Type | Attribute | Description |
opNames | * | ||
currentUser | * |
Return:
* |
public getOpDocsFromFile(opName: *): * source
Params:
Name | Type | Attribute | Description |
opName | * |
Return:
* |
public getProjectLibs(project: *): * source
Params:
Name | Type | Attribute | Description |
project | * |
Return:
* |
public hasExample(opname: *, opDocs: *): * source
Params:
Name | Type | Attribute | Description |
opname | * | ||
opDocs | * |
Return:
* |
public hasScreenshot(opname: *, opDocs: *): boolean source
Params:
Name | Type | Attribute | Description |
opname | * | ||
opDocs | * |
Return:
boolean |
public rebuildOpCaches(cb: *, scopes: string[], clearFiles: boolean) source
Params:
Name | Type | Attribute | Description |
cb | * | ||
scopes | string[] |
|
|
clearFiles | boolean |
|
public removeOpNameFromLookup(opName: *) source
Params:
Name | Type | Attribute | Description |
opName | * |
public removeOpNamesFromLookup(opNames: *) source
Params:
Name | Type | Attribute | Description |
opNames | * |
public replaceOpNameInLookup(oldName: *, newName: *) source
Params:
Name | Type | Attribute | Description |
oldName | * | ||
newName | * |
Private Methods
private _getNamespaceDocs(namespaceName: *, shortName: *, team: *, opNames: *[], filterOldVersions: boolean, filterDeprecated: boolean): * source
Params:
Name | Type | Attribute | Description |
namespaceName | * | ||
shortName | * | ||
team | * | ||
opNames | *[] |
|
|
filterOldVersions | boolean |
|
|
filterDeprecated | boolean |
|
Return:
* |