@noya-app/noya-api-client-react 0.1.53 → 0.1.55
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +13 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +69 -43
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +69 -43
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,12 +6,12 @@ $ tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
|
6
6
|
[34mCJS[39m Build start
|
|
7
7
|
[34mESM[39m Build start
|
|
8
8
|
[34mDTS[39m Build start
|
|
9
|
-
[32mCJS[39m [1mdist/index.js [22m[32m542.
|
|
10
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m1.
|
|
11
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
-
[32mESM[39m [1mdist/index.mjs [22m[
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m1.
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
15
|
-
[32mDTS[39m ⚡️ Build success in
|
|
9
|
+
[32mCJS[39m [1mdist/index.js [22m[32m542.70 KB[39m
|
|
10
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m1.51 MB[39m
|
|
11
|
+
[32mCJS[39m ⚡️ Build success in 3660ms
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m534.05 KB[39m
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m1.51 MB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 3663ms
|
|
15
|
+
[32mDTS[39m ⚡️ Build success in 63990ms
|
|
16
16
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m17.73 KB[39m
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m17.73 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @noya-app/noya-api-client-react
|
|
2
2
|
|
|
3
|
+
## 0.1.55
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [daccde7]
|
|
8
|
+
- @noya-app/noya-api@0.1.55
|
|
9
|
+
|
|
10
|
+
## 0.1.54
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- @noya-app/noya-api@0.1.54
|
|
15
|
+
|
|
3
16
|
## 0.1.53
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -24,9 +24,9 @@ declare function useNoyaTools(initial?: NoyaAPI.Tool[]): {
|
|
|
24
24
|
createdAt: string;
|
|
25
25
|
url: string;
|
|
26
26
|
description: string | null;
|
|
27
|
+
theme: any;
|
|
27
28
|
updatedAt: string;
|
|
28
29
|
icon: string | null;
|
|
29
|
-
theme: any;
|
|
30
30
|
assets: string[];
|
|
31
31
|
slug: string | null;
|
|
32
32
|
tagline: string | null;
|
|
@@ -57,9 +57,9 @@ declare function useOptionalNoyaTools(initial?: NoyaAPI.Tool[]): {
|
|
|
57
57
|
createdAt: string;
|
|
58
58
|
url: string;
|
|
59
59
|
description: string | null;
|
|
60
|
+
theme: any;
|
|
60
61
|
updatedAt: string;
|
|
61
62
|
icon: string | null;
|
|
62
|
-
theme: any;
|
|
63
63
|
assets: string[];
|
|
64
64
|
slug: string | null;
|
|
65
65
|
tagline: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -24,9 +24,9 @@ declare function useNoyaTools(initial?: NoyaAPI.Tool[]): {
|
|
|
24
24
|
createdAt: string;
|
|
25
25
|
url: string;
|
|
26
26
|
description: string | null;
|
|
27
|
+
theme: any;
|
|
27
28
|
updatedAt: string;
|
|
28
29
|
icon: string | null;
|
|
29
|
-
theme: any;
|
|
30
30
|
assets: string[];
|
|
31
31
|
slug: string | null;
|
|
32
32
|
tagline: string | null;
|
|
@@ -57,9 +57,9 @@ declare function useOptionalNoyaTools(initial?: NoyaAPI.Tool[]): {
|
|
|
57
57
|
createdAt: string;
|
|
58
58
|
url: string;
|
|
59
59
|
description: string | null;
|
|
60
|
+
theme: any;
|
|
60
61
|
updatedAt: string;
|
|
61
62
|
icon: string | null;
|
|
62
|
-
theme: any;
|
|
63
63
|
assets: string[];
|
|
64
64
|
slug: string | null;
|
|
65
65
|
tagline: string | null;
|
package/dist/index.js
CHANGED
|
@@ -5525,49 +5525,67 @@ var gistSchema = Type.Object({
|
|
|
5525
5525
|
|
|
5526
5526
|
// ../noya-schemas/src/jsonSchema.ts
|
|
5527
5527
|
var jsonSchema = Type.Recursive(
|
|
5528
|
-
(This) => Type.Union(
|
|
5529
|
-
|
|
5530
|
-
Type.
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
Type.
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
Type.
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
Type.
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
Type.
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
Type.
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5528
|
+
(This) => Type.Union([
|
|
5529
|
+
Type.Object({
|
|
5530
|
+
type: Type.Literal("string"),
|
|
5531
|
+
default: Type.Optional(Type.String()),
|
|
5532
|
+
_kind: Type.Literal("String")
|
|
5533
|
+
}),
|
|
5534
|
+
Type.Object({
|
|
5535
|
+
type: Type.Literal("number"),
|
|
5536
|
+
default: Type.Optional(Type.Number()),
|
|
5537
|
+
minimum: Type.Optional(Type.Number()),
|
|
5538
|
+
maximum: Type.Optional(Type.Number()),
|
|
5539
|
+
_kind: Type.Literal("Number")
|
|
5540
|
+
}),
|
|
5541
|
+
Type.Object({
|
|
5542
|
+
type: Type.Literal("boolean"),
|
|
5543
|
+
default: Type.Optional(Type.Boolean()),
|
|
5544
|
+
_kind: Type.Literal("Boolean")
|
|
5545
|
+
}),
|
|
5546
|
+
Type.Object({
|
|
5547
|
+
type: Type.Literal("null"),
|
|
5548
|
+
_kind: Type.Literal("Null")
|
|
5549
|
+
}),
|
|
5550
|
+
Type.Object({
|
|
5551
|
+
type: Type.Literal("array"),
|
|
5552
|
+
items: This,
|
|
5553
|
+
// default: Type.Optional(Type.Array(Type.Any())),
|
|
5554
|
+
// minItems: Type.Optional(Type.Number()),
|
|
5555
|
+
// maxItems: Type.Optional(Type.Number()),
|
|
5556
|
+
_kind: Type.Literal("Array")
|
|
5557
|
+
}),
|
|
5558
|
+
Type.Object({
|
|
5559
|
+
type: Type.Literal("object"),
|
|
5560
|
+
properties: Type.Record(Type.String(), This),
|
|
5561
|
+
required: Type.Optional(Type.Array(Type.String())),
|
|
5562
|
+
// default: Type.Optional(Type.Record(Type.String(), Type.Any())),
|
|
5563
|
+
_kind: Type.Literal("Object")
|
|
5564
|
+
}),
|
|
5565
|
+
Type.Object({
|
|
5566
|
+
const: Type.Union([
|
|
5567
|
+
Type.String(),
|
|
5568
|
+
Type.Number(),
|
|
5569
|
+
Type.Boolean(),
|
|
5570
|
+
Type.Null()
|
|
5571
|
+
]),
|
|
5572
|
+
type: Type.Optional(
|
|
5573
|
+
Type.Union([
|
|
5574
|
+
Type.Literal("string"),
|
|
5575
|
+
Type.Literal("number"),
|
|
5576
|
+
Type.Literal("boolean"),
|
|
5577
|
+
Type.Literal("null")
|
|
5578
|
+
])
|
|
5579
|
+
),
|
|
5580
|
+
_kind: Type.Literal("Literal")
|
|
5581
|
+
}),
|
|
5582
|
+
Type.Object({
|
|
5583
|
+
anyOf: Type.Array(This, { minItems: 1 }),
|
|
5584
|
+
discriminator: Type.Optional(Type.String()),
|
|
5585
|
+
default: Type.Optional(Type.Any()),
|
|
5586
|
+
_kind: Type.Literal("Union")
|
|
5587
|
+
})
|
|
5588
|
+
]),
|
|
5571
5589
|
{
|
|
5572
5590
|
$id: "jsonSchema"
|
|
5573
5591
|
}
|
|
@@ -5649,6 +5667,13 @@ var SchemaTree = (0, import_tree_visit.defineTree)((schema) => {
|
|
|
5649
5667
|
});
|
|
5650
5668
|
|
|
5651
5669
|
// ../noya-schemas/src/resourceSchema.ts
|
|
5670
|
+
var targetFileSchema = Type.Object({
|
|
5671
|
+
id: Type.String(),
|
|
5672
|
+
toolId: Type.String(),
|
|
5673
|
+
tool: Type.Object({
|
|
5674
|
+
theme: Type.Optional(Type.Any())
|
|
5675
|
+
})
|
|
5676
|
+
});
|
|
5652
5677
|
var baseSchemaProperties = {
|
|
5653
5678
|
id: Type.String(),
|
|
5654
5679
|
stableId: Type.String(),
|
|
@@ -5664,6 +5689,7 @@ var baseSchemaProperties = {
|
|
|
5664
5689
|
})
|
|
5665
5690
|
),
|
|
5666
5691
|
accessibleByFileVersionId: Nullable(Type.String()),
|
|
5692
|
+
file: Type.Optional(Nullable(targetFileSchema)),
|
|
5667
5693
|
url: Type.Optional(Type.String()),
|
|
5668
5694
|
transformUrl: Type.Optional(Type.String())
|
|
5669
5695
|
};
|