@nxtedition/types 23.0.32 → 23.0.34

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/app.d.ts CHANGED
@@ -23,7 +23,25 @@ export interface ElectronHubApi {
23
23
  }
24
24
  export declare const isElectronHubApi: (input: unknown) => input is ElectronHubApi;
25
25
  export declare const assertElectronHubApi: (input: unknown) => ElectronHubApi;
26
- export declare const randomElectronHubApi: () => ElectronHubApi;
26
+ export declare const randomElectronHubApi: () => {
27
+ startDrag: never;
28
+ getWebdavPath: never;
29
+ showOpenDialogAsync: never;
30
+ showSaveDialogAsync: never;
31
+ getCurrentVersion: never;
32
+ getLatestVersion: never;
33
+ triggerUpdate: never;
34
+ controlDownloadItem: never;
35
+ openInApp: never;
36
+ installDavinciPlugin: never;
37
+ clipboard: {
38
+ readText: never;
39
+ writeText: never;
40
+ };
41
+ downloadFile: never;
42
+ showItemInFolder: never;
43
+ openPath: never;
44
+ };
27
45
  export declare const assertGuardElectronHubApi: __AssertionGuard<ElectronHubApi>;
28
46
  export declare const stringifyElectronHubApi: (input: ElectronHubApi) => string;
29
47
  export declare const assertStringifyElectronHubApi: (input: unknown) => string;
@@ -33,7 +51,10 @@ export interface ElectronHubApiClipboard {
33
51
  }
34
52
  export declare const isElectronHubApiClipboard: (input: unknown) => input is ElectronHubApiClipboard;
35
53
  export declare const assertElectronHubApiClipboard: (input: unknown) => ElectronHubApiClipboard;
36
- export declare const randomElectronHubApiClipboard: () => ElectronHubApiClipboard;
54
+ export declare const randomElectronHubApiClipboard: () => {
55
+ readText: never;
56
+ writeText: never;
57
+ };
37
58
  export declare const assertGuardElectronHubApiClipboard: __AssertionGuard<ElectronHubApiClipboard>;
38
59
  export declare const stringifyElectronHubApiClipboard: (input: ElectronHubApiClipboard) => string;
39
60
  export declare const assertStringifyElectronHubApiClipboard: (input: unknown) => string;
@@ -21,7 +21,7 @@ export declare const assertStringifyBlock: (input: unknown) => string;
21
21
  export type Blocks = Block[];
22
22
  export declare const isBlocks: (input: unknown) => input is Blocks;
23
23
  export declare const assertBlocks: (input: unknown) => Blocks;
24
- export declare const randomBlocks: () => any[];
24
+ export declare const randomBlocks: () => Blocks;
25
25
  export declare const assertGuardBlocks: __AssertionGuard<Blocks>;
26
26
  export declare const stringifyBlocks: (input: Blocks) => string;
27
27
  export declare const assertStringifyBlocks: (input: unknown) => string;
@@ -1,5 +1,4 @@
1
1
  import { type AssertionGuard as __AssertionGuard } from "typia";
2
- import { tags } from 'typia';
3
2
  import { NxtError } from './error.js';
4
3
  export type FileRef = {
5
4
  file?: string;
@@ -16,13 +15,13 @@ export declare const assertStringifyFileRef: (input: unknown) => string;
16
15
  export type FileRefs = Array<FileRef>;
17
16
  export declare const isFileRefs: (input: unknown) => input is FileRefs;
18
17
  export declare const assertFileRefs: (input: unknown) => FileRefs;
19
- export declare const randomFileRefs: () => any[];
18
+ export declare const randomFileRefs: () => FileRefs;
20
19
  export declare const assertGuardFileRefs: __AssertionGuard<FileRefs>;
21
20
  export declare const stringifyFileRefs: (input: FileRefs) => string;
22
21
  export declare const assertStringifyFileRefs: (input: unknown) => string;
23
22
  export interface File {
24
- id: string & tags.Pattern<"^[0-9A-Za-z~][0-9A-Za-z~._: -]*$">;
25
- size: (number & tags.Minimum<0> & tags.Type<"uint64">) | null;
23
+ id: string & import('typia').tags.Pattern<'^[0-9A-Za-z~][0-9A-Za-z~._: -]*$'>;
24
+ size: (number & import('typia').tags.Minimum<0> & import('typia').tags.Type<'uint64'>) | null;
26
25
  seekable: boolean;
27
26
  deleted: boolean;
28
27
  refs: FileRefs;
@@ -30,8 +29,8 @@ export interface File {
30
29
  resumable: string;
31
30
  mimeType: string;
32
31
  encoding: string;
33
- hash: string & tags.Pattern<"^([A-Fa-f0-9]{32})?$">;
34
- btime: number & tags.Minimum<0> & tags.Type<"uint64">;
32
+ hash: string & import('typia').tags.Pattern<'^([A-Fa-f0-9]{32})?$'>;
33
+ btime: number & import('typia').tags.Minimum<0> & import('typia').tags.Type<'uint64'>;
35
34
  completed: boolean;
36
35
  error: NxtError[] | NxtError | null;
37
36
  }
@@ -42,17 +41,17 @@ export declare const assertGuardFile: __AssertionGuard<File>;
42
41
  export declare const stringifyFile: (input: File) => string;
43
42
  export declare const assertStringifyFile: (input: unknown) => string;
44
43
  export interface FileStats extends File {
45
- position: (number & tags.Minimum<0> & tags.Type<"uint64">) | null;
44
+ position: (number & import('typia').tags.Minimum<0> & import('typia').tags.Type<'uint64'>) | null;
46
45
  uploading: boolean | null;
47
46
  zones: string[];
48
47
  replicas: string[];
49
48
  locations: string[];
50
49
  ranges: Array<[
51
- start: number & tags.Minimum<0>,
52
- end: number & tags.Minimum<0>
50
+ start: number & import('typia').tags.Minimum<0>,
51
+ end: number & import('typia').tags.Minimum<0>
53
52
  ]>;
54
- progress?: number & tags.Minimum<0> & tags.Maximum<1>;
55
- speed?: number & tags.Minimum<0>;
53
+ progress?: number & import('typia').tags.Minimum<0> & import('typia').tags.Maximum<1>;
54
+ speed?: number & import('typia').tags.Minimum<0>;
56
55
  }
57
56
  export declare const isFileStats: (input: unknown) => input is FileStats;
58
57
  export declare const assertFileStats: (input: unknown) => FileStats;
@@ -25,7 +25,7 @@ export interface Settings {
25
25
  */
26
26
  batchDownloadDialogMode?: "file" | "directory";
27
27
  };
28
- browser: {
28
+ browser?: {
29
29
  map: {
30
30
  clustering?: boolean;
31
31
  zoom?: number;
@@ -38,19 +38,19 @@ export interface Settings {
38
38
  sortOrder: string[];
39
39
  };
40
40
  };
41
- toolbarTags: {
41
+ toolbarTags?: {
42
42
  exclude: string[];
43
43
  };
44
44
  /**
45
45
  * Controls which tags cannot be used together. When a tag from the group is
46
46
  * manually added to an asset, any other tag from the group will be removed.
47
47
  */
48
- exclusiveTagGroups: string[][];
49
- deadlines: {
48
+ exclusiveTagGroups?: string[][];
49
+ deadlines?: {
50
50
  include: string[];
51
51
  exclude?: string[];
52
52
  };
53
- assignees: {
53
+ assignees?: {
54
54
  include: string[];
55
55
  exclude?: string[];
56
56
  };
@@ -58,7 +58,7 @@ export interface Settings {
58
58
  include?: string[];
59
59
  exclude?: string[];
60
60
  };
61
- clock: {
61
+ clock?: {
62
62
  enable: boolean;
63
63
  show24Hours: boolean;
64
64
  showAmPm: boolean;
@@ -71,27 +71,27 @@ export interface Settings {
71
71
  color?: string;
72
72
  name?: string;
73
73
  };
74
- dashboard: {
74
+ dashboard?: {
75
75
  maxMru: number;
76
76
  maxTabs: number;
77
77
  };
78
- script: {
78
+ script?: {
79
79
  createMenu: {
80
80
  showPreview: boolean;
81
81
  };
82
82
  colorTags: PromotedTag[];
83
83
  };
84
- events: {
84
+ events?: {
85
85
  graphicBaseTemplate?: string;
86
86
  };
87
- rundown: {
87
+ rundown?: {
88
88
  eventThumbnails: boolean;
89
89
  };
90
- gallery: {
90
+ gallery?: {
91
91
  dimOnBlur: boolean;
92
92
  };
93
- history: boolean;
94
- keymap: {
93
+ history?: boolean;
94
+ keymap?: {
95
95
  display: {
96
96
  [actionKey: string]: KeymapSetting;
97
97
  };
@@ -126,7 +126,7 @@ export interface Settings {
126
126
  [actionKey: string]: KeymapSetting;
127
127
  };
128
128
  };
129
- media: {
129
+ media?: {
130
130
  defaultFrameRate: number;
131
131
  placeholder?: string;
132
132
  guide?: {
@@ -190,7 +190,7 @@ export interface Settings {
190
190
  args?: string[];
191
191
  } | string;
192
192
  };
193
- edit: {
193
+ edit?: {
194
194
  thumbnailView: "filmStrip" | "thumbnail" | "none";
195
195
  voiceOver: {
196
196
  inputDevice?: string;
@@ -206,7 +206,7 @@ export interface Settings {
206
206
  args?: string[];
207
207
  }>;
208
208
  predefinedTags?: string[];
209
- storyboard: {
209
+ storyboard?: {
210
210
  folded?: {
211
211
  auto?: boolean;
212
212
  };
@@ -231,11 +231,11 @@ export interface Settings {
231
231
  maxHeight: number;
232
232
  };
233
233
  };
234
- hiddenPreviews: Array<{
234
+ hiddenPreviews?: Array<{
235
235
  id: string;
236
236
  folded: boolean;
237
237
  }>;
238
- plugins: {
238
+ plugins?: {
239
239
  adobe: {
240
240
  useProxies: boolean;
241
241
  };
@@ -243,14 +243,14 @@ export interface Settings {
243
243
  template?: string;
244
244
  };
245
245
  };
246
- crashScreen: boolean;
247
- debug: boolean;
246
+ crashScreen?: boolean;
247
+ debug?: boolean;
248
248
  featurePreview?: {
249
249
  collections?: boolean;
250
250
  semanticSearch?: boolean;
251
251
  ameRemoteRendering?: boolean;
252
252
  };
253
- flags: {
253
+ flags?: {
254
254
  utils: boolean;
255
255
  history: boolean;
256
256
  refs: boolean;
@@ -267,7 +267,7 @@ export interface Settings {
267
267
  assetRoute?: boolean;
268
268
  devWarnings?: boolean;
269
269
  };
270
- notifications: {
270
+ notifications?: {
271
271
  events: {
272
272
  comment: NotificationReason[];
273
273
  assigned: NotificationReason[];