gemstack-contract 0.2.1 → 0.2.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/lib/gemstack/contract/typescript.rb +2 -0
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d27747845c09c6bbccc3a6f24c7f29f5fad23954b2d2d61032f0972f4decd0e
|
|
4
|
+
data.tar.gz: f2f4c45a20804c41d42d1769cffd6d1093ddc855b79d3c527cd8016dfc78563a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac194fefcf075e2cde9fd06913270402369abc0ff85eeaf11c1c69bd841bef70b05c431a12fe085b19e02c4d8275e2efca084f75330037b836a4cbc5a9353767
|
|
7
|
+
data.tar.gz: 167196be6f8929c9b5dadbccedcbd6c8394a5799e2c01d4aa7a9a90cbc765ba14534d44849268f3a5d4df00980b006c9a8d47ae646c1b06389b50529f496b8f1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
See the [GemStack changelog](https://github.com/gemstack-rb/gemstack/blob/main/CHANGELOG.md).
|
|
6
|
+
|
|
7
|
+
## 0.2.2
|
|
8
|
+
|
|
9
|
+
See the [GemStack changelog](https://github.com/gemstack-rb/gemstack/blob/main/CHANGELOG.md).
|
|
10
|
+
|
|
3
11
|
## 0.2.1
|
|
4
12
|
|
|
5
13
|
See the [GemStack changelog](https://github.com/gemstack-rb/gemstack/blob/main/CHANGELOG.md).
|
data/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026
|
|
3
|
+
Copyright (c) 2026 Adware Technologies (https://www.adwaretech.com)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
GemStack contract: TypeScript types, API clients and OpenAPI from the backend.
|
|
4
4
|
|
|
5
5
|
Part of [GemStack](https://github.com/gemstack-rb/gemstack), a modular Ruby API framework for Next.js
|
|
6
|
-
applications. All GemStack gems are developed together in that repository and released with the same
|
|
6
|
+
applications by [Adware Technologies](https://www.adwaretech.com). All GemStack gems are developed together in that repository and released with the same
|
|
7
7
|
version.
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
@@ -21,4 +21,4 @@ Source, issues and pull requests: [gemstack-rb/gemstack](https://github.com/gems
|
|
|
21
21
|
|
|
22
22
|
## License
|
|
23
23
|
|
|
24
|
-
MIT —
|
|
24
|
+
Open source under the MIT License — © [Adware Technologies](https://www.adwaretech.com). See [LICENSE.txt](LICENSE.txt).
|
|
@@ -51,6 +51,8 @@ module GemStack
|
|
|
51
51
|
"export type #{name} = #{object_type(type[:fields], 0)};\n"
|
|
52
52
|
end
|
|
53
53
|
body.unshift(PAGE_TYPES) if paginated?
|
|
54
|
+
# No types yet (a new app): still a module, or `export type * from "./types"` fails to compile.
|
|
55
|
+
body << "export {};\n" if body.empty?
|
|
54
56
|
"#{header}\n#{body.join("\n")}"
|
|
55
57
|
end
|
|
56
58
|
|
metadata
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gemstack-contract
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
+
- Adware Technologies
|
|
7
8
|
- Shoaib Malik
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
@@ -15,42 +16,42 @@ dependencies:
|
|
|
15
16
|
requirements:
|
|
16
17
|
- - '='
|
|
17
18
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.2.
|
|
19
|
+
version: 0.2.3
|
|
19
20
|
type: :runtime
|
|
20
21
|
prerelease: false
|
|
21
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
23
|
requirements:
|
|
23
24
|
- - '='
|
|
24
25
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.2.
|
|
26
|
+
version: 0.2.3
|
|
26
27
|
- !ruby/object:Gem::Dependency
|
|
27
28
|
name: gemstack-http
|
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
|
29
30
|
requirements:
|
|
30
31
|
- - '='
|
|
31
32
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.2.
|
|
33
|
+
version: 0.2.3
|
|
33
34
|
type: :runtime
|
|
34
35
|
prerelease: false
|
|
35
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
37
|
requirements:
|
|
37
38
|
- - '='
|
|
38
39
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.2.
|
|
40
|
+
version: 0.2.3
|
|
40
41
|
- !ruby/object:Gem::Dependency
|
|
41
42
|
name: gemstack-schema
|
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
|
43
44
|
requirements:
|
|
44
45
|
- - '='
|
|
45
46
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 0.2.
|
|
47
|
+
version: 0.2.3
|
|
47
48
|
type: :runtime
|
|
48
49
|
prerelease: false
|
|
49
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
51
|
requirements:
|
|
51
52
|
- - '='
|
|
52
53
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 0.2.
|
|
54
|
+
version: 0.2.3
|
|
54
55
|
email:
|
|
55
56
|
- gemstack26@gmail.com
|
|
56
57
|
executables: []
|
|
@@ -82,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
82
83
|
requirements:
|
|
83
84
|
- - ">="
|
|
84
85
|
- !ruby/object:Gem::Version
|
|
85
|
-
version: '
|
|
86
|
+
version: '3.3'
|
|
86
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
88
|
requirements:
|
|
88
89
|
- - ">="
|