(file: TFile)
| 41 | } |
| 42 | |
| 43 | public async getPropertiesInFile(file: TFile): Promise<Property[]> { |
| 44 | const yaml = await this.parser.parseFrontmatter(file); |
| 45 | const inlineFields = await this.parser.parseInlineFields(file); |
| 46 | const tags = await this.parser.getTagsForFile(file); |
| 47 | |
| 48 | return [...tags, ...yaml, ...inlineFields]; |
| 49 | } |
| 50 | |
| 51 | public async addYamlProp(propName: string, propValue: unknown, file: TFile): Promise<void> { |
| 52 | // Refuse reserved object-machinery keys before any work: assigning |
no test coverage detected