@valiantys/atlassian-app 3.2.0-alpha-11 → 3.2.0-alpha-12
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/package.json +6 -1
- package/ui-app-flags-forge/atlassian-app-ui-app-flags-forge.api.json +314 -0
- package/ui-app-flags-forge/atlassian-app.api.md +25 -0
- package/ui-app-flags-forge/index.cjs.js +1 -0
- package/ui-app-flags-forge/index.d.ts +24 -0
- package/ui-app-flags-forge/index.es.js +5 -0
- package/ui-app-flags-forge/tsdoc-metadata.json +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valiantys/atlassian-app",
|
|
3
|
-
"version": "3.2.0-alpha-
|
|
3
|
+
"version": "3.2.0-alpha-12",
|
|
4
4
|
"description": "This library provides Atlassian Forge components, wrappers, and utilities to support writing Forge apps that can run deployed or in standalone mode",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./frontend-app": {
|
|
@@ -93,6 +93,11 @@
|
|
|
93
93
|
"require": "./ui-app-flags/index.cjs.js",
|
|
94
94
|
"types": "./ui-app-flags/index.d.ts"
|
|
95
95
|
},
|
|
96
|
+
"./ui-app-flags-forge": {
|
|
97
|
+
"import": "./ui-app-flags-forge/index.es.js",
|
|
98
|
+
"require": "./ui-app-flags-forge/index.cjs.js",
|
|
99
|
+
"types": "./ui-app-flags-forge/index.d.ts"
|
|
100
|
+
},
|
|
96
101
|
"./ui-atlaskit-forms": {
|
|
97
102
|
"import": "./ui-atlaskit-forms/index.es.js",
|
|
98
103
|
"require": "./ui-atlaskit-forms/index.cjs.js",
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
+
"toolVersion": "7.52.8",
|
|
5
|
+
"schemaVersion": 1011,
|
|
6
|
+
"oldestForwardsCompatibleVersion": 1001,
|
|
7
|
+
"tsdocConfig": {
|
|
8
|
+
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
9
|
+
"noStandardTags": true,
|
|
10
|
+
"tagDefinitions": [
|
|
11
|
+
{
|
|
12
|
+
"tagName": "@alpha",
|
|
13
|
+
"syntaxKind": "modifier"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"tagName": "@beta",
|
|
17
|
+
"syntaxKind": "modifier"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"tagName": "@defaultValue",
|
|
21
|
+
"syntaxKind": "block"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tagName": "@decorator",
|
|
25
|
+
"syntaxKind": "block",
|
|
26
|
+
"allowMultiple": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"tagName": "@deprecated",
|
|
30
|
+
"syntaxKind": "block"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tagName": "@eventProperty",
|
|
34
|
+
"syntaxKind": "modifier"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tagName": "@example",
|
|
38
|
+
"syntaxKind": "block",
|
|
39
|
+
"allowMultiple": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tagName": "@experimental",
|
|
43
|
+
"syntaxKind": "modifier"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"tagName": "@inheritDoc",
|
|
47
|
+
"syntaxKind": "inline"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"tagName": "@internal",
|
|
51
|
+
"syntaxKind": "modifier"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"tagName": "@label",
|
|
55
|
+
"syntaxKind": "inline"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"tagName": "@link",
|
|
59
|
+
"syntaxKind": "inline",
|
|
60
|
+
"allowMultiple": true
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"tagName": "@override",
|
|
64
|
+
"syntaxKind": "modifier"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"tagName": "@packageDocumentation",
|
|
68
|
+
"syntaxKind": "modifier"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"tagName": "@param",
|
|
72
|
+
"syntaxKind": "block",
|
|
73
|
+
"allowMultiple": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"tagName": "@privateRemarks",
|
|
77
|
+
"syntaxKind": "block"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"tagName": "@public",
|
|
81
|
+
"syntaxKind": "modifier"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"tagName": "@readonly",
|
|
85
|
+
"syntaxKind": "modifier"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"tagName": "@remarks",
|
|
89
|
+
"syntaxKind": "block"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"tagName": "@returns",
|
|
93
|
+
"syntaxKind": "block"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"tagName": "@sealed",
|
|
97
|
+
"syntaxKind": "modifier"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"tagName": "@see",
|
|
101
|
+
"syntaxKind": "block"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"tagName": "@throws",
|
|
105
|
+
"syntaxKind": "block",
|
|
106
|
+
"allowMultiple": true
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"tagName": "@typeParam",
|
|
110
|
+
"syntaxKind": "block",
|
|
111
|
+
"allowMultiple": true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"tagName": "@virtual",
|
|
115
|
+
"syntaxKind": "modifier"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"tagName": "@betaDocumentation",
|
|
119
|
+
"syntaxKind": "modifier"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"tagName": "@internalRemarks",
|
|
123
|
+
"syntaxKind": "block"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"tagName": "@preapproved",
|
|
127
|
+
"syntaxKind": "modifier"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"supportForTags": {
|
|
131
|
+
"@alpha": true,
|
|
132
|
+
"@beta": true,
|
|
133
|
+
"@defaultValue": true,
|
|
134
|
+
"@decorator": true,
|
|
135
|
+
"@deprecated": true,
|
|
136
|
+
"@eventProperty": true,
|
|
137
|
+
"@example": true,
|
|
138
|
+
"@experimental": true,
|
|
139
|
+
"@inheritDoc": true,
|
|
140
|
+
"@internal": true,
|
|
141
|
+
"@label": true,
|
|
142
|
+
"@link": true,
|
|
143
|
+
"@override": true,
|
|
144
|
+
"@packageDocumentation": true,
|
|
145
|
+
"@param": true,
|
|
146
|
+
"@privateRemarks": true,
|
|
147
|
+
"@public": true,
|
|
148
|
+
"@readonly": true,
|
|
149
|
+
"@remarks": true,
|
|
150
|
+
"@returns": true,
|
|
151
|
+
"@sealed": true,
|
|
152
|
+
"@see": true,
|
|
153
|
+
"@throws": true,
|
|
154
|
+
"@typeParam": true,
|
|
155
|
+
"@virtual": true,
|
|
156
|
+
"@betaDocumentation": true,
|
|
157
|
+
"@internalRemarks": true,
|
|
158
|
+
"@preapproved": true
|
|
159
|
+
},
|
|
160
|
+
"reportUnsupportedHtmlElements": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"kind": "Package",
|
|
164
|
+
"canonicalReference": "@valiantys/atlassian-app!",
|
|
165
|
+
"docComment": "",
|
|
166
|
+
"name": "@valiantys/atlassian-app",
|
|
167
|
+
"preserveMemberOrder": false,
|
|
168
|
+
"members": [
|
|
169
|
+
{
|
|
170
|
+
"kind": "EntryPoint",
|
|
171
|
+
"canonicalReference": "@valiantys/atlassian-app!",
|
|
172
|
+
"name": "",
|
|
173
|
+
"preserveMemberOrder": false,
|
|
174
|
+
"members": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "Function",
|
|
177
|
+
"canonicalReference": "@valiantys/atlassian-app!AppFlagsProviderForge:function(1)",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export declare function AppFlagsProviderForge({ children }: "
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "Content",
|
|
186
|
+
"text": "{\n children: "
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"kind": "Reference",
|
|
190
|
+
"text": "ReactNode",
|
|
191
|
+
"canonicalReference": "@types/react!React.ReactNode:type"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"kind": "Content",
|
|
195
|
+
"text": ";\n}"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "Content",
|
|
199
|
+
"text": "): "
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"kind": "Content",
|
|
203
|
+
"text": "import(\"react/jsx-runtime\")."
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"kind": "Reference",
|
|
207
|
+
"text": "JSX.Element",
|
|
208
|
+
"canonicalReference": "@types/react!JSX.Element:interface"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "Content",
|
|
212
|
+
"text": ";"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"fileUrlPath": "../../forge/shared/frontend-ui-app-flags/src/lib/app-flags-provider-forge.d.ts",
|
|
216
|
+
"returnTypeTokenRange": {
|
|
217
|
+
"startIndex": 5,
|
|
218
|
+
"endIndex": 7
|
|
219
|
+
},
|
|
220
|
+
"releaseTag": "Public",
|
|
221
|
+
"overloadIndex": 1,
|
|
222
|
+
"parameters": [
|
|
223
|
+
{
|
|
224
|
+
"parameterName": "{ children }",
|
|
225
|
+
"parameterTypeTokenRange": {
|
|
226
|
+
"startIndex": 1,
|
|
227
|
+
"endIndex": 4
|
|
228
|
+
},
|
|
229
|
+
"isOptional": false
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"name": "AppFlagsProviderForge"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"kind": "Function",
|
|
236
|
+
"canonicalReference": "@valiantys/atlassian-app!flagsReducer:function(1)",
|
|
237
|
+
"docComment": "",
|
|
238
|
+
"excerptTokens": [
|
|
239
|
+
{
|
|
240
|
+
"kind": "Content",
|
|
241
|
+
"text": "export declare function flagsReducer(flags: "
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"kind": "Reference",
|
|
245
|
+
"text": "Record",
|
|
246
|
+
"canonicalReference": "!Record:type"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"kind": "Content",
|
|
250
|
+
"text": "<string | number, "
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"kind": "Reference",
|
|
254
|
+
"text": "Flag",
|
|
255
|
+
"canonicalReference": "@forge/bridge!Flag:interface"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "Content",
|
|
259
|
+
"text": ">"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"kind": "Content",
|
|
263
|
+
"text": ", action: "
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "Reference",
|
|
267
|
+
"text": "AppFlagAction",
|
|
268
|
+
"canonicalReference": "@valiantys/atlassian-app!~AppFlagAction:interface"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"kind": "Content",
|
|
272
|
+
"text": "): "
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "Reference",
|
|
276
|
+
"text": "Flags",
|
|
277
|
+
"canonicalReference": "@valiantys/atlassian-app!~Flags:type"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"kind": "Content",
|
|
281
|
+
"text": ";"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"fileUrlPath": "../../forge/shared/frontend-ui-app-flags/src/lib/app-flags-provider-forge.d.ts",
|
|
285
|
+
"returnTypeTokenRange": {
|
|
286
|
+
"startIndex": 8,
|
|
287
|
+
"endIndex": 9
|
|
288
|
+
},
|
|
289
|
+
"releaseTag": "Public",
|
|
290
|
+
"overloadIndex": 1,
|
|
291
|
+
"parameters": [
|
|
292
|
+
{
|
|
293
|
+
"parameterName": "flags",
|
|
294
|
+
"parameterTypeTokenRange": {
|
|
295
|
+
"startIndex": 1,
|
|
296
|
+
"endIndex": 5
|
|
297
|
+
},
|
|
298
|
+
"isOptional": false
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"parameterName": "action",
|
|
302
|
+
"parameterTypeTokenRange": {
|
|
303
|
+
"startIndex": 6,
|
|
304
|
+
"endIndex": 7
|
|
305
|
+
},
|
|
306
|
+
"isOptional": false
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"name": "flagsReducer"
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## API Report File for "@valiantys/atlassian-app"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { Flag } from '@forge/bridge/out/flag/flag';
|
|
8
|
+
import { FlagOptions } from '@forge/bridge/out/flag/flag';
|
|
9
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
10
|
+
import { ReactNode } from 'react';
|
|
11
|
+
|
|
12
|
+
// @public (undocumented)
|
|
13
|
+
export function AppFlagsProviderForge({ children }: {
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
}): JSX_2.Element;
|
|
16
|
+
|
|
17
|
+
// Warning: (ae-forgotten-export) The symbol "AppFlagAction" needs to be exported by the entry point ui-app-flags-forge.d.ts
|
|
18
|
+
// Warning: (ae-forgotten-export) The symbol "Flags" needs to be exported by the entry point ui-app-flags-forge.d.ts
|
|
19
|
+
//
|
|
20
|
+
// @public (undocumented)
|
|
21
|
+
export function flagsReducer(flags: Record<string | number, Flag>, action: AppFlagAction): Flags;
|
|
22
|
+
|
|
23
|
+
// (No @packageDocumentation comment for this package)
|
|
24
|
+
|
|
25
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/forge/shared/frontend-ui-app-flags/src/lib/app-flags-provider-forge/index.cjs.js");exports.AppFlagsProviderForge=e.AppFlagsProviderForge;exports.flagsReducer=e.flagsReducer;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flag } from '@forge/bridge/out/flag/flag';
|
|
2
|
+
import { FlagOptions } from '@forge/bridge/out/flag/flag';
|
|
3
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
declare interface AppFlagAction {
|
|
7
|
+
type: AppFlagActions;
|
|
8
|
+
id: string | number;
|
|
9
|
+
props?: AppFlagTypes;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare type AppFlagActions = 'add' | 'remove';
|
|
13
|
+
|
|
14
|
+
export declare function AppFlagsProviderForge({ children }: {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}): JSX_2.Element;
|
|
17
|
+
|
|
18
|
+
declare type AppFlagTypes = FlagOptions;
|
|
19
|
+
|
|
20
|
+
declare type Flags = Record<string | number, Flag>;
|
|
21
|
+
|
|
22
|
+
export declare function flagsReducer(flags: Record<string | number, Flag>, action: AppFlagAction): Flags;
|
|
23
|
+
|
|
24
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.8"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|