@secrecy/lib 1.0.0-dev.21 → 1.0.0-dev.25

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.
Files changed (158) hide show
  1. package/CHANGELOG.md +178 -0
  2. package/README.md +0 -1
  3. package/__tests__/client/client.test.ts +81 -0
  4. package/__tests__/client/folder.test.ts +302 -0
  5. package/__tests__/client/mail.test.ts +476 -0
  6. package/__tests__/client/timing.test.ts +35 -0
  7. package/__tests__/client/utils.ts +41 -0
  8. package/__tests__/client/vFile.test.ts +207 -0
  9. package/__tests__/index.test.ts +171 -0
  10. package/commitlint.config.cjs +3 -0
  11. package/dist/index.d.ts +3857 -0
  12. package/dist/index.js +255 -0
  13. package/dist/index.js.map +1 -0
  14. package/dist/index.mjs +255 -0
  15. package/dist/index.mjs.map +1 -0
  16. package/docs/assets/css/main.css +2660 -0
  17. package/docs/assets/images/icons.png +0 -0
  18. package/docs/assets/images/icons@2x.png +0 -0
  19. package/docs/assets/images/widgets.png +0 -0
  20. package/docs/assets/images/widgets@2x.png +0 -0
  21. package/docs/assets/js/main.js +248 -0
  22. package/docs/assets/js/search.js +1 -0
  23. package/docs/classes/baseclient.baseclient-1.html +1165 -0
  24. package/docs/classes/client.secrecyclient.html +2527 -0
  25. package/docs/enums/index.sodium.base64_variants.html +205 -0
  26. package/docs/index.html +198 -0
  27. package/docs/interfaces/client_types.draftmail.html +335 -0
  28. package/docs/interfaces/client_types.filecontentbase.html +231 -0
  29. package/docs/interfaces/client_types.filecontentcloud.html +244 -0
  30. package/docs/interfaces/client_types.filecontentreceivedmail.html +244 -0
  31. package/docs/interfaces/client_types.filecontentsentmail.html +230 -0
  32. package/docs/interfaces/client_types.receivedmail.html +363 -0
  33. package/docs/interfaces/client_types.sentmail.html +335 -0
  34. package/docs/interfaces/crypto.keypair.html +202 -0
  35. package/docs/interfaces/index.sodium.cryptobox.html +185 -0
  36. package/docs/interfaces/index.sodium.cryptokx.html +185 -0
  37. package/docs/interfaces/index.sodium.keypair.html +199 -0
  38. package/docs/interfaces/index.sodium.messagetag.html +185 -0
  39. package/docs/interfaces/index.sodium.secretbox.html +185 -0
  40. package/docs/interfaces/index.sodium.stateaddress.html +171 -0
  41. package/docs/interfaces/index.sodium.stringcryptobox.html +185 -0
  42. package/docs/interfaces/index.sodium.stringcryptokx.html +185 -0
  43. package/docs/interfaces/index.sodium.stringkeypair.html +199 -0
  44. package/docs/interfaces/index.sodium.stringmessagetag.html +185 -0
  45. package/docs/interfaces/index.sodium.stringsecretbox.html +185 -0
  46. package/docs/interfaces/utils_store_buddy.storebuddy.html +333 -0
  47. package/docs/modules/baseclient.html +929 -0
  48. package/docs/modules/cache.html +185 -0
  49. package/docs/modules/client.html +207 -0
  50. package/docs/modules/client_convert_file.html +216 -0
  51. package/docs/modules/client_convert_folder.html +303 -0
  52. package/docs/modules/client_convert_vfile.html +216 -0
  53. package/docs/modules/client_helpers.html +311 -0
  54. package/docs/modules/client_storage.html +167 -0
  55. package/docs/modules/client_types.html +1227 -0
  56. package/docs/modules/client_types_file.html +233 -0
  57. package/docs/modules/client_types_filesonusersonapplications.html +168 -0
  58. package/docs/modules/client_types_folder.html +383 -0
  59. package/docs/modules/client_types_inputs.html +263 -0
  60. package/docs/modules/client_types_mail.html +181 -0
  61. package/docs/modules/client_types_queries.html +199 -0
  62. package/docs/modules/client_types_userappsettings.html +163 -0
  63. package/docs/modules/client_types_vfile.html +364 -0
  64. package/docs/modules/crypto.html +366 -0
  65. package/docs/modules/crypto_file.html +344 -0
  66. package/docs/modules/index.html +779 -0
  67. package/docs/modules/index.sodium.html +6039 -0
  68. package/docs/modules/minify.html +183 -0
  69. package/docs/modules/minify_lz4.html +279 -0
  70. package/docs/modules/popuptools.html +259 -0
  71. package/docs/modules/sodium.html +167 -0
  72. package/docs/modules/utils.html +219 -0
  73. package/docs/modules/utils_store_buddy.html +208 -0
  74. package/docs/modules/utils_time.html +330 -0
  75. package/docs/modules/worker_md5.html +156 -0
  76. package/docs/modules/worker_sodium.html +231 -0
  77. package/docs/modules/worker_workercodes.html +157 -0
  78. package/docs/modules.html +235 -0
  79. package/index.html +21 -0
  80. package/jest.config.ts +27 -0
  81. package/jest.setup.ts +6 -0
  82. package/package.json +39 -47
  83. package/release.config.cjs +15 -0
  84. package/tsup.config.ts +23 -0
  85. package/lib/BaseClient.d.ts +0 -274
  86. package/lib/BaseClient.js +0 -1837
  87. package/lib/PopupTools.d.ts +0 -17
  88. package/lib/PopupTools.js +0 -213
  89. package/lib/ZeusThunder.d.ts +0 -2
  90. package/lib/ZeusThunder.js +0 -112
  91. package/lib/cache.d.ts +0 -7
  92. package/lib/cache.js +0 -5
  93. package/lib/client/admin/index.d.ts +0 -11
  94. package/lib/client/admin/index.js +0 -163
  95. package/lib/client/convert/file.d.ts +0 -5
  96. package/lib/client/convert/file.js +0 -39
  97. package/lib/client/convert/folder.d.ts +0 -8
  98. package/lib/client/convert/folder.js +0 -264
  99. package/lib/client/convert/mail.d.ts +0 -3
  100. package/lib/client/convert/mail.js +0 -46
  101. package/lib/client/convert/vFile.d.ts +0 -5
  102. package/lib/client/convert/vFile.js +0 -164
  103. package/lib/client/helpers.d.ts +0 -23
  104. package/lib/client/helpers.js +0 -116
  105. package/lib/client/index.d.ts +0 -172
  106. package/lib/client/index.js +0 -4501
  107. package/lib/client/storage.d.ts +0 -7
  108. package/lib/client/storage.js +0 -12
  109. package/lib/client/types/File.d.ts +0 -21
  110. package/lib/client/types/File.js +0 -3
  111. package/lib/client/types/FilesOnUsersOnApplications.d.ts +0 -9
  112. package/lib/client/types/FilesOnUsersOnApplications.js +0 -3
  113. package/lib/client/types/Folder.d.ts +0 -68
  114. package/lib/client/types/Folder.js +0 -7
  115. package/lib/client/types/Inputs.d.ts +0 -21
  116. package/lib/client/types/Inputs.js +0 -3
  117. package/lib/client/types/UserAppNotifications.d.ts +0 -6
  118. package/lib/client/types/UserAppNotifications.js +0 -3
  119. package/lib/client/types/UserAppSettings.d.ts +0 -7
  120. package/lib/client/types/UserAppSettings.js +0 -3
  121. package/lib/client/types/VFile.d.ts +0 -62
  122. package/lib/client/types/VFile.js +0 -4
  123. package/lib/client/types/index.d.ts +0 -154
  124. package/lib/client/types/index.js +0 -10
  125. package/lib/client/types/queries.d.ts +0 -535
  126. package/lib/client/types/queries.js +0 -192
  127. package/lib/crypto/file.d.ts +0 -14
  128. package/lib/crypto/file.js +0 -291
  129. package/lib/crypto/index.d.ts +0 -12
  130. package/lib/crypto/index.js +0 -37
  131. package/lib/error.d.ts +0 -30
  132. package/lib/error.js +0 -3
  133. package/lib/index.d.ts +0 -13
  134. package/lib/index.js +0 -42
  135. package/lib/minify/index.d.ts +0 -2
  136. package/lib/minify/index.js +0 -28
  137. package/lib/minify/lz4.d.ts +0 -5
  138. package/lib/minify/lz4.js +0 -633
  139. package/lib/sodium.d.ts +0 -3
  140. package/lib/sodium.js +0 -28
  141. package/lib/utils/store-buddy.d.ts +0 -14
  142. package/lib/utils/store-buddy.js +0 -69
  143. package/lib/utils/time.d.ts +0 -10
  144. package/lib/utils/time.js +0 -22
  145. package/lib/utils.d.ts +0 -4
  146. package/lib/utils.js +0 -188
  147. package/lib/worker/__mock__/sodium.worker.d.ts +0 -19
  148. package/lib/worker/__mock__/sodium.worker.js +0 -46
  149. package/lib/worker/md5.d.ts +0 -1
  150. package/lib/worker/md5.js +0 -43
  151. package/lib/worker/sodium.d.ts +0 -3
  152. package/lib/worker/sodium.js +0 -155
  153. package/lib/worker/workerCodes.d.ts +0 -2
  154. package/lib/worker/workerCodes.js +0 -3
  155. package/lib/zeus/const.d.ts +0 -2
  156. package/lib/zeus/const.js +0 -1895
  157. package/lib/zeus/index.d.ts +0 -2798
  158. package/lib/zeus/index.js +0 -549
@@ -0,0 +1,303 @@
1
+ <!doctype html>
2
+ <html class="default no-js">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <title>client/convert/folder | @secrecy/lib</title>
7
+ <meta name="description" content="Documentation for @secrecy/lib">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="stylesheet" href="../assets/css/main.css">
10
+ <script async src="../assets/js/search.js" id="search-script"></script>
11
+ </head>
12
+ <body>
13
+ <header>
14
+ <div class="tsd-page-toolbar">
15
+ <div class="container">
16
+ <div class="table-wrap">
17
+ <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
18
+ <div class="field">
19
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
20
+ <input id="tsd-search-field" type="text" />
21
+ </div>
22
+ <ul class="results">
23
+ <li class="state loading">Preparing search index...</li>
24
+ <li class="state failure">The search index is not available</li>
25
+ </ul>
26
+ <a href="../index.html" class="title">@secrecy/lib</a>
27
+ </div>
28
+ <div class="table-cell" id="tsd-widgets">
29
+ <div id="tsd-filter">
30
+ <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
31
+ <div class="tsd-filter-group">
32
+ <div class="tsd-select" id="tsd-filter-visibility">
33
+ <span class="tsd-select-label">All</span>
34
+ <ul class="tsd-select-list">
35
+ <li data-value="public">Public</li>
36
+ <li data-value="protected">Public/Protected</li>
37
+ <li data-value="private" class="selected">All</li>
38
+ </ul>
39
+ </div>
40
+ <input type="checkbox" id="tsd-filter-inherited" checked />
41
+ <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
42
+ <input type="checkbox" id="tsd-filter-externals" checked />
43
+ <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
44
+ </div>
45
+ </div>
46
+ <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ <div class="tsd-page-title">
52
+ <div class="container">
53
+ <ul class="tsd-breadcrumb">
54
+ <li>
55
+ <a href="../modules.html">@secrecy/lib</a>
56
+ </li>
57
+ <li>
58
+ <a href="client_convert_folder.html">client/convert/folder</a>
59
+ </li>
60
+ </ul>
61
+ <h1>Module client/convert/folder</h1>
62
+ </div>
63
+ </div>
64
+ </header>
65
+ <div class="container container-main">
66
+ <div class="row">
67
+ <div class="col-8 col-content">
68
+ <section class="tsd-panel-group tsd-index-group">
69
+ <h2>Index</h2>
70
+ <section class="tsd-panel tsd-index-panel">
71
+ <div class="tsd-index-content">
72
+ <section class="tsd-index-section ">
73
+ <h3>Functions</h3>
74
+ <ul class="tsd-index-list">
75
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_folder.html#gqlFolderToExternal" class="tsd-kind-icon">gql<wbr>Folder<wbr>ToExternal</a></li>
76
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_folder.html#gqlFolderToExternalWithLinks" class="tsd-kind-icon">gql<wbr>Folder<wbr>ToExternal<wbr>With<wbr>Links</a></li>
77
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_folder.html#gqlFolderToInternal" class="tsd-kind-icon">gql<wbr>Folder<wbr>ToInternal</a></li>
78
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_folder.html#gqlFolderWithLinksToInternalWithLinks" class="tsd-kind-icon">gql<wbr>Folder<wbr>With<wbr>Links<wbr>ToInternal<wbr>With<wbr>Links</a></li>
79
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_folder.html#internalFolderToFolder" class="tsd-kind-icon">internal<wbr>Folder<wbr>ToFolder</a></li>
80
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_folder.html#internalFolderWithLinksToFolderWithLinks" class="tsd-kind-icon">internal<wbr>Folder<wbr>With<wbr>Links<wbr>ToFolder<wbr>With<wbr>Links</a></li>
81
+ </ul>
82
+ </section>
83
+ </div>
84
+ </section>
85
+ </section>
86
+ <section class="tsd-panel-group tsd-member-group ">
87
+ <h2>Functions</h2>
88
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
89
+ <a name="gqlFolderToExternal" class="tsd-anchor"></a>
90
+ <h3>gql<wbr>Folder<wbr>ToExternal</h3>
91
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
92
+ <li class="tsd-signature tsd-kind-icon">gql<wbr>Folder<wbr>ToExternal<span class="tsd-signature-symbol">(</span>gql<span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#GQLFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolder</a>, keyPair<span class="tsd-signature-symbol">: </span><a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#Folder" class="tsd-signature-type" data-tsd-kind="Type alias">Folder</a><span class="tsd-signature-symbol">&gt;</span></li>
93
+ </ul>
94
+ <ul class="tsd-descriptions">
95
+ <li class="tsd-description">
96
+ <aside class="tsd-sources">
97
+ <ul>
98
+ <li>Defined in src/client/convert/folder.ts:143</li>
99
+ </ul>
100
+ </aside>
101
+ <h4 class="tsd-parameters-title">Parameters</h4>
102
+ <ul class="tsd-parameters">
103
+ <li>
104
+ <h5>gql: <a href="client_types_Folder.html#GQLFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolder</a></h5>
105
+ </li>
106
+ <li>
107
+ <h5>keyPair: <a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h5>
108
+ </li>
109
+ </ul>
110
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#Folder" class="tsd-signature-type" data-tsd-kind="Type alias">Folder</a><span class="tsd-signature-symbol">&gt;</span></h4>
111
+ </li>
112
+ </ul>
113
+ </section>
114
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
115
+ <a name="gqlFolderToExternalWithLinks" class="tsd-anchor"></a>
116
+ <h3>gql<wbr>Folder<wbr>ToExternal<wbr>With<wbr>Links</h3>
117
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
118
+ <li class="tsd-signature tsd-kind-icon">gql<wbr>Folder<wbr>ToExternal<wbr>With<wbr>Links<span class="tsd-signature-symbol">(</span>gql<span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#GQLFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolderWithLinks</a>, keyPair<span class="tsd-signature-symbol">: </span><a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#FolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">FolderWithLinks</a><span class="tsd-signature-symbol">&gt;</span></li>
119
+ </ul>
120
+ <ul class="tsd-descriptions">
121
+ <li class="tsd-description">
122
+ <aside class="tsd-sources">
123
+ <ul>
124
+ <li>Defined in src/client/convert/folder.ts:134</li>
125
+ </ul>
126
+ </aside>
127
+ <h4 class="tsd-parameters-title">Parameters</h4>
128
+ <ul class="tsd-parameters">
129
+ <li>
130
+ <h5>gql: <a href="client_types_Folder.html#GQLFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolderWithLinks</a></h5>
131
+ </li>
132
+ <li>
133
+ <h5>keyPair: <a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h5>
134
+ </li>
135
+ </ul>
136
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#FolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">FolderWithLinks</a><span class="tsd-signature-symbol">&gt;</span></h4>
137
+ </li>
138
+ </ul>
139
+ </section>
140
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
141
+ <a name="gqlFolderToInternal" class="tsd-anchor"></a>
142
+ <h3>gql<wbr>Folder<wbr>ToInternal</h3>
143
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
144
+ <li class="tsd-signature tsd-kind-icon">gql<wbr>Folder<wbr>ToInternal<span class="tsd-signature-symbol">(</span>gql<span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#GQLFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolder</a>, keyPair<span class="tsd-signature-symbol">: </span><a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#InternalFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolder</a><span class="tsd-signature-symbol">&gt;</span></li>
145
+ </ul>
146
+ <ul class="tsd-descriptions">
147
+ <li class="tsd-description">
148
+ <aside class="tsd-sources">
149
+ <ul>
150
+ <li>Defined in src/client/convert/folder.ts:16</li>
151
+ </ul>
152
+ </aside>
153
+ <h4 class="tsd-parameters-title">Parameters</h4>
154
+ <ul class="tsd-parameters">
155
+ <li>
156
+ <h5>gql: <a href="client_types_Folder.html#GQLFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolder</a></h5>
157
+ </li>
158
+ <li>
159
+ <h5>keyPair: <a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h5>
160
+ </li>
161
+ </ul>
162
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#InternalFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolder</a><span class="tsd-signature-symbol">&gt;</span></h4>
163
+ </li>
164
+ </ul>
165
+ </section>
166
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
167
+ <a name="gqlFolderWithLinksToInternalWithLinks" class="tsd-anchor"></a>
168
+ <h3>gql<wbr>Folder<wbr>With<wbr>Links<wbr>ToInternal<wbr>With<wbr>Links</h3>
169
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
170
+ <li class="tsd-signature tsd-kind-icon">gql<wbr>Folder<wbr>With<wbr>Links<wbr>ToInternal<wbr>With<wbr>Links<span class="tsd-signature-symbol">(</span>gql<span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#GQLFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolderWithLinks</a>, keyPair<span class="tsd-signature-symbol">: </span><a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#InternalFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolderWithLinks</a><span class="tsd-signature-symbol">&gt;</span></li>
171
+ </ul>
172
+ <ul class="tsd-descriptions">
173
+ <li class="tsd-description">
174
+ <aside class="tsd-sources">
175
+ <ul>
176
+ <li>Defined in src/client/convert/folder.ts:92</li>
177
+ </ul>
178
+ </aside>
179
+ <h4 class="tsd-parameters-title">Parameters</h4>
180
+ <ul class="tsd-parameters">
181
+ <li>
182
+ <h5>gql: <a href="client_types_Folder.html#GQLFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">GQLFolderWithLinks</a></h5>
183
+ </li>
184
+ <li>
185
+ <h5>keyPair: <a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h5>
186
+ </li>
187
+ </ul>
188
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_Folder.html#InternalFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolderWithLinks</a><span class="tsd-signature-symbol">&gt;</span></h4>
189
+ </li>
190
+ </ul>
191
+ </section>
192
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
193
+ <a name="internalFolderToFolder" class="tsd-anchor"></a>
194
+ <h3>internal<wbr>Folder<wbr>ToFolder</h3>
195
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
196
+ <li class="tsd-signature tsd-kind-icon">internal<wbr>Folder<wbr>ToFolder<span class="tsd-signature-symbol">(</span>internal<span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#InternalFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#Folder" class="tsd-signature-type" data-tsd-kind="Type alias">Folder</a></li>
197
+ </ul>
198
+ <ul class="tsd-descriptions">
199
+ <li class="tsd-description">
200
+ <aside class="tsd-sources">
201
+ <ul>
202
+ <li>Defined in src/client/convert/folder.ts:107</li>
203
+ </ul>
204
+ </aside>
205
+ <h4 class="tsd-parameters-title">Parameters</h4>
206
+ <ul class="tsd-parameters">
207
+ <li>
208
+ <h5>internal: <a href="client_types_Folder.html#InternalFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolder</a></h5>
209
+ </li>
210
+ </ul>
211
+ <h4 class="tsd-returns-title">Returns <a href="client_types_Folder.html#Folder" class="tsd-signature-type" data-tsd-kind="Type alias">Folder</a></h4>
212
+ </li>
213
+ </ul>
214
+ </section>
215
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
216
+ <a name="internalFolderWithLinksToFolderWithLinks" class="tsd-anchor"></a>
217
+ <h3>internal<wbr>Folder<wbr>With<wbr>Links<wbr>ToFolder<wbr>With<wbr>Links</h3>
218
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
219
+ <li class="tsd-signature tsd-kind-icon">internal<wbr>Folder<wbr>With<wbr>Links<wbr>ToFolder<wbr>With<wbr>Links<span class="tsd-signature-symbol">(</span>internal<span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#InternalFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolderWithLinks</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="client_types_Folder.html#FolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">FolderWithLinks</a></li>
220
+ </ul>
221
+ <ul class="tsd-descriptions">
222
+ <li class="tsd-description">
223
+ <aside class="tsd-sources">
224
+ <ul>
225
+ <li>Defined in src/client/convert/folder.ts:122</li>
226
+ </ul>
227
+ </aside>
228
+ <h4 class="tsd-parameters-title">Parameters</h4>
229
+ <ul class="tsd-parameters">
230
+ <li>
231
+ <h5>internal: <a href="client_types_Folder.html#InternalFolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">InternalFolderWithLinks</a></h5>
232
+ </li>
233
+ </ul>
234
+ <h4 class="tsd-returns-title">Returns <a href="client_types_Folder.html#FolderWithLinks" class="tsd-signature-type" data-tsd-kind="Type alias">FolderWithLinks</a></h4>
235
+ </li>
236
+ </ul>
237
+ </section>
238
+ </section>
239
+ </div>
240
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
241
+ <nav class="tsd-navigation primary">
242
+ <ul>
243
+ <li class=" ">
244
+ <a href="../modules.html">Modules</a>
245
+ </li>
246
+ <li class="current tsd-kind-module">
247
+ <a href="client_convert_folder.html">client/convert/folder</a>
248
+ </li>
249
+ </ul>
250
+ </nav>
251
+ <nav class="tsd-navigation secondary menu-sticky">
252
+ <ul class="before-current">
253
+ <li class=" tsd-kind-function tsd-parent-kind-module">
254
+ <a href="client_convert_folder.html#gqlFolderToExternal" class="tsd-kind-icon">gql<wbr>Folder<wbr>ToExternal</a>
255
+ </li>
256
+ <li class=" tsd-kind-function tsd-parent-kind-module">
257
+ <a href="client_convert_folder.html#gqlFolderToExternalWithLinks" class="tsd-kind-icon">gql<wbr>Folder<wbr>ToExternal<wbr>With<wbr>Links</a>
258
+ </li>
259
+ <li class=" tsd-kind-function tsd-parent-kind-module">
260
+ <a href="client_convert_folder.html#gqlFolderToInternal" class="tsd-kind-icon">gql<wbr>Folder<wbr>ToInternal</a>
261
+ </li>
262
+ <li class=" tsd-kind-function tsd-parent-kind-module">
263
+ <a href="client_convert_folder.html#gqlFolderWithLinksToInternalWithLinks" class="tsd-kind-icon">gql<wbr>Folder<wbr>With<wbr>Links<wbr>ToInternal<wbr>With<wbr>Links</a>
264
+ </li>
265
+ <li class=" tsd-kind-function tsd-parent-kind-module">
266
+ <a href="client_convert_folder.html#internalFolderToFolder" class="tsd-kind-icon">internal<wbr>Folder<wbr>ToFolder</a>
267
+ </li>
268
+ <li class=" tsd-kind-function tsd-parent-kind-module">
269
+ <a href="client_convert_folder.html#internalFolderWithLinksToFolderWithLinks" class="tsd-kind-icon">internal<wbr>Folder<wbr>With<wbr>Links<wbr>ToFolder<wbr>With<wbr>Links</a>
270
+ </li>
271
+ </ul>
272
+ </nav>
273
+ </div>
274
+ </div>
275
+ </div>
276
+ <footer class="with-border-bottom">
277
+ <div class="container">
278
+ <h2>Legend</h2>
279
+ <div class="tsd-legend-group">
280
+ <ul class="tsd-legend">
281
+ <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
282
+ <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
283
+ <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
284
+ <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
285
+ <li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
286
+ </ul>
287
+ <ul class="tsd-legend">
288
+ <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
289
+ <li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
290
+ </ul>
291
+ <ul class="tsd-legend">
292
+ <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
293
+ </ul>
294
+ </div>
295
+ </div>
296
+ </footer>
297
+ <div class="container tsd-generator">
298
+ <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
299
+ </div>
300
+ <div class="overlay"></div>
301
+ <script src="../assets/js/main.js"></script>
302
+ </body>
303
+ </html>
@@ -0,0 +1,216 @@
1
+ <!doctype html>
2
+ <html class="default no-js">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <title>client/convert/vFile | @secrecy/lib</title>
7
+ <meta name="description" content="Documentation for @secrecy/lib">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="stylesheet" href="../assets/css/main.css">
10
+ <script async src="../assets/js/search.js" id="search-script"></script>
11
+ </head>
12
+ <body>
13
+ <header>
14
+ <div class="tsd-page-toolbar">
15
+ <div class="container">
16
+ <div class="table-wrap">
17
+ <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
18
+ <div class="field">
19
+ <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
20
+ <input id="tsd-search-field" type="text" />
21
+ </div>
22
+ <ul class="results">
23
+ <li class="state loading">Preparing search index...</li>
24
+ <li class="state failure">The search index is not available</li>
25
+ </ul>
26
+ <a href="../index.html" class="title">@secrecy/lib</a>
27
+ </div>
28
+ <div class="table-cell" id="tsd-widgets">
29
+ <div id="tsd-filter">
30
+ <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
31
+ <div class="tsd-filter-group">
32
+ <div class="tsd-select" id="tsd-filter-visibility">
33
+ <span class="tsd-select-label">All</span>
34
+ <ul class="tsd-select-list">
35
+ <li data-value="public">Public</li>
36
+ <li data-value="protected">Public/Protected</li>
37
+ <li data-value="private" class="selected">All</li>
38
+ </ul>
39
+ </div>
40
+ <input type="checkbox" id="tsd-filter-inherited" checked />
41
+ <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
42
+ <input type="checkbox" id="tsd-filter-externals" checked />
43
+ <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
44
+ </div>
45
+ </div>
46
+ <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ <div class="tsd-page-title">
52
+ <div class="container">
53
+ <ul class="tsd-breadcrumb">
54
+ <li>
55
+ <a href="../modules.html">@secrecy/lib</a>
56
+ </li>
57
+ <li>
58
+ <a href="client_convert_vFile.html">client/convert/vFile</a>
59
+ </li>
60
+ </ul>
61
+ <h1>Module client/convert/vFile</h1>
62
+ </div>
63
+ </div>
64
+ </header>
65
+ <div class="container container-main">
66
+ <div class="row">
67
+ <div class="col-8 col-content">
68
+ <section class="tsd-panel-group tsd-index-group">
69
+ <h2>Index</h2>
70
+ <section class="tsd-panel tsd-index-panel">
71
+ <div class="tsd-index-content">
72
+ <section class="tsd-index-section ">
73
+ <h3>Functions</h3>
74
+ <ul class="tsd-index-list">
75
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_vFile.html#gqlVFileToExternal" class="tsd-kind-icon">gqlVFile<wbr>ToExternal</a></li>
76
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_vFile.html#gqlVFileToInternal" class="tsd-kind-icon">gqlVFile<wbr>ToInternal</a></li>
77
+ <li class="tsd-kind-function tsd-parent-kind-module"><a href="client_convert_vFile.html#internalVFileToVFile" class="tsd-kind-icon">internalVFile<wbr>ToVFile</a></li>
78
+ </ul>
79
+ </section>
80
+ </div>
81
+ </section>
82
+ </section>
83
+ <section class="tsd-panel-group tsd-member-group ">
84
+ <h2>Functions</h2>
85
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
86
+ <a name="gqlVFileToExternal" class="tsd-anchor"></a>
87
+ <h3>gqlVFile<wbr>ToExternal</h3>
88
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
89
+ <li class="tsd-signature tsd-kind-icon">gqlVFile<wbr>ToExternal<span class="tsd-signature-symbol">(</span>gql<span class="tsd-signature-symbol">: </span><a href="client_types_VFile.html#GQLVFile" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#GQLVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFileWithFolder</a>, keyPair<span class="tsd-signature-symbol">: </span><a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_VFile.html#VFile" class="tsd-signature-type" data-tsd-kind="Type alias">VFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#VFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">VFileWithFolder</a><span class="tsd-signature-symbol">&gt;</span></li>
90
+ </ul>
91
+ <ul class="tsd-descriptions">
92
+ <li class="tsd-description">
93
+ <aside class="tsd-sources">
94
+ <ul>
95
+ <li>Defined in src/client/convert/vFile.ts:90</li>
96
+ </ul>
97
+ </aside>
98
+ <h4 class="tsd-parameters-title">Parameters</h4>
99
+ <ul class="tsd-parameters">
100
+ <li>
101
+ <h5>gql: <a href="client_types_VFile.html#GQLVFile" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#GQLVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFileWithFolder</a></h5>
102
+ </li>
103
+ <li>
104
+ <h5>keyPair: <a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h5>
105
+ </li>
106
+ </ul>
107
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_VFile.html#VFile" class="tsd-signature-type" data-tsd-kind="Type alias">VFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#VFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">VFileWithFolder</a><span class="tsd-signature-symbol">&gt;</span></h4>
108
+ </li>
109
+ </ul>
110
+ </section>
111
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
112
+ <a name="gqlVFileToInternal" class="tsd-anchor"></a>
113
+ <h3>gqlVFile<wbr>ToInternal</h3>
114
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
115
+ <li class="tsd-signature tsd-kind-icon">gqlVFile<wbr>ToInternal<span class="tsd-signature-symbol">(</span>gql<span class="tsd-signature-symbol">: </span><a href="client_types_VFile.html#GQLVFile" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#GQLVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFileWithFolder</a>, keyPair<span class="tsd-signature-symbol">: </span><a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_VFile.html#InternalVFile" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#InternalVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFileWithFolder</a><span class="tsd-signature-symbol">&gt;</span></li>
116
+ </ul>
117
+ <ul class="tsd-descriptions">
118
+ <li class="tsd-description">
119
+ <aside class="tsd-sources">
120
+ <ul>
121
+ <li>Defined in src/client/convert/vFile.ts:17</li>
122
+ </ul>
123
+ </aside>
124
+ <h4 class="tsd-parameters-title">Parameters</h4>
125
+ <ul class="tsd-parameters">
126
+ <li>
127
+ <h5>gql: <a href="client_types_VFile.html#GQLVFile" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#GQLVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">GQLVFileWithFolder</a></h5>
128
+ </li>
129
+ <li>
130
+ <h5>keyPair: <a href="../interfaces/crypto.KeyPair.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyPair</a></h5>
131
+ </li>
132
+ </ul>
133
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="client_types_VFile.html#InternalVFile" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#InternalVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFileWithFolder</a><span class="tsd-signature-symbol">&gt;</span></h4>
134
+ </li>
135
+ </ul>
136
+ </section>
137
+ <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
138
+ <a name="internalVFileToVFile" class="tsd-anchor"></a>
139
+ <h3>internalVFile<wbr>ToVFile</h3>
140
+ <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
141
+ <li class="tsd-signature tsd-kind-icon">internalVFile<wbr>ToVFile<span class="tsd-signature-symbol">(</span>internal<span class="tsd-signature-symbol">: </span><a href="client_types_VFile.html#InternalVFile" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#InternalVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFileWithFolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="client_types_VFile.html#VFile" class="tsd-signature-type" data-tsd-kind="Type alias">VFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#VFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">VFileWithFolder</a></li>
142
+ </ul>
143
+ <ul class="tsd-descriptions">
144
+ <li class="tsd-description">
145
+ <aside class="tsd-sources">
146
+ <ul>
147
+ <li>Defined in src/client/convert/vFile.ts:69</li>
148
+ </ul>
149
+ </aside>
150
+ <h4 class="tsd-parameters-title">Parameters</h4>
151
+ <ul class="tsd-parameters">
152
+ <li>
153
+ <h5>internal: <a href="client_types_VFile.html#InternalVFile" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#InternalVFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">InternalVFileWithFolder</a></h5>
154
+ </li>
155
+ </ul>
156
+ <h4 class="tsd-returns-title">Returns <a href="client_types_VFile.html#VFile" class="tsd-signature-type" data-tsd-kind="Type alias">VFile</a><span class="tsd-signature-symbol"> | </span><a href="client_types_VFile.html#VFileWithFolder" class="tsd-signature-type" data-tsd-kind="Type alias">VFileWithFolder</a></h4>
157
+ </li>
158
+ </ul>
159
+ </section>
160
+ </section>
161
+ </div>
162
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
163
+ <nav class="tsd-navigation primary">
164
+ <ul>
165
+ <li class=" ">
166
+ <a href="../modules.html">Modules</a>
167
+ </li>
168
+ <li class="current tsd-kind-module">
169
+ <a href="client_convert_vFile.html">client/convert/v<wbr>File</a>
170
+ </li>
171
+ </ul>
172
+ </nav>
173
+ <nav class="tsd-navigation secondary menu-sticky">
174
+ <ul class="before-current">
175
+ <li class=" tsd-kind-function tsd-parent-kind-module">
176
+ <a href="client_convert_vFile.html#gqlVFileToExternal" class="tsd-kind-icon">gqlVFile<wbr>ToExternal</a>
177
+ </li>
178
+ <li class=" tsd-kind-function tsd-parent-kind-module">
179
+ <a href="client_convert_vFile.html#gqlVFileToInternal" class="tsd-kind-icon">gqlVFile<wbr>ToInternal</a>
180
+ </li>
181
+ <li class=" tsd-kind-function tsd-parent-kind-module">
182
+ <a href="client_convert_vFile.html#internalVFileToVFile" class="tsd-kind-icon">internalVFile<wbr>ToVFile</a>
183
+ </li>
184
+ </ul>
185
+ </nav>
186
+ </div>
187
+ </div>
188
+ </div>
189
+ <footer class="with-border-bottom">
190
+ <div class="container">
191
+ <h2>Legend</h2>
192
+ <div class="tsd-legend-group">
193
+ <ul class="tsd-legend">
194
+ <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
195
+ <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
196
+ <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
197
+ <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
198
+ <li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
199
+ </ul>
200
+ <ul class="tsd-legend">
201
+ <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
202
+ <li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
203
+ </ul>
204
+ <ul class="tsd-legend">
205
+ <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
206
+ </ul>
207
+ </div>
208
+ </div>
209
+ </footer>
210
+ <div class="container tsd-generator">
211
+ <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
212
+ </div>
213
+ <div class="overlay"></div>
214
+ <script src="../assets/js/main.js"></script>
215
+ </body>
216
+ </html>