@servicenow/sdk - v4.7.0
Preparing search index...
@servicenow/sdk/api
<internal>
Plugins
Class Plugins
Implements
Iterable
<
Plugin
>
Index
Constructors
constructor
Methods
[iterator]
append
clear
Shape
Counts
get
Coalesce
Strategy
get
Coalesce
Tables
get
Reference
Columns
get
Shape
Count
Per
Plugin
is
Composite
is
Entry
Point
node
To
Shape
prepend
reload
shape
To
Record
shape
To
Subclass
Constructors
constructor
new
Plugins
(
plugins
:
Plugin
[]
)
:
Plugins
Parameters
plugins
:
Plugin
[]
Returns
Plugins
Methods
[iterator]
"[iterator]"
()
:
Iterator
<
Plugin
>
Returns
Iterator
<
Plugin
>
append
append
(
...
plugins
:
Plugin
[]
)
:
void
Parameters
...
plugins
:
Plugin
[]
Returns
void
clear
Shape
Counts
clearShapeCounts
()
:
void
Returns
void
get
Coalesce
Strategy
getCoalesceStrategy
(
table
:
string
)
:
CoalesceStrategy
|
undefined
Parameters
table
:
string
Returns
CoalesceStrategy
|
undefined
get
Coalesce
Tables
getCoalesceTables
()
:
Set
<
string
>
Returns
Set
<
string
>
get
Reference
Columns
getReferenceColumns
(
table
:
string
)
:
{
[
column
:
string
]:
string
}
Parameters
table
:
string
Returns
{
[
column
:
string
]:
string
}
get
Shape
Count
Per
Plugin
getShapeCountPerPlugin
()
:
{
count
:
number
;
plugin
:
string
}
[]
Returns
{
count
:
number
;
plugin
:
string
}
[]
is
Composite
isComposite
(
table
:
string
)
:
boolean
Parameters
table
:
string
Returns
boolean
is
Entry
Point
isEntryPoint
(
pathOrNode
:
|
string
|
SourceFile
|
ImportDeclaration
|
ExportDeclaration
|
ExportAssignment
|
ClassDeclaration
|
FunctionDeclaration
|
VariableDeclaration
|
TypeAliasDeclaration
|
ModuleDeclaration
|
Identifier
|
StringLiteral
|
NumericLiteral
|
ComputedPropertyName
|
NoSubstitutionTemplateLiteral
|
ParameterDeclaration
|
PropertySignature
|
VariableStatement
|
TrueLiteral
|
FalseLiteral
|
TaggedTemplateExpression
|
PropertyAccessExpression
<
tsc
.
PropertyAccessExpression
>
|
PropertyAssignment
|
TemplateExpression
|
ArrayLiteralExpression
|
ArrowFunction
|
AsExpression
|
BinaryExpression
<
tsc
.
BinaryExpression
>
|
Block
|
CallExpression
<
tsc
.
CallExpression
>
|
ElementAccessExpression
<
tsc
.
ElementAccessExpression
>
|
ExportSpecifier
|
ExpressionStatement
|
FunctionExpression
|
ImportClause
|
ImportSpecifier
|
ModuleBlock
|
NamedExports
|
NamedImports
|
ObjectLiteralExpression
|
ParenthesizedExpression
|
PrefixUnaryExpression
|
ReturnStatement
|
TemplateHead
|
TemplateMiddle
|
TemplateSpan
|
TemplateTail
|
VariableDeclarationList
|
LiteralTypeNode
|
NullLiteral
|
TupleTypeNode
|
TypeLiteralNode
|
TypeReferenceNode
|
Node
<
EndOfFileToken
>
|
Node
<
EqualsToken
>
|
Node
<
PlusToken
>
|
Node
<
ExportKeyword
>
|
Node
<
KeywordTypeNode
<
AnyKeyword
>
>
|
Node
<
EqualsGreaterThanToken
>
,
context
:
Omit
<
Context
,
"self"
>
,
)
:
Promise
<
boolean
>
Parameters
pathOrNode
:
|
string
|
SourceFile
|
ImportDeclaration
|
ExportDeclaration
|
ExportAssignment
|
ClassDeclaration
|
FunctionDeclaration
|
VariableDeclaration
|
TypeAliasDeclaration
|
ModuleDeclaration
|
Identifier
|
StringLiteral
|
NumericLiteral
|
ComputedPropertyName
|
NoSubstitutionTemplateLiteral
|
ParameterDeclaration
|
PropertySignature
|
VariableStatement
|
TrueLiteral
|
FalseLiteral
|
TaggedTemplateExpression
|
PropertyAccessExpression
<
tsc
.
PropertyAccessExpression
>
|
PropertyAssignment
|
TemplateExpression
|
ArrayLiteralExpression
|
ArrowFunction
|
AsExpression
|
BinaryExpression
<
tsc
.
BinaryExpression
>
|
Block
|
CallExpression
<
tsc
.
CallExpression
>
|
ElementAccessExpression
<
tsc
.
ElementAccessExpression
>
|
ExportSpecifier
|
ExpressionStatement
|
FunctionExpression
|
ImportClause
|
ImportSpecifier
|
ModuleBlock
|
NamedExports
|
NamedImports
|
ObjectLiteralExpression
|
ParenthesizedExpression
|
PrefixUnaryExpression
|
ReturnStatement
|
TemplateHead
|
TemplateMiddle
|
TemplateSpan
|
TemplateTail
|
VariableDeclarationList
|
LiteralTypeNode
|
NullLiteral
|
TupleTypeNode
|
TypeLiteralNode
|
TypeReferenceNode
|
Node
<
EndOfFileToken
>
|
Node
<
EqualsToken
>
|
Node
<
PlusToken
>
|
Node
<
ExportKeyword
>
|
Node
<
KeywordTypeNode
<
AnyKeyword
>
>
|
Node
<
EqualsGreaterThanToken
>
context
:
Omit
<
Context
,
"self"
>
Returns
Promise
<
boolean
>
node
To
Shape
nodeToShape
(
node
:
|
SourceFile
|
ImportDeclaration
|
ExportDeclaration
|
ExportAssignment
|
ClassDeclaration
|
FunctionDeclaration
|
VariableDeclaration
|
TypeAliasDeclaration
|
ModuleDeclaration
|
Identifier
|
StringLiteral
|
NumericLiteral
|
ComputedPropertyName
|
NoSubstitutionTemplateLiteral
|
ParameterDeclaration
|
PropertySignature
|
VariableStatement
|
TrueLiteral
|
FalseLiteral
|
TaggedTemplateExpression
|
PropertyAccessExpression
<
tsc
.
PropertyAccessExpression
>
|
PropertyAssignment
|
TemplateExpression
|
ArrayLiteralExpression
|
ArrowFunction
|
AsExpression
|
BinaryExpression
<
tsc
.
BinaryExpression
>
|
Block
|
CallExpression
<
tsc
.
CallExpression
>
|
ElementAccessExpression
<
tsc
.
ElementAccessExpression
>
|
ExportSpecifier
|
ExpressionStatement
|
FunctionExpression
|
ImportClause
|
ImportSpecifier
|
ModuleBlock
|
NamedExports
|
NamedImports
|
ObjectLiteralExpression
|
ParenthesizedExpression
|
PrefixUnaryExpression
|
ReturnStatement
|
TemplateHead
|
TemplateMiddle
|
TemplateSpan
|
TemplateTail
|
VariableDeclarationList
|
LiteralTypeNode
|
NullLiteral
|
TupleTypeNode
|
TypeLiteralNode
|
TypeReferenceNode
|
Node
<
EndOfFileToken
>
|
Node
<
EqualsToken
>
|
Node
<
PlusToken
>
|
Node
<
ExportKeyword
>
|
Node
<
KeywordTypeNode
<
AnyKeyword
>
>
|
Node
<
EqualsGreaterThanToken
>
,
context
:
Omit
<
Context
,
"self"
>
,
...
plugins
:
(
string
|
Plugin
)
[]
,
)
:
Promise
<
Result
<
Shape
<
unknown
>
>
>
Parameters
node
:
|
SourceFile
|
ImportDeclaration
|
ExportDeclaration
|
ExportAssignment
|
ClassDeclaration
|
FunctionDeclaration
|
VariableDeclaration
|
TypeAliasDeclaration
|
ModuleDeclaration
|
Identifier
|
StringLiteral
|
NumericLiteral
|
ComputedPropertyName
|
NoSubstitutionTemplateLiteral
|
ParameterDeclaration
|
PropertySignature
|
VariableStatement
|
TrueLiteral
|
FalseLiteral
|
TaggedTemplateExpression
|
PropertyAccessExpression
<
tsc
.
PropertyAccessExpression
>
|
PropertyAssignment
|
TemplateExpression
|
ArrayLiteralExpression
|
ArrowFunction
|
AsExpression
|
BinaryExpression
<
tsc
.
BinaryExpression
>
|
Block
|
CallExpression
<
tsc
.
CallExpression
>
|
ElementAccessExpression
<
tsc
.
ElementAccessExpression
>
|
ExportSpecifier
|
ExpressionStatement
|
FunctionExpression
|
ImportClause
|
ImportSpecifier
|
ModuleBlock
|
NamedExports
|
NamedImports
|
ObjectLiteralExpression
|
ParenthesizedExpression
|
PrefixUnaryExpression
|
ReturnStatement
|
TemplateHead
|
TemplateMiddle
|
TemplateSpan
|
TemplateTail
|
VariableDeclarationList
|
LiteralTypeNode
|
NullLiteral
|
TupleTypeNode
|
TypeLiteralNode
|
TypeReferenceNode
|
Node
<
EndOfFileToken
>
|
Node
<
EqualsToken
>
|
Node
<
PlusToken
>
|
Node
<
ExportKeyword
>
|
Node
<
KeywordTypeNode
<
AnyKeyword
>
>
|
Node
<
EqualsGreaterThanToken
>
context
:
Omit
<
Context
,
"self"
>
...
plugins
: (
string
|
Plugin
)
[]
Returns
Promise
<
Result
<
Shape
<
unknown
>
>
>
prepend
prepend
(
...
plugins
:
Plugin
[]
)
:
void
Parameters
...
plugins
:
Plugin
[]
Returns
void
reload
reload
()
:
void
Returns
void
shape
To
Record
shapeToRecord
(
shape
:
Shape
,
context
:
Omit
<
Context
,
"self"
>
,
...
plugins
:
(
string
|
Plugin
)
[]
,
)
:
Promise
<
Result
<
Record
>
>
Parameters
shape
:
Shape
context
:
Omit
<
Context
,
"self"
>
...
plugins
: (
string
|
Plugin
)
[]
Returns
Promise
<
Result
<
Record
>
>
shape
To
Subclass
shapeToSubclass
<
const
S
extends
Shape
<
unknown
>
>
(
shape
:
S
,
context
:
Omit
<
Context
,
"self"
>
,
...
plugins
:
(
string
|
Plugin
)
[]
,
)
:
Promise
<
S
>
Type Parameters
const
S
extends
Shape
<
unknown
>
Parameters
shape
:
S
context
:
Omit
<
Context
,
"self"
>
...
plugins
: (
string
|
Plugin
)
[]
Returns
Promise
<
S
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
[iterator]
append
clear
Shape
Counts
get
Coalesce
Strategy
get
Coalesce
Tables
get
Reference
Columns
get
Shape
Count
Per
Plugin
is
Composite
is
Entry
Point
node
To
Shape
prepend
reload
shape
To
Record
shape
To
Subclass
@servicenow/sdk - v4.7.0
Loading...