Skip to content

Commit

Permalink
DRY up DefaultCreateDateTagNames and CapturedAtTagNames. Rebuild docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Oct 2, 2023
1 parent 52be3b4 commit 816af93
Show file tree
Hide file tree
Showing 21 changed files with 121 additions and 64 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ vendored versions of ExifTool match the version that they vendor.
timezone. Code was refactored to do this in a single pass.
- Timezone extraction and normalization was improved.

- 📦 Add `creationDate` to [CapturedAtTagNames](https://photostructure.github.io/exiftool-vendored.js/variables/CapturedAtTagNames.html). [See PR#159](https://github.com/photostructure/exiftool-vendored.js/pull/159).

### v23.1.0

- 🌱 ExifTool upgraded to [v12.67](https://exiftool.org/history.html#v12.67)
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions docs/classes/ExifTool.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/interfaces/ExifToolOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ <h3 class="tsd-anchor-link"><span>infer<wbr/>Timezone<wbr/>From<wbr/>Datestamp<w
incorrectly set.</p>
<p>This setting is only in play if <a href="ExifToolOptions.html#inferTimezoneFromDatestamps" class="tsd-kind-property">inferTimezoneFromDatestamps</a> has
been overridden to be <code>true</code>.</p>
<p>This defaults to DefaultCreateDatestampNames</p>
<p>This defaults to DefaultCreateDateTagNames</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/ShortcutTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">ShortcutTags</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L132">src/ExifTool.ts:132</a></li></ul></aside>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L133">src/ExifTool.ts:133</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand All @@ -45,7 +45,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L139">src/ExifTool.ts:139</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L140">src/ExifTool.ts:140</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
6 changes: 3 additions & 3 deletions docs/interfaces/StructAppendTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">StructAppendTags</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L163">src/ExifTool.ts:163</a></li></ul></aside>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L164">src/ExifTool.ts:164</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand All @@ -40,15 +40,15 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L167">src/ExifTool.ts:167</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L168">src/ExifTool.ts:168</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="Versions_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Versions+</span><a href="#Versions_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Versions+</span><span class="tsd-signature-symbol">?:</span> <a href="Version.html" class="tsd-signature-type tsd-kind-interface">Version</a><span class="tsd-signature-symbol"> | </span><a href="Version.html" class="tsd-signature-type tsd-kind-interface">Version</a><span class="tsd-signature-symbol">[]</span></div>
<div class="tsd-comment tsd-typography"><p>Use this to <strong>append</strong> to existing Version records.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L171">src/ExifTool.ts:171</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L172">src/ExifTool.ts:172</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
3 changes: 2 additions & 1 deletion docs/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ <h3 class="tsd-index-heading">Type Aliases</h3>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Variables</h3>
<div class="tsd-index-list"><a href="variables/DefaultExifToolOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Default<wbr/>Exif<wbr/>Tool<wbr/>Options</span></a>
<div class="tsd-index-list"><a href="variables/CapturedAtTagNames.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Captured<wbr/>At<wbr/>Tag<wbr/>Names</span></a>
<a href="variables/DefaultExifToolOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Default<wbr/>Exif<wbr/>Tool<wbr/>Options</span></a>
<a href="variables/DefaultExiftoolArgs.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Default<wbr/>Exiftool<wbr/>Args</span></a>
<a href="variables/DefaultMaxProcs.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Default<wbr/>Max<wbr/>Procs</span></a>
<a href="variables/DefaultReadTaskOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Default<wbr/>Read<wbr/>Task<wbr/>Options</span></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/types/AdditionalWriteTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h4>Type declaration</h4>
<li class="tsd-parameter">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">Orientation#</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L142">src/ExifTool.ts:142</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L143">src/ExifTool.ts:143</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
2 changes: 1 addition & 1 deletion docs/types/Defined.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h4>Type Parameters</h4>
<li>
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L157">src/ExifTool.ts:157</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L158">src/ExifTool.ts:158</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
2 changes: 1 addition & 1 deletion docs/types/DefinedOrNullValued.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h4>Type Parameters</h4>
<li>
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L159">src/ExifTool.ts:159</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L160">src/ExifTool.ts:160</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
2 changes: 1 addition & 1 deletion docs/types/ExpandedDateTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<h1>Type alias ExpandedDateTags</h1></div>
<div class="tsd-signature"><span class="tsd-kind-type-alias">Expanded<wbr/>Date<wbr/>Tags</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/><span>    </span><span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol"> in </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/Tags.html" class="tsd-signature-type tsd-kind-interface">Tags</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><a href="../interfaces/Tags.html" class="tsd-signature-type tsd-kind-interface">Tags</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">number</span><br/><span>        </span><span class="tsd-signature-symbol">? </span><span class="tsd-signature-type">number</span><br/><span>        </span><span class="tsd-signature-symbol">: </span><a href="../interfaces/Tags.html" class="tsd-signature-type tsd-kind-interface">Tags</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> extends </span><a href="../classes/ExifDateTime.html" class="tsd-signature-type tsd-kind-class">ExifDateTime</a><br/><span>            </span><span class="tsd-signature-symbol">? </span><a href="../classes/ExifDate.html" class="tsd-signature-type tsd-kind-class">ExifDate</a><span class="tsd-signature-symbol"> | </span><a href="../classes/ExifDateTime.html" class="tsd-signature-type tsd-kind-class">ExifDateTime</a><br/><span>            </span><span class="tsd-signature-symbol">: </span><a href="../interfaces/Tags.html" class="tsd-signature-type tsd-kind-interface">Tags</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L147">src/ExifTool.ts:147</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/ExifTool.ts#L148">src/ExifTool.ts:148</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit 816af93

Please sign in to comment.