obsidian-typings 4.40.0 → 4.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/implementations.d.cts +24 -5
- package/dist/cjs/types.d.cts +24 -5
- package/dist/obsidian-typings.api.json +147 -9
- package/package.json +1 -1
|
@@ -1347,6 +1347,14 @@ export interface BasesContextConstructor extends ConstructorBase<[
|
|
|
1347
1347
|
file: TFile | null
|
|
1348
1348
|
], BasesContext> {
|
|
1349
1349
|
}
|
|
1350
|
+
/**
|
|
1351
|
+
* Bases control.
|
|
1352
|
+
*
|
|
1353
|
+
* @public
|
|
1354
|
+
* @unofficial
|
|
1355
|
+
*/
|
|
1356
|
+
export interface BasesControl {
|
|
1357
|
+
}
|
|
1350
1358
|
/**
|
|
1351
1359
|
* Controller for the view.
|
|
1352
1360
|
*
|
|
@@ -1582,7 +1590,7 @@ export interface BasesController extends Component {
|
|
|
1582
1590
|
* @public
|
|
1583
1591
|
* @unofficial
|
|
1584
1592
|
*/
|
|
1585
|
-
export interface BasesFile {
|
|
1593
|
+
export interface BasesFile extends BasesControl {
|
|
1586
1594
|
/**
|
|
1587
1595
|
* Gets the links.
|
|
1588
1596
|
*
|
|
@@ -1892,7 +1900,7 @@ export interface BasesHandlers extends Record<string, ViewFactory> {
|
|
|
1892
1900
|
* @public
|
|
1893
1901
|
* @unofficial
|
|
1894
1902
|
*/
|
|
1895
|
-
export interface BasesLink {
|
|
1903
|
+
export interface BasesLink extends BasesControl {
|
|
1896
1904
|
/**
|
|
1897
1905
|
* The link.
|
|
1898
1906
|
*/
|
|
@@ -1921,11 +1929,18 @@ export interface BasesLinkConstructor extends ConstructorBase<[
|
|
|
1921
1929
|
* @public
|
|
1922
1930
|
* @unofficial
|
|
1923
1931
|
*/
|
|
1924
|
-
export interface BasesList {
|
|
1932
|
+
export interface BasesList extends BasesControl {
|
|
1925
1933
|
/**
|
|
1926
|
-
* The
|
|
1934
|
+
* The controls.
|
|
1927
1935
|
*/
|
|
1928
|
-
data:
|
|
1936
|
+
data: BasesControl[];
|
|
1937
|
+
/**
|
|
1938
|
+
* Gets a value by key.
|
|
1939
|
+
*
|
|
1940
|
+
* @param key - The key.
|
|
1941
|
+
* @returns The value.
|
|
1942
|
+
*/
|
|
1943
|
+
get(key: string): BasesControl;
|
|
1929
1944
|
}
|
|
1930
1945
|
/**
|
|
1931
1946
|
* Bases local.
|
|
@@ -2254,6 +2269,10 @@ export interface BasesView extends TextFileView {
|
|
|
2254
2269
|
* The query for the view.
|
|
2255
2270
|
*/
|
|
2256
2271
|
query: BasesQuery;
|
|
2272
|
+
/**
|
|
2273
|
+
* Get view type.
|
|
2274
|
+
*/
|
|
2275
|
+
getViewType(): typeof ViewType.Bases;
|
|
2257
2276
|
/**
|
|
2258
2277
|
* Called when the layout of the view changes.
|
|
2259
2278
|
*/
|
package/dist/cjs/types.d.cts
CHANGED
|
@@ -17549,6 +17549,14 @@ export interface BasesContextConstructor extends ConstructorBase<[
|
|
|
17549
17549
|
file: TFile | null
|
|
17550
17550
|
], BasesContext> {
|
|
17551
17551
|
}
|
|
17552
|
+
/**
|
|
17553
|
+
* Bases control.
|
|
17554
|
+
*
|
|
17555
|
+
* @public
|
|
17556
|
+
* @unofficial
|
|
17557
|
+
*/
|
|
17558
|
+
export interface BasesControl {
|
|
17559
|
+
}
|
|
17552
17560
|
/**
|
|
17553
17561
|
* Controller for the view.
|
|
17554
17562
|
*
|
|
@@ -17784,7 +17792,7 @@ export interface BasesController extends Component {
|
|
|
17784
17792
|
* @public
|
|
17785
17793
|
* @unofficial
|
|
17786
17794
|
*/
|
|
17787
|
-
export interface BasesFile {
|
|
17795
|
+
export interface BasesFile extends BasesControl {
|
|
17788
17796
|
/**
|
|
17789
17797
|
* Gets the links.
|
|
17790
17798
|
*
|
|
@@ -18094,7 +18102,7 @@ export interface BasesHandlers extends Record<string, ViewFactory> {
|
|
|
18094
18102
|
* @public
|
|
18095
18103
|
* @unofficial
|
|
18096
18104
|
*/
|
|
18097
|
-
export interface BasesLink {
|
|
18105
|
+
export interface BasesLink extends BasesControl {
|
|
18098
18106
|
/**
|
|
18099
18107
|
* The link.
|
|
18100
18108
|
*/
|
|
@@ -18123,11 +18131,18 @@ export interface BasesLinkConstructor extends ConstructorBase<[
|
|
|
18123
18131
|
* @public
|
|
18124
18132
|
* @unofficial
|
|
18125
18133
|
*/
|
|
18126
|
-
export interface BasesList {
|
|
18134
|
+
export interface BasesList extends BasesControl {
|
|
18127
18135
|
/**
|
|
18128
|
-
* The
|
|
18136
|
+
* The controls.
|
|
18129
18137
|
*/
|
|
18130
|
-
data:
|
|
18138
|
+
data: BasesControl[];
|
|
18139
|
+
/**
|
|
18140
|
+
* Gets a value by key.
|
|
18141
|
+
*
|
|
18142
|
+
* @param key - The key.
|
|
18143
|
+
* @returns The value.
|
|
18144
|
+
*/
|
|
18145
|
+
get(key: string): BasesControl;
|
|
18131
18146
|
}
|
|
18132
18147
|
/**
|
|
18133
18148
|
* Bases local.
|
|
@@ -18456,6 +18471,10 @@ export interface BasesView extends TextFileView {
|
|
|
18456
18471
|
* The query for the view.
|
|
18457
18472
|
*/
|
|
18458
18473
|
query: BasesQuery;
|
|
18474
|
+
/**
|
|
18475
|
+
* Get view type.
|
|
18476
|
+
*/
|
|
18477
|
+
getViewType(): typeof ViewType.Bases;
|
|
18459
18478
|
/**
|
|
18460
18479
|
* Called when the layout of the view changes.
|
|
18461
18480
|
*/
|
|
@@ -8822,6 +8822,23 @@
|
|
|
8822
8822
|
}
|
|
8823
8823
|
]
|
|
8824
8824
|
},
|
|
8825
|
+
{
|
|
8826
|
+
"kind": "Interface",
|
|
8827
|
+
"canonicalReference": "obsidian-typings!BasesControl:interface",
|
|
8828
|
+
"docComment": "/**\n * Bases control.\n *\n * @unofficial\n *\n * @public\n */\n",
|
|
8829
|
+
"excerptTokens": [
|
|
8830
|
+
{
|
|
8831
|
+
"kind": "Content",
|
|
8832
|
+
"text": "export interface BasesControl "
|
|
8833
|
+
}
|
|
8834
|
+
],
|
|
8835
|
+
"fileUrlPath": "src/obsidian/internals/InternalPlugins/Bases/BasesControl.d.ts",
|
|
8836
|
+
"releaseTag": "Public",
|
|
8837
|
+
"name": "BasesControl",
|
|
8838
|
+
"preserveMemberOrder": false,
|
|
8839
|
+
"members": [],
|
|
8840
|
+
"extendsTokenRanges": []
|
|
8841
|
+
},
|
|
8825
8842
|
{
|
|
8826
8843
|
"kind": "Interface",
|
|
8827
8844
|
"canonicalReference": "obsidian-typings!BasesController:interface",
|
|
@@ -10762,7 +10779,16 @@
|
|
|
10762
10779
|
"excerptTokens": [
|
|
10763
10780
|
{
|
|
10764
10781
|
"kind": "Content",
|
|
10765
|
-
"text": "export interface BasesFile "
|
|
10782
|
+
"text": "export interface BasesFile extends "
|
|
10783
|
+
},
|
|
10784
|
+
{
|
|
10785
|
+
"kind": "Reference",
|
|
10786
|
+
"text": "BasesControl",
|
|
10787
|
+
"canonicalReference": "obsidian-typings!BasesControl:interface"
|
|
10788
|
+
},
|
|
10789
|
+
{
|
|
10790
|
+
"kind": "Content",
|
|
10791
|
+
"text": " "
|
|
10766
10792
|
}
|
|
10767
10793
|
],
|
|
10768
10794
|
"fileUrlPath": "src/obsidian/internals/InternalPlugins/Bases/BasesFile.d.ts",
|
|
@@ -10800,7 +10826,12 @@
|
|
|
10800
10826
|
"name": "getLinks"
|
|
10801
10827
|
}
|
|
10802
10828
|
],
|
|
10803
|
-
"extendsTokenRanges": [
|
|
10829
|
+
"extendsTokenRanges": [
|
|
10830
|
+
{
|
|
10831
|
+
"startIndex": 1,
|
|
10832
|
+
"endIndex": 2
|
|
10833
|
+
}
|
|
10834
|
+
]
|
|
10804
10835
|
},
|
|
10805
10836
|
{
|
|
10806
10837
|
"kind": "Interface",
|
|
@@ -12682,7 +12713,16 @@
|
|
|
12682
12713
|
"excerptTokens": [
|
|
12683
12714
|
{
|
|
12684
12715
|
"kind": "Content",
|
|
12685
|
-
"text": "export interface BasesLink "
|
|
12716
|
+
"text": "export interface BasesLink extends "
|
|
12717
|
+
},
|
|
12718
|
+
{
|
|
12719
|
+
"kind": "Reference",
|
|
12720
|
+
"text": "BasesControl",
|
|
12721
|
+
"canonicalReference": "obsidian-typings!BasesControl:interface"
|
|
12722
|
+
},
|
|
12723
|
+
{
|
|
12724
|
+
"kind": "Content",
|
|
12725
|
+
"text": " "
|
|
12686
12726
|
}
|
|
12687
12727
|
],
|
|
12688
12728
|
"fileUrlPath": "src/obsidian/internals/InternalPlugins/Bases/BasesLink.d.ts",
|
|
@@ -12718,7 +12758,12 @@
|
|
|
12718
12758
|
}
|
|
12719
12759
|
}
|
|
12720
12760
|
],
|
|
12721
|
-
"extendsTokenRanges": [
|
|
12761
|
+
"extendsTokenRanges": [
|
|
12762
|
+
{
|
|
12763
|
+
"startIndex": 1,
|
|
12764
|
+
"endIndex": 2
|
|
12765
|
+
}
|
|
12766
|
+
]
|
|
12722
12767
|
},
|
|
12723
12768
|
{
|
|
12724
12769
|
"kind": "Interface",
|
|
@@ -12860,7 +12905,16 @@
|
|
|
12860
12905
|
"excerptTokens": [
|
|
12861
12906
|
{
|
|
12862
12907
|
"kind": "Content",
|
|
12863
|
-
"text": "export interface BasesList "
|
|
12908
|
+
"text": "export interface BasesList extends "
|
|
12909
|
+
},
|
|
12910
|
+
{
|
|
12911
|
+
"kind": "Reference",
|
|
12912
|
+
"text": "BasesControl",
|
|
12913
|
+
"canonicalReference": "obsidian-typings!BasesControl:interface"
|
|
12914
|
+
},
|
|
12915
|
+
{
|
|
12916
|
+
"kind": "Content",
|
|
12917
|
+
"text": " "
|
|
12864
12918
|
}
|
|
12865
12919
|
],
|
|
12866
12920
|
"fileUrlPath": "src/obsidian/internals/InternalPlugins/Bases/BasesList.d.ts",
|
|
@@ -12871,7 +12925,7 @@
|
|
|
12871
12925
|
{
|
|
12872
12926
|
"kind": "PropertySignature",
|
|
12873
12927
|
"canonicalReference": "obsidian-typings!BasesList#data:member",
|
|
12874
|
-
"docComment": "/**\n * The
|
|
12928
|
+
"docComment": "/**\n * The controls.\n */\n",
|
|
12875
12929
|
"excerptTokens": [
|
|
12876
12930
|
{
|
|
12877
12931
|
"kind": "Content",
|
|
@@ -12879,8 +12933,8 @@
|
|
|
12879
12933
|
},
|
|
12880
12934
|
{
|
|
12881
12935
|
"kind": "Reference",
|
|
12882
|
-
"text": "
|
|
12883
|
-
"canonicalReference": "obsidian-typings!
|
|
12936
|
+
"text": "BasesControl",
|
|
12937
|
+
"canonicalReference": "obsidian-typings!BasesControl:interface"
|
|
12884
12938
|
},
|
|
12885
12939
|
{
|
|
12886
12940
|
"kind": "Content",
|
|
@@ -12899,9 +12953,60 @@
|
|
|
12899
12953
|
"startIndex": 1,
|
|
12900
12954
|
"endIndex": 3
|
|
12901
12955
|
}
|
|
12956
|
+
},
|
|
12957
|
+
{
|
|
12958
|
+
"kind": "MethodSignature",
|
|
12959
|
+
"canonicalReference": "obsidian-typings!BasesList#get:member(1)",
|
|
12960
|
+
"docComment": "/**\n * Gets a value by key.\n *\n * @param key - The key.\n *\n * @returns The value.\n */\n",
|
|
12961
|
+
"excerptTokens": [
|
|
12962
|
+
{
|
|
12963
|
+
"kind": "Content",
|
|
12964
|
+
"text": "get(key: "
|
|
12965
|
+
},
|
|
12966
|
+
{
|
|
12967
|
+
"kind": "Content",
|
|
12968
|
+
"text": "string"
|
|
12969
|
+
},
|
|
12970
|
+
{
|
|
12971
|
+
"kind": "Content",
|
|
12972
|
+
"text": "): "
|
|
12973
|
+
},
|
|
12974
|
+
{
|
|
12975
|
+
"kind": "Reference",
|
|
12976
|
+
"text": "BasesControl",
|
|
12977
|
+
"canonicalReference": "obsidian-typings!BasesControl:interface"
|
|
12978
|
+
},
|
|
12979
|
+
{
|
|
12980
|
+
"kind": "Content",
|
|
12981
|
+
"text": ";"
|
|
12982
|
+
}
|
|
12983
|
+
],
|
|
12984
|
+
"isOptional": false,
|
|
12985
|
+
"returnTypeTokenRange": {
|
|
12986
|
+
"startIndex": 3,
|
|
12987
|
+
"endIndex": 4
|
|
12988
|
+
},
|
|
12989
|
+
"releaseTag": "Public",
|
|
12990
|
+
"overloadIndex": 1,
|
|
12991
|
+
"parameters": [
|
|
12992
|
+
{
|
|
12993
|
+
"parameterName": "key",
|
|
12994
|
+
"parameterTypeTokenRange": {
|
|
12995
|
+
"startIndex": 1,
|
|
12996
|
+
"endIndex": 2
|
|
12997
|
+
},
|
|
12998
|
+
"isOptional": false
|
|
12999
|
+
}
|
|
13000
|
+
],
|
|
13001
|
+
"name": "get"
|
|
12902
13002
|
}
|
|
12903
13003
|
],
|
|
12904
|
-
"extendsTokenRanges": [
|
|
13004
|
+
"extendsTokenRanges": [
|
|
13005
|
+
{
|
|
13006
|
+
"startIndex": 1,
|
|
13007
|
+
"endIndex": 2
|
|
13008
|
+
}
|
|
13009
|
+
]
|
|
12905
13010
|
},
|
|
12906
13011
|
{
|
|
12907
13012
|
"kind": "Interface",
|
|
@@ -15381,6 +15486,39 @@
|
|
|
15381
15486
|
"endIndex": 2
|
|
15382
15487
|
}
|
|
15383
15488
|
},
|
|
15489
|
+
{
|
|
15490
|
+
"kind": "MethodSignature",
|
|
15491
|
+
"canonicalReference": "obsidian-typings!BasesView#getViewType:member(1)",
|
|
15492
|
+
"docComment": "/**\n * Get view type.\n */\n",
|
|
15493
|
+
"excerptTokens": [
|
|
15494
|
+
{
|
|
15495
|
+
"kind": "Content",
|
|
15496
|
+
"text": "getViewType(): "
|
|
15497
|
+
},
|
|
15498
|
+
{
|
|
15499
|
+
"kind": "Content",
|
|
15500
|
+
"text": "typeof "
|
|
15501
|
+
},
|
|
15502
|
+
{
|
|
15503
|
+
"kind": "Reference",
|
|
15504
|
+
"text": "ViewType.Bases",
|
|
15505
|
+
"canonicalReference": "obsidian-typings!~__type#Bases:member"
|
|
15506
|
+
},
|
|
15507
|
+
{
|
|
15508
|
+
"kind": "Content",
|
|
15509
|
+
"text": ";"
|
|
15510
|
+
}
|
|
15511
|
+
],
|
|
15512
|
+
"isOptional": false,
|
|
15513
|
+
"returnTypeTokenRange": {
|
|
15514
|
+
"startIndex": 1,
|
|
15515
|
+
"endIndex": 3
|
|
15516
|
+
},
|
|
15517
|
+
"releaseTag": "Public",
|
|
15518
|
+
"overloadIndex": 1,
|
|
15519
|
+
"parameters": [],
|
|
15520
|
+
"name": "getViewType"
|
|
15521
|
+
},
|
|
15384
15522
|
{
|
|
15385
15523
|
"kind": "PropertySignature",
|
|
15386
15524
|
"canonicalReference": "obsidian-typings!BasesView#lastData:member",
|