@corsair-dev/figma 0.1.0 → 0.1.1
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/api.test.d.ts +2 -0
- package/dist/api.test.d.ts.map +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/endpoints/activityLogs.d.ts +1 -1
- package/dist/endpoints/activityLogs.d.ts.map +1 -1
- package/dist/endpoints/comments.d.ts +1 -1
- package/dist/endpoints/comments.d.ts.map +1 -1
- package/dist/endpoints/components.d.ts +1 -1
- package/dist/endpoints/components.d.ts.map +1 -1
- package/dist/endpoints/designTools.d.ts +1 -1
- package/dist/endpoints/designTools.d.ts.map +1 -1
- package/dist/endpoints/devResources.d.ts +1 -1
- package/dist/endpoints/devResources.d.ts.map +1 -1
- package/dist/endpoints/example.d.ts +1 -1
- package/dist/endpoints/example.d.ts.map +1 -1
- package/dist/endpoints/files.d.ts +1 -1
- package/dist/endpoints/files.d.ts.map +1 -1
- package/dist/endpoints/index.d.ts +68 -68
- package/dist/endpoints/index.d.ts.map +1 -1
- package/dist/endpoints/libraryAnalytics.d.ts +1 -1
- package/dist/endpoints/libraryAnalytics.d.ts.map +1 -1
- package/dist/endpoints/payments.d.ts +1 -1
- package/dist/endpoints/payments.d.ts.map +1 -1
- package/dist/endpoints/projects.d.ts +1 -1
- package/dist/endpoints/projects.d.ts.map +1 -1
- package/dist/endpoints/styles.d.ts +1 -1
- package/dist/endpoints/styles.d.ts.map +1 -1
- package/dist/endpoints/types.d.ts +508 -508
- package/dist/endpoints/types.d.ts.map +1 -1
- package/dist/endpoints/users.d.ts +1 -1
- package/dist/endpoints/users.d.ts.map +1 -1
- package/dist/endpoints/variables.d.ts +1 -1
- package/dist/endpoints/variables.d.ts.map +1 -1
- package/dist/endpoints/webhooks.d.ts +1 -1
- package/dist/endpoints/webhooks.d.ts.map +1 -1
- package/dist/index.d.ts +258 -260
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/schema/database.d.ts +20 -20
- package/dist/schema/index.d.ts +20 -20
- package/dist/webhooks/example.d.ts +1 -1
- package/dist/webhooks/example.d.ts.map +1 -1
- package/dist/webhooks/fileComment.d.ts +1 -1
- package/dist/webhooks/fileComment.d.ts.map +1 -1
- package/dist/webhooks/fileDelete.d.ts +1 -1
- package/dist/webhooks/fileDelete.d.ts.map +1 -1
- package/dist/webhooks/fileUpdate.d.ts +1 -1
- package/dist/webhooks/fileUpdate.d.ts.map +1 -1
- package/dist/webhooks/fileVersionUpdate.d.ts +1 -1
- package/dist/webhooks/fileVersionUpdate.d.ts.map +1 -1
- package/dist/webhooks/libraryPublish.d.ts +1 -1
- package/dist/webhooks/libraryPublish.d.ts.map +1 -1
- package/dist/webhooks/ping.d.ts +1 -1
- package/dist/webhooks/ping.d.ts.map +1 -1
- package/dist/webhooks/types.d.ts +37 -37
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +9 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.test.d.ts","sourceRoot":"","sources":["../api.test.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC"}
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAc,SAAQ,KAAK;aAGtB,MAAM,CAAC,EAAE,MAAM;aACf,UAAU,CAAC,EAAE,MAAM;aACnB,IAAI,CAAC,EAAE,MAAM;gBAH7B,OAAO,EAAE,MAAM,EACC,MAAM,CAAC,EAAE,MAAM,YAAA,EACf,UAAU,CAAC,EAAE,MAAM,YAAA,EACnB,IAAI,CAAC,EAAE,MAAM,YAAA;CAK9B;AAcD,wBAAsB,gBAAgB,CAAC,CAAC,EACvC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE;IACR,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9D,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CAC5B,GACJ,OAAO,CAAC,CAAC,CAAC,CA8CZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityLogs.d.ts","sourceRoot":"","sources":["../../endpoints/activityLogs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"activityLogs.d.ts","sourceRoot":"","sources":["../../endpoints/activityLogs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,kBAAkB,CAYnD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FigmaEndpoints } from '
|
|
1
|
+
import type { FigmaEndpoints } from '../index';
|
|
2
2
|
export declare const add: FigmaEndpoints['commentsAdd'];
|
|
3
3
|
export declare const deleteComment: FigmaEndpoints['commentsDelete'];
|
|
4
4
|
export declare const list: FigmaEndpoints['commentsList'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../endpoints/comments.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../endpoints/comments.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,aAAa,CAsC7C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,gBAAgB,CA+B1D,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,cAAc,CAgC/C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,sBAAsB,CAmB/D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,qBAAqB,CAmB7D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,wBAAwB,CAmBnE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FigmaEndpoints } from '
|
|
1
|
+
import type { FigmaEndpoints } from '../index';
|
|
2
2
|
export declare const get: FigmaEndpoints['componentsGet'];
|
|
3
3
|
export declare const getComponentSet: FigmaEndpoints['componentSetsGet'];
|
|
4
4
|
export declare const getForFile: FigmaEndpoints['componentsGetForFile'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../endpoints/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../endpoints/components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,eAAe,CA0B/C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,kBAAkB,CAyB9D,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,cAAc,CAAC,sBAAsB,CA8B7D,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,yBAAyB,CA2B5E,CAAC;AAEH,eAAO,MAAM,UAAU,EAAE,cAAc,CAAC,sBAAsB,CAkC7D,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,yBAAyB,CA+B5E,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FigmaEndpoints } from '
|
|
1
|
+
import type { FigmaEndpoints } from '../index';
|
|
2
2
|
export declare const discoverResources: FigmaEndpoints['designToolsDiscoverResources'];
|
|
3
3
|
export declare const extractDesignTokens: FigmaEndpoints['designToolsExtractDesignTokens'];
|
|
4
4
|
export declare const extractPrototypeInteractions: FigmaEndpoints['designToolsExtractPrototypeInteractions'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"designTools.d.ts","sourceRoot":"","sources":["../../endpoints/designTools.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"designTools.d.ts","sourceRoot":"","sources":["../../endpoints/designTools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,8BAA8B,CAwE3E,CAAC;AAEH,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,gCAAgC,CA6E/E,CAAC;AAEH,eAAO,MAAM,4BAA4B,EAAE,cAAc,CAAC,yCAAyC,CAqDjG,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,2BAA2B,CA4BrE,CAAC;AAEH,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,mCAAmC,CA2ErF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FigmaEndpoints } from '
|
|
1
|
+
import type { FigmaEndpoints } from '../index';
|
|
2
2
|
export declare const create: FigmaEndpoints['devResourcesCreate'];
|
|
3
3
|
export declare const deleteDevResource: FigmaEndpoints['devResourcesDelete'];
|
|
4
4
|
export declare const get: FigmaEndpoints['devResourcesGet'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devResources.d.ts","sourceRoot":"","sources":["../../endpoints/devResources.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"devResources.d.ts","sourceRoot":"","sources":["../../endpoints/devResources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,oBAAoB,CAkCvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,oBAAoB,CAgClE,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,iBAAiB,CAyBjD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,oBAAoB,CAevD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../endpoints/example.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../endpoints/example.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAM/C,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,iBAAiB,CAcjD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FigmaEndpoints } from '
|
|
1
|
+
import type { FigmaEndpoints } from '../index';
|
|
2
2
|
export declare const getJSON: FigmaEndpoints['filesGetJSON'];
|
|
3
3
|
export declare const getMetadata: FigmaEndpoints['filesGetMetadata'];
|
|
4
4
|
export declare const getNodes: FigmaEndpoints['filesGetNodes'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../endpoints/files.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../endpoints/files.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,OAAO,EAAE,cAAc,CAAC,cAAc,CA+BlD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,kBAAkB,CA0B1D,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,cAAc,CAAC,eAAe,CAepD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,cAAc,CAAC,gBAAgB,CAiBtD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,oBAAoB,CAe9D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,kBAAkB,CAqC1D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,mBAAmB,CAmB5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,sBAAsB,CAkClE,CAAC"}
|
|
@@ -6,25 +6,25 @@ export declare const Comments: {
|
|
|
6
6
|
comment_id?: string | undefined;
|
|
7
7
|
}) => Promise<{
|
|
8
8
|
id: string;
|
|
9
|
-
created_at?: string | undefined;
|
|
10
9
|
message?: string | undefined;
|
|
11
10
|
user?: {
|
|
12
11
|
id: string;
|
|
13
12
|
handle?: string | undefined;
|
|
14
13
|
img_url?: string | undefined;
|
|
15
14
|
} | undefined;
|
|
15
|
+
created_at?: string | undefined;
|
|
16
16
|
uuid?: string | null | undefined;
|
|
17
17
|
file_key?: string | undefined;
|
|
18
18
|
order_id?: string | null | undefined;
|
|
19
19
|
parent_id?: string | null | undefined;
|
|
20
20
|
reactions?: {
|
|
21
|
-
created_at?: string | undefined;
|
|
22
21
|
user?: {
|
|
23
22
|
id: string;
|
|
24
23
|
handle?: string | undefined;
|
|
25
24
|
img_url?: string | undefined;
|
|
26
25
|
} | undefined;
|
|
27
26
|
emoji?: string | undefined;
|
|
27
|
+
created_at?: string | undefined;
|
|
28
28
|
}[] | undefined;
|
|
29
29
|
client_meta?: unknown;
|
|
30
30
|
resolved_at?: string | null | undefined;
|
|
@@ -42,25 +42,25 @@ export declare const Comments: {
|
|
|
42
42
|
}) => Promise<{
|
|
43
43
|
comments?: {
|
|
44
44
|
id: string;
|
|
45
|
-
created_at?: string | undefined;
|
|
46
45
|
message?: string | undefined;
|
|
47
46
|
user?: {
|
|
48
47
|
id: string;
|
|
49
48
|
handle?: string | undefined;
|
|
50
49
|
img_url?: string | undefined;
|
|
51
50
|
} | undefined;
|
|
51
|
+
created_at?: string | undefined;
|
|
52
52
|
uuid?: string | null | undefined;
|
|
53
53
|
file_key?: string | undefined;
|
|
54
54
|
order_id?: string | null | undefined;
|
|
55
55
|
parent_id?: string | null | undefined;
|
|
56
56
|
reactions?: {
|
|
57
|
-
created_at?: string | undefined;
|
|
58
57
|
user?: {
|
|
59
58
|
id: string;
|
|
60
59
|
handle?: string | undefined;
|
|
61
60
|
img_url?: string | undefined;
|
|
62
61
|
} | undefined;
|
|
63
62
|
emoji?: string | undefined;
|
|
63
|
+
created_at?: string | undefined;
|
|
64
64
|
}[] | undefined;
|
|
65
65
|
client_meta?: unknown;
|
|
66
66
|
resolved_at?: string | null | undefined;
|
|
@@ -72,13 +72,13 @@ export declare const Comments: {
|
|
|
72
72
|
cursor?: string | undefined;
|
|
73
73
|
}) => Promise<{
|
|
74
74
|
reactions?: {
|
|
75
|
-
created_at?: string | undefined;
|
|
76
75
|
user?: {
|
|
77
76
|
id: string;
|
|
78
77
|
handle?: string | undefined;
|
|
79
78
|
img_url?: string | undefined;
|
|
80
79
|
} | undefined;
|
|
81
80
|
emoji?: string | undefined;
|
|
81
|
+
created_at?: string | undefined;
|
|
82
82
|
}[] | undefined;
|
|
83
83
|
pagination?: {
|
|
84
84
|
cursor?: string | undefined;
|
|
@@ -103,53 +103,53 @@ export declare const Comments: {
|
|
|
103
103
|
};
|
|
104
104
|
export declare const Webhooks: {
|
|
105
105
|
create: (ctx: import("..").FigmaContext, args: {
|
|
106
|
-
event_type: string;
|
|
107
106
|
endpoint: string;
|
|
108
107
|
passcode: string;
|
|
108
|
+
event_type: string;
|
|
109
109
|
status?: "ACTIVE" | "PAUSED" | undefined;
|
|
110
|
-
description?: string | undefined;
|
|
111
110
|
context?: string | undefined;
|
|
112
111
|
team_id?: string | undefined;
|
|
113
112
|
context_id?: string | undefined;
|
|
113
|
+
description?: string | undefined;
|
|
114
114
|
}) => Promise<{
|
|
115
115
|
id: string;
|
|
116
116
|
status?: "ACTIVE" | "PAUSED" | undefined;
|
|
117
|
-
event_type?: string | undefined;
|
|
118
|
-
endpoint?: string | undefined;
|
|
119
|
-
client_id?: string | null | undefined;
|
|
120
|
-
description?: string | null | undefined;
|
|
121
117
|
context?: "team" | "project" | "file" | null | undefined;
|
|
122
118
|
team_id?: string | null | undefined;
|
|
119
|
+
endpoint?: string | undefined;
|
|
123
120
|
passcode?: string | undefined;
|
|
121
|
+
client_id?: string | null | undefined;
|
|
124
122
|
context_id?: string | null | undefined;
|
|
123
|
+
event_type?: string | undefined;
|
|
124
|
+
description?: string | null | undefined;
|
|
125
125
|
}>;
|
|
126
126
|
delete: (ctx: import("..").FigmaContext, args: {
|
|
127
127
|
webhook_id: string;
|
|
128
128
|
}) => Promise<{
|
|
129
129
|
id?: string | undefined;
|
|
130
130
|
status?: "ACTIVE" | "PAUSED" | undefined;
|
|
131
|
-
event_type?: string | undefined;
|
|
132
|
-
endpoint?: string | undefined;
|
|
133
|
-
client_id?: string | null | undefined;
|
|
134
|
-
description?: string | null | undefined;
|
|
135
131
|
context?: "team" | "project" | "file" | null | undefined;
|
|
136
132
|
team_id?: string | null | undefined;
|
|
133
|
+
endpoint?: string | undefined;
|
|
137
134
|
passcode?: string | undefined;
|
|
135
|
+
client_id?: string | null | undefined;
|
|
138
136
|
context_id?: string | null | undefined;
|
|
137
|
+
event_type?: string | undefined;
|
|
138
|
+
description?: string | null | undefined;
|
|
139
139
|
}>;
|
|
140
140
|
get: (ctx: import("..").FigmaContext, args: {
|
|
141
141
|
webhook_id: string;
|
|
142
142
|
}) => Promise<{
|
|
143
143
|
id: string;
|
|
144
144
|
status?: "ACTIVE" | "PAUSED" | undefined;
|
|
145
|
-
event_type?: string | undefined;
|
|
146
|
-
endpoint?: string | undefined;
|
|
147
|
-
client_id?: string | null | undefined;
|
|
148
|
-
description?: string | null | undefined;
|
|
149
145
|
context?: "team" | "project" | "file" | null | undefined;
|
|
150
146
|
team_id?: string | null | undefined;
|
|
147
|
+
endpoint?: string | undefined;
|
|
151
148
|
passcode?: string | undefined;
|
|
149
|
+
client_id?: string | null | undefined;
|
|
152
150
|
context_id?: string | null | undefined;
|
|
151
|
+
event_type?: string | undefined;
|
|
152
|
+
description?: string | null | undefined;
|
|
153
153
|
}>;
|
|
154
154
|
list: (ctx: import("..").FigmaContext, args: {
|
|
155
155
|
context?: string | undefined;
|
|
@@ -158,14 +158,14 @@ export declare const Webhooks: {
|
|
|
158
158
|
webhooks?: {
|
|
159
159
|
id: string;
|
|
160
160
|
status?: "ACTIVE" | "PAUSED" | undefined;
|
|
161
|
-
event_type?: string | undefined;
|
|
162
|
-
endpoint?: string | undefined;
|
|
163
|
-
client_id?: string | null | undefined;
|
|
164
|
-
description?: string | null | undefined;
|
|
165
161
|
context?: "team" | "project" | "file" | null | undefined;
|
|
166
162
|
team_id?: string | null | undefined;
|
|
163
|
+
endpoint?: string | undefined;
|
|
167
164
|
passcode?: string | undefined;
|
|
165
|
+
client_id?: string | null | undefined;
|
|
168
166
|
context_id?: string | null | undefined;
|
|
167
|
+
event_type?: string | undefined;
|
|
168
|
+
description?: string | null | undefined;
|
|
169
169
|
}[] | undefined;
|
|
170
170
|
}>;
|
|
171
171
|
getRequests: (ctx: import("..").FigmaContext, args: {
|
|
@@ -174,45 +174,45 @@ export declare const Webhooks: {
|
|
|
174
174
|
requests?: {
|
|
175
175
|
id: string;
|
|
176
176
|
webhook_id: string;
|
|
177
|
-
created_at?: string | undefined;
|
|
178
177
|
status?: string | undefined;
|
|
178
|
+
created_at?: string | undefined;
|
|
179
179
|
error?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
180
180
|
}[] | undefined;
|
|
181
181
|
}>;
|
|
182
182
|
update: (ctx: import("..").FigmaContext, args: {
|
|
183
183
|
webhook_id: string;
|
|
184
184
|
status?: "ACTIVE" | "PAUSED" | undefined;
|
|
185
|
-
event_type?: string | undefined;
|
|
186
185
|
endpoint?: string | undefined;
|
|
187
|
-
description?: string | undefined;
|
|
188
186
|
passcode?: string | undefined;
|
|
187
|
+
event_type?: string | undefined;
|
|
188
|
+
description?: string | undefined;
|
|
189
189
|
}) => Promise<{
|
|
190
190
|
id: string;
|
|
191
191
|
status?: "ACTIVE" | "PAUSED" | undefined;
|
|
192
|
-
event_type?: string | undefined;
|
|
193
|
-
endpoint?: string | undefined;
|
|
194
|
-
client_id?: string | null | undefined;
|
|
195
|
-
description?: string | null | undefined;
|
|
196
192
|
context?: "team" | "project" | "file" | null | undefined;
|
|
197
193
|
team_id?: string | null | undefined;
|
|
194
|
+
endpoint?: string | undefined;
|
|
198
195
|
passcode?: string | undefined;
|
|
196
|
+
client_id?: string | null | undefined;
|
|
199
197
|
context_id?: string | null | undefined;
|
|
198
|
+
event_type?: string | undefined;
|
|
199
|
+
description?: string | null | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
};
|
|
202
202
|
export declare const DevResources: {
|
|
203
203
|
create: (ctx: import("..").FigmaContext, args: {
|
|
204
204
|
dev_resources: {
|
|
205
|
-
name: string;
|
|
206
205
|
file_key: string;
|
|
207
206
|
node_id: string;
|
|
207
|
+
name: string;
|
|
208
208
|
url: string;
|
|
209
209
|
}[];
|
|
210
210
|
}) => Promise<{
|
|
211
211
|
links_created?: {
|
|
212
212
|
id: string;
|
|
213
|
-
name: string;
|
|
214
213
|
file_key: string;
|
|
215
214
|
node_id: string;
|
|
215
|
+
name: string;
|
|
216
216
|
url: string;
|
|
217
217
|
}[] | undefined;
|
|
218
218
|
errors?: {
|
|
@@ -231,9 +231,9 @@ export declare const DevResources: {
|
|
|
231
231
|
}) => Promise<{
|
|
232
232
|
dev_resources?: {
|
|
233
233
|
id: string;
|
|
234
|
-
name: string;
|
|
235
234
|
file_key: string;
|
|
236
235
|
node_id: string;
|
|
236
|
+
name: string;
|
|
237
237
|
url: string;
|
|
238
238
|
}[] | undefined;
|
|
239
239
|
}>;
|
|
@@ -298,21 +298,21 @@ export declare const Components: {
|
|
|
298
298
|
meta?: {
|
|
299
299
|
component?: {
|
|
300
300
|
key: string;
|
|
301
|
-
created_at?: string | undefined;
|
|
302
|
-
updated_at?: string | undefined;
|
|
303
|
-
name?: string | undefined;
|
|
304
|
-
description?: string | undefined;
|
|
305
301
|
user?: {
|
|
306
302
|
id: string;
|
|
307
303
|
handle?: string | undefined;
|
|
308
304
|
img_url?: string | undefined;
|
|
309
305
|
} | undefined;
|
|
306
|
+
created_at?: string | undefined;
|
|
310
307
|
file_key?: string | undefined;
|
|
308
|
+
description?: string | undefined;
|
|
311
309
|
node_id?: string | undefined;
|
|
312
310
|
thumbnail_url?: string | undefined;
|
|
311
|
+
name?: string | undefined;
|
|
312
|
+
updated_at?: string | undefined;
|
|
313
313
|
containing_frame?: {
|
|
314
|
-
name?: string | undefined;
|
|
315
314
|
node_id?: string | undefined;
|
|
315
|
+
name?: string | undefined;
|
|
316
316
|
} | undefined;
|
|
317
317
|
} | undefined;
|
|
318
318
|
} | undefined;
|
|
@@ -324,9 +324,9 @@ export declare const Components: {
|
|
|
324
324
|
meta?: {
|
|
325
325
|
component_set?: {
|
|
326
326
|
key: string;
|
|
327
|
-
name?: string | undefined;
|
|
328
327
|
description?: string | undefined;
|
|
329
328
|
thumbnail_url?: string | undefined;
|
|
329
|
+
name?: string | undefined;
|
|
330
330
|
} | undefined;
|
|
331
331
|
} | undefined;
|
|
332
332
|
}>;
|
|
@@ -337,21 +337,21 @@ export declare const Components: {
|
|
|
337
337
|
meta?: {
|
|
338
338
|
components?: {
|
|
339
339
|
key: string;
|
|
340
|
-
created_at?: string | undefined;
|
|
341
|
-
updated_at?: string | undefined;
|
|
342
|
-
name?: string | undefined;
|
|
343
|
-
description?: string | undefined;
|
|
344
340
|
user?: {
|
|
345
341
|
id: string;
|
|
346
342
|
handle?: string | undefined;
|
|
347
343
|
img_url?: string | undefined;
|
|
348
344
|
} | undefined;
|
|
345
|
+
created_at?: string | undefined;
|
|
349
346
|
file_key?: string | undefined;
|
|
347
|
+
description?: string | undefined;
|
|
350
348
|
node_id?: string | undefined;
|
|
351
349
|
thumbnail_url?: string | undefined;
|
|
350
|
+
name?: string | undefined;
|
|
351
|
+
updated_at?: string | undefined;
|
|
352
352
|
containing_frame?: {
|
|
353
|
-
name?: string | undefined;
|
|
354
353
|
node_id?: string | undefined;
|
|
354
|
+
name?: string | undefined;
|
|
355
355
|
} | undefined;
|
|
356
356
|
}[] | undefined;
|
|
357
357
|
} | undefined;
|
|
@@ -368,38 +368,38 @@ export declare const Components: {
|
|
|
368
368
|
}>;
|
|
369
369
|
getForTeam: (ctx: import("..").FigmaContext, args: {
|
|
370
370
|
team_id: string;
|
|
371
|
-
before?: number | undefined;
|
|
372
|
-
after?: number | undefined;
|
|
373
371
|
page_size?: number | undefined;
|
|
372
|
+
after?: number | undefined;
|
|
373
|
+
before?: number | undefined;
|
|
374
374
|
}) => Promise<{
|
|
375
375
|
cursor?: string | undefined;
|
|
376
376
|
meta?: {
|
|
377
377
|
components?: {
|
|
378
378
|
key: string;
|
|
379
|
-
created_at?: string | undefined;
|
|
380
|
-
updated_at?: string | undefined;
|
|
381
|
-
name?: string | undefined;
|
|
382
|
-
description?: string | undefined;
|
|
383
379
|
user?: {
|
|
384
380
|
id: string;
|
|
385
381
|
handle?: string | undefined;
|
|
386
382
|
img_url?: string | undefined;
|
|
387
383
|
} | undefined;
|
|
384
|
+
created_at?: string | undefined;
|
|
388
385
|
file_key?: string | undefined;
|
|
386
|
+
description?: string | undefined;
|
|
389
387
|
node_id?: string | undefined;
|
|
390
388
|
thumbnail_url?: string | undefined;
|
|
389
|
+
name?: string | undefined;
|
|
390
|
+
updated_at?: string | undefined;
|
|
391
391
|
containing_frame?: {
|
|
392
|
-
name?: string | undefined;
|
|
393
392
|
node_id?: string | undefined;
|
|
393
|
+
name?: string | undefined;
|
|
394
394
|
} | undefined;
|
|
395
395
|
}[] | undefined;
|
|
396
396
|
} | undefined;
|
|
397
397
|
}>;
|
|
398
398
|
getComponentSetsForTeam: (ctx: import("..").FigmaContext, args: {
|
|
399
399
|
team_id: string;
|
|
400
|
-
before?: number | undefined;
|
|
401
|
-
after?: number | undefined;
|
|
402
400
|
page_size?: number | undefined;
|
|
401
|
+
after?: number | undefined;
|
|
402
|
+
before?: number | undefined;
|
|
403
403
|
}) => Promise<{
|
|
404
404
|
cursor?: string | undefined;
|
|
405
405
|
meta?: {
|
|
@@ -423,8 +423,8 @@ export declare const Files: {
|
|
|
423
423
|
include_raw?: boolean | undefined;
|
|
424
424
|
}) => Promise<{
|
|
425
425
|
name?: string | undefined;
|
|
426
|
-
version?: string | undefined;
|
|
427
426
|
components?: Record<string, unknown> | undefined;
|
|
427
|
+
version?: string | undefined;
|
|
428
428
|
role?: string | undefined;
|
|
429
429
|
lastModified?: string | undefined;
|
|
430
430
|
editorType?: string | undefined;
|
|
@@ -435,9 +435,9 @@ export declare const Files: {
|
|
|
435
435
|
getMetadata: (ctx: import("..").FigmaContext, args: {
|
|
436
436
|
file_key: string;
|
|
437
437
|
}) => Promise<{
|
|
438
|
+
thumbnail_url?: string | undefined;
|
|
438
439
|
name?: string | undefined;
|
|
439
440
|
version?: string | undefined;
|
|
440
|
-
thumbnail_url?: string | undefined;
|
|
441
441
|
role?: string | undefined;
|
|
442
442
|
editorType?: string | undefined;
|
|
443
443
|
last_modified?: string | undefined;
|
|
@@ -459,10 +459,10 @@ export declare const Files: {
|
|
|
459
459
|
meta?: {
|
|
460
460
|
styles?: {
|
|
461
461
|
key: string;
|
|
462
|
-
name?: string | undefined;
|
|
463
|
-
description?: string | undefined;
|
|
464
462
|
file_key?: string | undefined;
|
|
463
|
+
description?: string | undefined;
|
|
465
464
|
node_id?: string | undefined;
|
|
465
|
+
name?: string | undefined;
|
|
466
466
|
style_type?: string | undefined;
|
|
467
467
|
}[] | undefined;
|
|
468
468
|
} | undefined;
|
|
@@ -477,22 +477,22 @@ export declare const Files: {
|
|
|
477
477
|
}>;
|
|
478
478
|
getVersions: (ctx: import("..").FigmaContext, args: {
|
|
479
479
|
file_key: string;
|
|
480
|
-
before?: number | undefined;
|
|
481
|
-
after?: number | undefined;
|
|
482
480
|
page_size?: number | undefined;
|
|
481
|
+
after?: number | undefined;
|
|
482
|
+
before?: number | undefined;
|
|
483
483
|
}) => Promise<{
|
|
484
484
|
pagination?: {
|
|
485
485
|
cursor?: string | undefined;
|
|
486
486
|
} | undefined;
|
|
487
487
|
versions?: {
|
|
488
488
|
id: string;
|
|
489
|
-
created_at?: string | undefined;
|
|
490
|
-
description?: string | null | undefined;
|
|
491
489
|
user?: {
|
|
492
490
|
id: string;
|
|
493
491
|
handle?: string | undefined;
|
|
494
492
|
img_url?: string | undefined;
|
|
495
493
|
} | undefined;
|
|
494
|
+
created_at?: string | undefined;
|
|
495
|
+
description?: string | null | undefined;
|
|
496
496
|
label?: string | null | undefined;
|
|
497
497
|
}[] | undefined;
|
|
498
498
|
}>;
|
|
@@ -519,8 +519,8 @@ export declare const Files: {
|
|
|
519
519
|
name?: string | undefined;
|
|
520
520
|
files?: {
|
|
521
521
|
key: string;
|
|
522
|
-
name?: string | undefined;
|
|
523
522
|
thumbnail_url?: string | null | undefined;
|
|
523
|
+
name?: string | undefined;
|
|
524
524
|
last_modified?: string | undefined;
|
|
525
525
|
}[] | undefined;
|
|
526
526
|
}>;
|
|
@@ -532,19 +532,19 @@ export declare const Styles: {
|
|
|
532
532
|
meta?: {
|
|
533
533
|
style?: {
|
|
534
534
|
key: string;
|
|
535
|
-
name?: string | undefined;
|
|
536
|
-
description?: string | undefined;
|
|
537
535
|
file_key?: string | undefined;
|
|
536
|
+
description?: string | undefined;
|
|
538
537
|
node_id?: string | undefined;
|
|
538
|
+
name?: string | undefined;
|
|
539
539
|
style_type?: string | undefined;
|
|
540
540
|
} | undefined;
|
|
541
541
|
} | undefined;
|
|
542
542
|
}>;
|
|
543
543
|
getForTeam: (ctx: import("..").FigmaContext, args: {
|
|
544
544
|
team_id: string;
|
|
545
|
-
before?: number | undefined;
|
|
546
|
-
after?: number | undefined;
|
|
547
545
|
page_size?: number | undefined;
|
|
546
|
+
after?: number | undefined;
|
|
547
|
+
before?: number | undefined;
|
|
548
548
|
}) => Promise<{
|
|
549
549
|
meta?: {
|
|
550
550
|
styles?: {
|
|
@@ -638,9 +638,9 @@ export declare const LibraryAnalytics: {
|
|
|
638
638
|
};
|
|
639
639
|
export declare const ActivityLogs: {
|
|
640
640
|
list: (ctx: import("..").FigmaContext, args: {
|
|
641
|
-
limit?: number | undefined;
|
|
642
641
|
start_time?: number | undefined;
|
|
643
642
|
end_time?: number | undefined;
|
|
643
|
+
limit?: number | undefined;
|
|
644
644
|
order?: string | undefined;
|
|
645
645
|
events?: string | undefined;
|
|
646
646
|
}) => Promise<{
|
|
@@ -671,9 +671,9 @@ export declare const DesignTools: {
|
|
|
671
671
|
figma_url?: string | undefined;
|
|
672
672
|
max_depth?: number | undefined;
|
|
673
673
|
}) => Promise<{
|
|
674
|
-
teams?: unknown[] | undefined;
|
|
675
674
|
files?: unknown[] | undefined;
|
|
676
675
|
projects?: unknown[] | undefined;
|
|
676
|
+
teams?: unknown[] | undefined;
|
|
677
677
|
}>;
|
|
678
678
|
extractDesignTokens: (ctx: import("..").FigmaContext, args: {
|
|
679
679
|
file_key: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../endpoints/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAC;AAEF,eAAO,MAAM,YAAY;;;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maEndpoints } from '../index';
|
|
2
2
|
export declare const componentActions: FigmaEndpoints['libraryAnalyticsComponentActions'];
|
|
3
3
|
export declare const componentUsages: FigmaEndpoints['libraryAnalyticsComponentUsages'];
|
|
4
4
|
export declare const styleActions: FigmaEndpoints['libraryAnalyticsStyleActions'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libraryAnalytics.d.ts","sourceRoot":"","sources":["../../endpoints/libraryAnalytics.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"libraryAnalytics.d.ts","sourceRoot":"","sources":["../../endpoints/libraryAnalytics.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,kCAAkC,CAiB9E,CAAC;AAEH,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,iCAAiC,CAiB5E,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,8BAA8B,CAiBtE,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,6BAA6B,CAiBpE,CAAC;AAEH,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,iCAAiC,CAiB5E,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,gCAAgC,CAiB1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../endpoints/payments.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../endpoints/payments.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,aAAa,CAc7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../endpoints/projects.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../endpoints/projects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,yBAAyB,CAapE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../endpoints/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../endpoints/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,WAAW,CAS3C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,cAAc,CAAC,kBAAkB,CAmBzD,CAAC"}
|