obsidian-typings 2.3.3 → 2.3.4
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/implementations.d.ts +7 -2
- package/dist/obsidian-typings.api.json +76 -3
- package/dist/types.d.ts +12 -7
- package/package.json +1 -1
|
@@ -2028,7 +2028,7 @@ export interface PropertyWidget<T> {
|
|
|
2028
2028
|
* @todo Documentation incomplete
|
|
2029
2029
|
*/
|
|
2030
2030
|
/** @public */
|
|
2031
|
-
export type PropertyWidgetType = "aliases" | "checkbox" | "date" | "datetime" | "multitext" | "number" | "tags" | "text" |
|
|
2031
|
+
export type PropertyWidgetType = "aliases" | "checkbox" | "date" | "datetime" | "multitext" | "number" | "tags" | "text" | string;
|
|
2032
2032
|
/** @public */
|
|
2033
2033
|
export interface MetadataTypeManagerPropertiesRecord extends Record<string, PropertyInfo> {
|
|
2034
2034
|
}
|
|
@@ -2036,7 +2036,12 @@ export interface MetadataTypeManagerPropertiesRecord extends Record<string, Prop
|
|
|
2036
2036
|
export interface MetadataTypeManagerRegisteredTypeWidgetsRecord extends Record<PropertyWidgetType, PropertyWidget<unknown>> {
|
|
2037
2037
|
}
|
|
2038
2038
|
/** @public */
|
|
2039
|
-
export interface
|
|
2039
|
+
export interface PropertyWidgetEntry {
|
|
2040
|
+
name: string;
|
|
2041
|
+
type: PropertyWidgetType;
|
|
2042
|
+
}
|
|
2043
|
+
/** @public */
|
|
2044
|
+
export interface MetadataTypeManagerTypesRecord extends Record<string, PropertyWidgetEntry> {
|
|
2040
2045
|
}
|
|
2041
2046
|
/** @public */
|
|
2042
2047
|
export interface MetadataTypeManager extends Events {
|
|
@@ -45566,8 +45566,8 @@
|
|
|
45566
45566
|
},
|
|
45567
45567
|
{
|
|
45568
45568
|
"kind": "Reference",
|
|
45569
|
-
"text": "
|
|
45570
|
-
"canonicalReference": "obsidian-typings!
|
|
45569
|
+
"text": "PropertyWidgetEntry",
|
|
45570
|
+
"canonicalReference": "obsidian-typings!PropertyWidgetEntry:interface"
|
|
45571
45571
|
},
|
|
45572
45572
|
{
|
|
45573
45573
|
"kind": "Content",
|
|
@@ -50702,6 +50702,79 @@
|
|
|
50702
50702
|
],
|
|
50703
50703
|
"extendsTokenRanges": []
|
|
50704
50704
|
},
|
|
50705
|
+
{
|
|
50706
|
+
"kind": "Interface",
|
|
50707
|
+
"canonicalReference": "obsidian-typings!PropertyWidgetEntry:interface",
|
|
50708
|
+
"docComment": "/**\n * @public\n */\n",
|
|
50709
|
+
"excerptTokens": [
|
|
50710
|
+
{
|
|
50711
|
+
"kind": "Content",
|
|
50712
|
+
"text": "export interface PropertyWidgetEntry "
|
|
50713
|
+
}
|
|
50714
|
+
],
|
|
50715
|
+
"fileUrlPath": "src/obsidian/internals/PropertyWidgetEntry.d.ts",
|
|
50716
|
+
"releaseTag": "Public",
|
|
50717
|
+
"name": "PropertyWidgetEntry",
|
|
50718
|
+
"preserveMemberOrder": false,
|
|
50719
|
+
"members": [
|
|
50720
|
+
{
|
|
50721
|
+
"kind": "PropertySignature",
|
|
50722
|
+
"canonicalReference": "obsidian-typings!PropertyWidgetEntry#name:member",
|
|
50723
|
+
"docComment": "",
|
|
50724
|
+
"excerptTokens": [
|
|
50725
|
+
{
|
|
50726
|
+
"kind": "Content",
|
|
50727
|
+
"text": "name: "
|
|
50728
|
+
},
|
|
50729
|
+
{
|
|
50730
|
+
"kind": "Content",
|
|
50731
|
+
"text": "string"
|
|
50732
|
+
},
|
|
50733
|
+
{
|
|
50734
|
+
"kind": "Content",
|
|
50735
|
+
"text": ";"
|
|
50736
|
+
}
|
|
50737
|
+
],
|
|
50738
|
+
"isReadonly": false,
|
|
50739
|
+
"isOptional": false,
|
|
50740
|
+
"releaseTag": "Public",
|
|
50741
|
+
"name": "name",
|
|
50742
|
+
"propertyTypeTokenRange": {
|
|
50743
|
+
"startIndex": 1,
|
|
50744
|
+
"endIndex": 2
|
|
50745
|
+
}
|
|
50746
|
+
},
|
|
50747
|
+
{
|
|
50748
|
+
"kind": "PropertySignature",
|
|
50749
|
+
"canonicalReference": "obsidian-typings!PropertyWidgetEntry#type:member",
|
|
50750
|
+
"docComment": "",
|
|
50751
|
+
"excerptTokens": [
|
|
50752
|
+
{
|
|
50753
|
+
"kind": "Content",
|
|
50754
|
+
"text": "type: "
|
|
50755
|
+
},
|
|
50756
|
+
{
|
|
50757
|
+
"kind": "Reference",
|
|
50758
|
+
"text": "PropertyWidgetType",
|
|
50759
|
+
"canonicalReference": "obsidian-typings!PropertyWidgetType:type"
|
|
50760
|
+
},
|
|
50761
|
+
{
|
|
50762
|
+
"kind": "Content",
|
|
50763
|
+
"text": ";"
|
|
50764
|
+
}
|
|
50765
|
+
],
|
|
50766
|
+
"isReadonly": false,
|
|
50767
|
+
"isOptional": false,
|
|
50768
|
+
"releaseTag": "Public",
|
|
50769
|
+
"name": "type",
|
|
50770
|
+
"propertyTypeTokenRange": {
|
|
50771
|
+
"startIndex": 1,
|
|
50772
|
+
"endIndex": 2
|
|
50773
|
+
}
|
|
50774
|
+
}
|
|
50775
|
+
],
|
|
50776
|
+
"extendsTokenRanges": []
|
|
50777
|
+
},
|
|
50705
50778
|
{
|
|
50706
50779
|
"kind": "TypeAlias",
|
|
50707
50780
|
"canonicalReference": "obsidian-typings!PropertyWidgetType:type",
|
|
@@ -50713,7 +50786,7 @@
|
|
|
50713
50786
|
},
|
|
50714
50787
|
{
|
|
50715
50788
|
"kind": "Content",
|
|
50716
|
-
"text": "| 'aliases'\n | 'checkbox'\n | 'date'\n | 'datetime'\n | 'multitext'\n | 'number'\n | 'tags'\n | 'text'\n |
|
|
50789
|
+
"text": "| 'aliases'\n | 'checkbox'\n | 'date'\n | 'datetime'\n | 'multitext'\n | 'number'\n | 'tags'\n | 'text'\n | string"
|
|
50717
50790
|
},
|
|
50718
50791
|
{
|
|
50719
50792
|
"kind": "Content",
|
package/dist/types.d.ts
CHANGED
|
@@ -2483,7 +2483,7 @@ export interface PropertyWidget<T> {
|
|
|
2483
2483
|
* @todo Documentation incomplete
|
|
2484
2484
|
*/
|
|
2485
2485
|
/** @public */
|
|
2486
|
-
export type PropertyWidgetType = "aliases" | "checkbox" | "date" | "datetime" | "multitext" | "number" | "tags" | "text" |
|
|
2486
|
+
export type PropertyWidgetType = "aliases" | "checkbox" | "date" | "datetime" | "multitext" | "number" | "tags" | "text" | string;
|
|
2487
2487
|
/** @public */
|
|
2488
2488
|
export interface MetadataTypeManagerPropertiesRecord extends Record<string, PropertyInfo> {
|
|
2489
2489
|
}
|
|
@@ -2491,7 +2491,12 @@ export interface MetadataTypeManagerPropertiesRecord extends Record<string, Prop
|
|
|
2491
2491
|
export interface MetadataTypeManagerRegisteredTypeWidgetsRecord extends Record<PropertyWidgetType, PropertyWidget<unknown>> {
|
|
2492
2492
|
}
|
|
2493
2493
|
/** @public */
|
|
2494
|
-
export interface
|
|
2494
|
+
export interface PropertyWidgetEntry {
|
|
2495
|
+
name: string;
|
|
2496
|
+
type: PropertyWidgetType;
|
|
2497
|
+
}
|
|
2498
|
+
/** @public */
|
|
2499
|
+
export interface MetadataTypeManagerTypesRecord extends Record<string, PropertyWidgetEntry> {
|
|
2495
2500
|
}
|
|
2496
2501
|
/** @public */
|
|
2497
2502
|
export interface MetadataTypeManager extends Events {
|
|
@@ -7433,11 +7438,6 @@ declare global {
|
|
|
7433
7438
|
*/
|
|
7434
7439
|
var wf: typeof Object.defineProperty;
|
|
7435
7440
|
}
|
|
7436
|
-
declare global {
|
|
7437
|
-
interface DomElementInfo {
|
|
7438
|
-
[eventName: `on${string}`]: EventListenerOrEventListenerObject;
|
|
7439
|
-
}
|
|
7440
|
-
}
|
|
7441
7441
|
/** @public */
|
|
7442
7442
|
export interface IFramedMarkdownEditor extends MarkdownScrollableEditView {
|
|
7443
7443
|
/**
|
|
@@ -7809,6 +7809,11 @@ export interface FileSuggest<T> extends EditorSuggest<T> {
|
|
|
7809
7809
|
*/
|
|
7810
7810
|
suggestManager: FileSuggestManager;
|
|
7811
7811
|
}
|
|
7812
|
+
declare global {
|
|
7813
|
+
interface DomElementInfo {
|
|
7814
|
+
[eventName: `on${string}`]: EventListenerOrEventListenerObject;
|
|
7815
|
+
}
|
|
7816
|
+
}
|
|
7812
7817
|
/** @todo Documentation incomplete */
|
|
7813
7818
|
/** @public */
|
|
7814
7819
|
export interface FilePropertiesView extends InfoFileView {
|