@api-client/core 0.14.9 → 0.15.0
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/RELEASE.md +163 -0
- package/RELEASE_SETUP.md +235 -0
- package/build/src/events/authorization/AuthorizationEvents.d.ts +1 -1
- package/build/src/events/authorization/AuthorizationEvents.d.ts.map +1 -1
- package/build/src/events/authorization/AuthorizationEvents.js +1 -1
- package/build/src/events/authorization/AuthorizationEvents.js.map +1 -1
- package/build/src/events/cookies/CookieEvents.d.ts +1 -1
- package/build/src/events/cookies/CookieEvents.d.ts.map +1 -1
- package/build/src/events/cookies/CookieEvents.js +1 -1
- package/build/src/events/cookies/CookieEvents.js.map +1 -1
- package/build/src/modeling/DataDomain.d.ts +45 -3
- package/build/src/modeling/DataDomain.d.ts.map +1 -1
- package/build/src/modeling/DataDomain.js +81 -3
- package/build/src/modeling/DataDomain.js.map +1 -1
- package/build/src/modeling/DomainElement.d.ts +7 -0
- package/build/src/modeling/DomainElement.d.ts.map +1 -1
- package/build/src/modeling/DomainElement.js +14 -0
- package/build/src/modeling/DomainElement.js.map +1 -1
- package/build/src/modeling/DomainImpactAnalysis.d.ts +22 -119
- package/build/src/modeling/DomainImpactAnalysis.d.ts.map +1 -1
- package/build/src/modeling/DomainImpactAnalysis.js +49 -155
- package/build/src/modeling/DomainImpactAnalysis.js.map +1 -1
- package/build/src/modeling/DomainValidation.d.ts +8 -0
- package/build/src/modeling/DomainValidation.d.ts.map +1 -0
- package/build/src/modeling/DomainValidation.js +99 -0
- package/build/src/modeling/DomainValidation.js.map +1 -0
- package/build/src/modeling/types.d.ts +70 -0
- package/build/src/modeling/types.d.ts.map +1 -1
- package/build/src/modeling/types.js.map +1 -1
- package/build/src/modeling/validation/entity_validation.js +1 -1
- package/build/src/modeling/validation/entity_validation.js.map +1 -1
- package/build/src/modeling/validation/rules.d.ts +2 -3
- package/build/src/modeling/validation/rules.d.ts.map +1 -1
- package/build/src/modeling/validation/rules.js.map +1 -1
- package/build/src/modeling/validation/semantic_validation.d.ts +31 -0
- package/build/src/modeling/validation/semantic_validation.d.ts.map +1 -0
- package/build/src/modeling/validation/semantic_validation.js +126 -0
- package/build/src/modeling/validation/semantic_validation.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/data/models/example-generator-api.json +12 -12
- package/noop.ts +3 -0
- package/package.json +9 -4
- package/src/events/authorization/AuthorizationEvents.ts +1 -1
- package/src/events/cookies/CookieEvents.ts +1 -1
- package/src/modeling/DataDomain.ts +84 -3
- package/src/modeling/DomainElement.ts +16 -0
- package/src/modeling/DomainImpactAnalysis.ts +54 -239
- package/src/modeling/DomainValidation.ts +105 -0
- package/src/modeling/types.ts +86 -0
- package/src/modeling/validation/entity_validation.ts +1 -1
- package/src/modeling/validation/rules.ts +2 -4
- package/src/modeling/validation/semantic_validation.ts +145 -0
- package/tests/unit/events/EventsTestHelpers.ts +16 -0
- package/tests/unit/events/amf.spec.ts +151 -0
- package/tests/unit/events/authorization.spec.ts +150 -0
- package/tests/unit/events/cookie.spec.ts +274 -0
- package/tests/unit/events/encryption.spec.ts +108 -0
- package/tests/unit/events/events_polyfills.ts +77 -0
- package/tests/unit/events/process.spec.ts +120 -0
- package/tests/unit/events/reporting.spec.ts +82 -0
- package/tests/unit/events/telemetry.spec.ts +224 -0
- package/tests/unit/events/transport.spec.ts +139 -0
- package/tests/unit/modeling/data_domain_foreign.spec.ts +244 -0
- package/tests/unit/modeling/domain_impact_analysis.spec.ts +0 -110
- package/tests/unit/modeling/domain_validation.spec.ts +94 -0
- package/tests/unit/modeling/validation/semantic_validation.spec.ts +91 -0
- package/tests/unit/models/environment.spec.ts +574 -0
- package/tests/unit/models/error_response.spec.ts +183 -0
- package/tests/unit/models/headers_array.spec.ts +86 -0
- package/tests/unit/models/http-actions/assertion/equal_assertion.spec.ts +103 -0
- package/tests/unit/models/http-actions/assertion/greater_than_assertion.spec.ts +91 -0
- package/tests/unit/models/http-actions/assertion/includes_assertion.spec.ts +71 -0
- package/tests/unit/models/http-actions/assertion/less_than_assertion.spec.ts +91 -0
- package/tests/unit/models/http-actions/assertion/matches_assertion.spec.ts +71 -0
- package/tests/unit/models/http-actions/assertion/matches_schema_assertion.spec.ts +117 -0
- package/tests/unit/models/http-actions/assertion/not_equal_assertion.spec.ts +103 -0
- package/tests/unit/models/http-actions/assertion/not_includes_assertion.spec.ts +71 -0
- package/tests/unit/models/http-actions/assertion/not_ok_assertion.spec.ts +47 -0
- package/tests/unit/models/http-actions/assertion/not_to_be_assertion.spec.ts +72 -0
- package/tests/unit/models/http-actions/assertion/ok_assertion.spec.ts +44 -0
- package/tests/unit/models/http-actions/assertion/to_be_assertion.spec.ts +71 -0
- package/tests/unit/models/http-actions/transformation/as_lower_case_step.spec.ts +47 -0
- package/tests/unit/models/http-actions/transformation/as_number_step.spec.ts +47 -0
- package/tests/unit/models/http-actions/transformation/as_upper_case_step.spec.ts +47 -0
- package/tests/unit/models/http-actions/transformation/round_step.spec.ts +69 -0
- package/tests/unit/models/http-actions/transformation/substring_step.spec.ts +85 -0
- package/tests/unit/models/http-actions/transformation/trim_step.spec.ts +44 -0
- package/tests/unit/models/http_cookie.spec.ts +516 -0
- package/tests/unit/models/http_history.spec.ts +443 -0
- package/tests/unit/models/project_folder.spec.ts +926 -0
- package/tests/unit/models/project_item.spec.ts +137 -0
- package/tests/unit/models/project_request.spec.ts +1047 -0
- package/tests/unit/models/project_schema.spec.ts +236 -0
- package/tests/unit/models/property.spec.ts +625 -0
- package/tests/unit/models/provider.spec.ts +102 -0
- package/tests/unit/models/request.spec.ts +1206 -0
- package/tests/unit/models/request_log.spec.ts +308 -0
- package/tests/unit/models/request_time.spec.ts +138 -0
- package/tests/unit/models/response_redirect.spec.ts +303 -0
- package/tests/unit/models/sent_request.spec.ts +206 -0
- package/tests/unit/models/server.spec.ts +195 -0
- package/tests/unit/models/thing.spec.ts +154 -0
- package/build/oauth-popup.html +0 -33
- /package/tests/unit/models/{Certificate.spec.ts → certificate.spec.ts} +0 -0
- /package/tests/unit/models/{HostRule.spec.ts → host_rule.spec.ts} +0 -0
- /package/tests/unit/models/{HttpProject.spec.ts → http_project.spec.ts} +0 -0
- /package/tests/unit/models/{HttpRequest.spec.ts → http_request.spec.ts} +0 -0
- /package/tests/unit/models/{HttpResponse.spec.ts → http_response.spec.ts} +0 -0
- /package/tests/unit/models/{License.spec.ts → license.spec.ts} +0 -0
- /package/tests/unit/models/{Response.spec.ts → response.spec.ts} +0 -0
package/RELEASE.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Release Guide
|
|
2
|
+
|
|
3
|
+
This project uses an **automated release system** with conventional commits and GitHub Actions. Releases are automatically created when changes are merged to the main branch.
|
|
4
|
+
|
|
5
|
+
## 🚀 Automated Releases (Recommended)
|
|
6
|
+
|
|
7
|
+
### How It Works
|
|
8
|
+
|
|
9
|
+
1. **Push to main branch** (usually via PR merge)
|
|
10
|
+
2. **Tests run automatically** to ensure quality
|
|
11
|
+
3. **System analyzes commit messages** since the last release
|
|
12
|
+
4. **Release type is determined automatically:**
|
|
13
|
+
- `major` - if commits contain "breaking:" or "!:"
|
|
14
|
+
- `minor` - if commits contain "feat:" (new features)
|
|
15
|
+
- `patch` - for all other changes (bug fixes, docs, etc.)
|
|
16
|
+
5. **Release is created automatically** with changelog and npm publish
|
|
17
|
+
|
|
18
|
+
### Commit Message Examples
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Major release (breaking changes)
|
|
22
|
+
git commit -m "feat!: remove deprecated API"
|
|
23
|
+
git commit -m "feat: new system
|
|
24
|
+
|
|
25
|
+
BREAKING CHANGE: Old methods no longer work"
|
|
26
|
+
|
|
27
|
+
# Minor release (new features)
|
|
28
|
+
git commit -m "feat: add OAuth2 support"
|
|
29
|
+
git commit -m "feat(auth): implement JWT tokens"
|
|
30
|
+
|
|
31
|
+
# Patch release (bug fixes, docs, etc.)
|
|
32
|
+
git commit -m "fix: resolve memory leak"
|
|
33
|
+
git commit -m "docs: update API documentation"
|
|
34
|
+
git commit -m "chore: update dependencies"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### What Happens Automatically
|
|
38
|
+
|
|
39
|
+
1. ✅ Tests run to ensure everything works
|
|
40
|
+
2. ✅ Version is bumped in `package.json`
|
|
41
|
+
3. ✅ Changes are committed with conventional commit message
|
|
42
|
+
4. ✅ Git tag is created (e.g., `v1.2.3`)
|
|
43
|
+
5. ✅ GitHub release is created with automated changelog
|
|
44
|
+
6. ✅ Package is published to npm
|
|
45
|
+
|
|
46
|
+
## 🔧 Manual Releases (Fallback)
|
|
47
|
+
|
|
48
|
+
If you need to create a release manually (e.g., for hotfixes or special releases):
|
|
49
|
+
|
|
50
|
+
### Option 1: Use the release script
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# Create a patch release (bug fixes)
|
|
54
|
+
npm run release:patch
|
|
55
|
+
|
|
56
|
+
# Create a minor release (new features)
|
|
57
|
+
npm run release:minor
|
|
58
|
+
|
|
59
|
+
# Create a major release (breaking changes)
|
|
60
|
+
npm run release:major
|
|
61
|
+
|
|
62
|
+
# Or use the default (patch)
|
|
63
|
+
npm run release
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Option 2: Manual tag creation
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm run build
|
|
70
|
+
# Update version in package.json
|
|
71
|
+
npm version patch --no-git-tag-version
|
|
72
|
+
|
|
73
|
+
# Commit the change
|
|
74
|
+
git add package.json
|
|
75
|
+
git commit -m "chore: bump version to X.Y.Z"
|
|
76
|
+
|
|
77
|
+
# Create and push tag
|
|
78
|
+
git tag vX.Y.Z
|
|
79
|
+
git push origin main
|
|
80
|
+
git push origin vX.Y.Z
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## 📋 Conventional Commits
|
|
84
|
+
|
|
85
|
+
The release system uses conventional commits to generate changelogs. Your commit messages should follow this format:
|
|
86
|
+
|
|
87
|
+
```plain
|
|
88
|
+
type(scope): description
|
|
89
|
+
|
|
90
|
+
[optional body]
|
|
91
|
+
|
|
92
|
+
[optional footer]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Commit Types
|
|
96
|
+
|
|
97
|
+
- `feat`: New features (triggers minor release)
|
|
98
|
+
- `fix`: Bug fixes (triggers patch release)
|
|
99
|
+
- `docs`: Documentation changes
|
|
100
|
+
- `style`: Code style changes (formatting, etc.)
|
|
101
|
+
- `refactor`: Code refactoring
|
|
102
|
+
- `test`: Adding or updating tests
|
|
103
|
+
- `chore`: Maintenance tasks
|
|
104
|
+
|
|
105
|
+
### Breaking Changes
|
|
106
|
+
|
|
107
|
+
To indicate a breaking change, use either:
|
|
108
|
+
|
|
109
|
+
- `!:` in the commit message: `feat!: remove deprecated API`
|
|
110
|
+
- `BREAKING CHANGE:` in the commit body:
|
|
111
|
+
|
|
112
|
+
```plain
|
|
113
|
+
feat: new authentication system
|
|
114
|
+
|
|
115
|
+
BREAKING CHANGE: Old auth methods are no longer supported
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## 🔄 Workflow Comparison
|
|
119
|
+
|
|
120
|
+
| Aspect | Automated Release | Manual Release |
|
|
121
|
+
|--------|------------------|----------------|
|
|
122
|
+
| **Trigger** | Push to main | Tag push or script |
|
|
123
|
+
| **Release Type** | Auto-detected from commits | Manually specified |
|
|
124
|
+
| **Effort** | Zero - fully automated | Manual intervention |
|
|
125
|
+
| **Use Case** | Regular development flow | Hotfixes, special releases |
|
|
126
|
+
|
|
127
|
+
## 🛠️ Configuration
|
|
128
|
+
|
|
129
|
+
The release system is configured in:
|
|
130
|
+
|
|
131
|
+
- `.github/workflows/auto-release.yml` - Automated release workflow
|
|
132
|
+
- `.github/workflows/release.yml` - Manual release workflow (fallback)
|
|
133
|
+
- `scripts/release.js` - Manual release automation script
|
|
134
|
+
- `commitlint.config.js` - Conventional commits configuration
|
|
135
|
+
- `package.json` - Version management and scripts
|
|
136
|
+
|
|
137
|
+
## 🚨 Troubleshooting
|
|
138
|
+
|
|
139
|
+
### Common Issues
|
|
140
|
+
|
|
141
|
+
1. **No release created**: Check if commits follow conventional format
|
|
142
|
+
2. **Wrong release type**: Ensure commit messages use correct prefixes
|
|
143
|
+
3. **Tests failing**: Release won't proceed if tests fail
|
|
144
|
+
4. **Permission denied**: Ensure GitHub token has write permissions
|
|
145
|
+
|
|
146
|
+
### Debugging
|
|
147
|
+
|
|
148
|
+
The automated workflow logs will show:
|
|
149
|
+
|
|
150
|
+
- Last tag found
|
|
151
|
+
- Commits since last tag
|
|
152
|
+
- Determined release type
|
|
153
|
+
- Calculated new version
|
|
154
|
+
|
|
155
|
+
### Rollback
|
|
156
|
+
|
|
157
|
+
If you need to rollback a release:
|
|
158
|
+
|
|
159
|
+
1. Delete the tag locally: `git tag -d vX.Y.Z`
|
|
160
|
+
2. Delete the tag on GitHub: `git push origin :refs/tags/vX.Y.Z`
|
|
161
|
+
3. Revert the version in `package.json`
|
|
162
|
+
4. Commit the revert: `git commit -m "chore: revert version to X.Y.Z"`
|
|
163
|
+
5. Push the changes: `git push origin main`
|
package/RELEASE_SETUP.md
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# Automated Release System Setup
|
|
2
|
+
|
|
3
|
+
## 🎯 Overview
|
|
4
|
+
|
|
5
|
+
This project now has a **fully automated release system** that:
|
|
6
|
+
|
|
7
|
+
1. **Automatically detects release types** from commit messages
|
|
8
|
+
2. **Creates releases on every merge to main** (when there are changes)
|
|
9
|
+
3. **Generates changelogs** from conventional commits
|
|
10
|
+
4. **Publishes to npm** automatically
|
|
11
|
+
5. **Provides manual fallback** for special cases
|
|
12
|
+
|
|
13
|
+
## 🔄 How It Works
|
|
14
|
+
|
|
15
|
+
### Automated Flow
|
|
16
|
+
|
|
17
|
+
```plain
|
|
18
|
+
Push to main → Tests run → Analyze commits → Determine release type → Create release
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
1. **Trigger**: Any push to the `main` branch (usually PR merges)
|
|
22
|
+
2. **Testing**: Full test suite runs to ensure quality
|
|
23
|
+
3. **Analysis**: System examines commits since last release
|
|
24
|
+
4. **Decision**: Release type determined by commit messages:
|
|
25
|
+
- `major`: Breaking changes (`!:` or `BREAKING CHANGE:`)
|
|
26
|
+
- `minor`: New features (`feat:`)
|
|
27
|
+
- `patch`: Everything else (`fix:`, `docs:`, `chore:`, etc.)
|
|
28
|
+
5. **Release**: If changes exist, creates GitHub release + npm publish
|
|
29
|
+
|
|
30
|
+
### Manual Fallback
|
|
31
|
+
|
|
32
|
+
```plain
|
|
33
|
+
Create tag → Manual release workflow → Create release
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
For hotfixes or special releases, you can still use manual methods.
|
|
37
|
+
|
|
38
|
+
## 📁 Workflow Files
|
|
39
|
+
|
|
40
|
+
### `.github/workflows/auto-release.yml`
|
|
41
|
+
|
|
42
|
+
- **Purpose**: Main automated release workflow
|
|
43
|
+
- **Trigger**: Push to main branch
|
|
44
|
+
- **Jobs**:
|
|
45
|
+
- `test`: Run tests
|
|
46
|
+
- `determine-release`: Analyze commits and decide release type
|
|
47
|
+
- `release`: Create release and publish
|
|
48
|
+
|
|
49
|
+
### `.github/workflows/release.yml`
|
|
50
|
+
|
|
51
|
+
- **Purpose**: Manual release fallback
|
|
52
|
+
- **Trigger**: Push of version tags (`v*`)
|
|
53
|
+
- **Use case**: Manual releases, hotfixes
|
|
54
|
+
|
|
55
|
+
### `.github/workflows/test.yml`
|
|
56
|
+
|
|
57
|
+
- **Purpose**: Quality assurance
|
|
58
|
+
- **Trigger**: PRs and pushes to main
|
|
59
|
+
- **Jobs**: Run tests and linting
|
|
60
|
+
|
|
61
|
+
## 🎯 Release Type Detection
|
|
62
|
+
|
|
63
|
+
The system analyzes commit messages since the last release:
|
|
64
|
+
|
|
65
|
+
### Major Release (X.0.0)
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
git commit -m "feat!: remove deprecated API"
|
|
69
|
+
git commit -m "feat: new system
|
|
70
|
+
|
|
71
|
+
BREAKING CHANGE: Old methods no longer work"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Minor Release (0.X.0)
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
git commit -m "feat: add OAuth2 support"
|
|
78
|
+
git commit -m "feat(auth): implement JWT tokens"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Patch Release (0.0.X)
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
git commit -m "fix: resolve memory leak"
|
|
85
|
+
git commit -m "docs: update API docs"
|
|
86
|
+
git commit -m "chore: update dependencies"
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## 🛠️ Configuration Details
|
|
90
|
+
|
|
91
|
+
### Commit Analysis Logic
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
# Check for breaking changes first
|
|
95
|
+
if echo "$COMMITS" | grep -q "BREAKING CHANGE\|!:"; then
|
|
96
|
+
RELEASE_TYPE="major"
|
|
97
|
+
# Then check for new features
|
|
98
|
+
elif echo "$COMMITS" | grep -q "^feat"; then
|
|
99
|
+
RELEASE_TYPE="minor"
|
|
100
|
+
# Default to patch
|
|
101
|
+
else
|
|
102
|
+
RELEASE_TYPE="patch"
|
|
103
|
+
fi
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Version Calculation
|
|
107
|
+
|
|
108
|
+
Uses the `@pawel-up/semver` package for proper semantic versioning:
|
|
109
|
+
|
|
110
|
+
```javascript
|
|
111
|
+
import SemVer from '@pawel-up/semver/classes/semver.js';
|
|
112
|
+
const ver = new SemVer(currentVersion);
|
|
113
|
+
ver.inc(releaseType);
|
|
114
|
+
return ver.format();
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Changelog Generation
|
|
118
|
+
|
|
119
|
+
Uses `conventional-changelog-cli` with the `conventionalcommits` preset:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
npx conventional-changelog-cli@latest release --preset conventionalcommits --release-count 1
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## 🔧 Setup Requirements
|
|
126
|
+
|
|
127
|
+
### GitHub Secrets
|
|
128
|
+
|
|
129
|
+
- `GITHUB_TOKEN`: Automatically provided
|
|
130
|
+
- `NPM_TOKEN`: Required for npm publishing
|
|
131
|
+
|
|
132
|
+
### Dependencies
|
|
133
|
+
|
|
134
|
+
- `conventional-changelog-cli`: For changelog generation
|
|
135
|
+
- `@pawel-up/semver`: For version calculation
|
|
136
|
+
- `@commitlint/config-conventional`: For commit validation
|
|
137
|
+
|
|
138
|
+
### Permissions
|
|
139
|
+
|
|
140
|
+
The workflows require these permissions:
|
|
141
|
+
|
|
142
|
+
- `contents: write` - Create releases and tags
|
|
143
|
+
- `issues: write` - Update issues
|
|
144
|
+
- `pull-requests: write` - Update PRs
|
|
145
|
+
|
|
146
|
+
## 🚀 Usage Examples
|
|
147
|
+
|
|
148
|
+
### Normal Development Flow
|
|
149
|
+
|
|
150
|
+
1. **Create feature branch**
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
git checkout -b feature/new-auth
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
2. **Make changes with proper commits**
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
git commit -m "feat: add OAuth2 authentication"
|
|
160
|
+
git commit -m "docs: update authentication docs"
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
3. **Create PR and merge to main**
|
|
164
|
+
- PR triggers test workflow
|
|
165
|
+
- Merge triggers auto-release workflow
|
|
166
|
+
- System creates minor release automatically
|
|
167
|
+
|
|
168
|
+
### Hotfix Flow
|
|
169
|
+
|
|
170
|
+
1. **Create hotfix branch**
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
git checkout -b hotfix/critical-bug
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
2. **Fix and commit**
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
git commit -m "fix: resolve critical memory leak"
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
3. **Merge to main**
|
|
183
|
+
- System creates patch release automatically
|
|
184
|
+
|
|
185
|
+
### Manual Release (if needed)
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# For immediate release
|
|
189
|
+
npm run release:patch
|
|
190
|
+
|
|
191
|
+
# Or create tag manually
|
|
192
|
+
git tag v1.2.3
|
|
193
|
+
git push origin v1.2.3
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
## 🔍 Monitoring and Debugging
|
|
197
|
+
|
|
198
|
+
### Workflow Logs
|
|
199
|
+
|
|
200
|
+
Check the GitHub Actions tab to see:
|
|
201
|
+
|
|
202
|
+
- Which commits were analyzed
|
|
203
|
+
- What release type was determined
|
|
204
|
+
- Why a release was or wasn't created
|
|
205
|
+
|
|
206
|
+
### Common Issues
|
|
207
|
+
|
|
208
|
+
1. **No release created**: No new commits since last tag
|
|
209
|
+
2. **Wrong release type**: Check commit message format
|
|
210
|
+
3. **Tests failing**: Release won't proceed
|
|
211
|
+
4. **Permission errors**: Check GitHub token permissions
|
|
212
|
+
|
|
213
|
+
### Debugging Commands
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
# Check last tag
|
|
217
|
+
git describe --tags --abbrev=0
|
|
218
|
+
|
|
219
|
+
# See commits since last tag
|
|
220
|
+
git log --pretty=format:"%s" $(git describe --tags --abbrev=0)..HEAD
|
|
221
|
+
|
|
222
|
+
# Check conventional commit format
|
|
223
|
+
npx commitlint --edit .git/COMMIT_EDITMSG
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
## 🎉 Benefits
|
|
227
|
+
|
|
228
|
+
1. **Zero manual intervention** for regular releases
|
|
229
|
+
2. **Consistent release process** with proper semantic versioning
|
|
230
|
+
3. **Automatic changelog generation** from commit history
|
|
231
|
+
4. **Quality gates** with automated testing
|
|
232
|
+
5. **Flexible fallback** for special cases
|
|
233
|
+
6. **Proper audit trail** with conventional commits
|
|
234
|
+
|
|
235
|
+
This setup provides a modern, automated release system that follows industry best practices and reduces manual work while ensuring quality and consistency.
|
|
@@ -29,7 +29,7 @@ declare class OidcEvents {
|
|
|
29
29
|
* @param target A node on which to dispatch the event.
|
|
30
30
|
* @returns Promise resolved when the token is removed
|
|
31
31
|
*/
|
|
32
|
-
static
|
|
32
|
+
static removeTokens(config: ITokenRemoveOptions, target?: EventTarget): Promise<void>;
|
|
33
33
|
}
|
|
34
34
|
export {};
|
|
35
35
|
//# sourceMappingURL=AuthorizationEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationEvents.d.ts","sourceRoot":"","sources":["../../../../src/events/authorization/AuthorizationEvents.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACX,MAAM,+BAA+B,CAAA;AAItC,qBAAa,mBAAmB;IAC9B,MAAM,KAAK,MAAM,IAAI,OAAO,YAAY,CAEvC;IAED,MAAM,KAAK,IAAI,IAAI,OAAO,UAAU,CAEnC;CACF;AAED,cAAM,YAAY;IAChB;;;;OAIG;WACU,SAAS,CAAC,MAAM,EAAE,oBAAoB,EAAE,MAAM,GAAE,WAAoB,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;IAMnH;;;;OAIG;WACU,WAAW,CAAC,MAAM,EAAE,mBAAmB,EAAE,MAAM,GAAE,WAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAKnG;AAED,cAAM,UAAU;IACd;;;;OAIG;WACU,SAAS,CACpB,MAAM,EAAE,oBAAoB,EAC5B,MAAM,GAAE,WAAoB,GAC3B,OAAO,CAAC,CAAC,cAAc,GAAG,eAAe,CAAC,EAAE,GAAG,SAAS,CAAC;IAS5D;;;;OAIG;WACU,
|
|
1
|
+
{"version":3,"file":"AuthorizationEvents.d.ts","sourceRoot":"","sources":["../../../../src/events/authorization/AuthorizationEvents.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACX,MAAM,+BAA+B,CAAA;AAItC,qBAAa,mBAAmB;IAC9B,MAAM,KAAK,MAAM,IAAI,OAAO,YAAY,CAEvC;IAED,MAAM,KAAK,IAAI,IAAI,OAAO,UAAU,CAEnC;CACF;AAED,cAAM,YAAY;IAChB;;;;OAIG;WACU,SAAS,CAAC,MAAM,EAAE,oBAAoB,EAAE,MAAM,GAAE,WAAoB,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;IAMnH;;;;OAIG;WACU,WAAW,CAAC,MAAM,EAAE,mBAAmB,EAAE,MAAM,GAAE,WAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAKnG;AAED,cAAM,UAAU;IACd;;;;OAIG;WACU,SAAS,CACpB,MAAM,EAAE,oBAAoB,EAC5B,MAAM,GAAE,WAAoB,GAC3B,OAAO,CAAC,CAAC,cAAc,GAAG,eAAe,CAAC,EAAE,GAAG,SAAS,CAAC;IAS5D;;;;OAIG;WACU,YAAY,CAAC,MAAM,EAAE,mBAAmB,EAAE,MAAM,GAAE,WAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAKpG"}
|
|
@@ -46,7 +46,7 @@ class OidcEvents {
|
|
|
46
46
|
* @param target A node on which to dispatch the event.
|
|
47
47
|
* @returns Promise resolved when the token is removed
|
|
48
48
|
*/
|
|
49
|
-
static async
|
|
49
|
+
static async removeTokens(config, target = window) {
|
|
50
50
|
const e = new ContextEvent(AuthorizationEventTypes.Oidc.removeTokens, config);
|
|
51
51
|
target.dispatchEvent(e);
|
|
52
52
|
return e.detail.result;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationEvents.js","sourceRoot":"","sources":["../../../../src/events/authorization/AuthorizationEvents.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,OAAO,mBAAmB;IAC9B,MAAM,KAAK,MAAM;QACf,OAAO,YAAY,CAAA;IACrB,CAAC;IAED,MAAM,KAAK,IAAI;QACb,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AAED,MAAM,YAAY;IAChB;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,MAA4B,EAAE,SAAsB,MAAM;QAC/E,MAAM,CAAC,GAAG,IAAI,YAAY,CAAmC,uBAAuB,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAA;QAC9G,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;QACvB,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,CAAA;IACxB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,MAA2B,EAAE,SAAsB,MAAM;QAChF,MAAM,CAAC,GAAG,IAAI,YAAY,CAA4B,uBAAuB,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAA;QACzG,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;QACvB,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,CAAA;IACxB,CAAC;CACF;AAED,MAAM,UAAU;IACd;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,SAAS,CACpB,MAA4B,EAC5B,SAAsB,MAAM;QAE5B,MAAM,CAAC,GAAG,IAAI,YAAY,CACxB,uBAAuB,CAAC,IAAI,CAAC,SAAS,EACtC,MAAM,CACP,CAAA;QACD,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;QACvB,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,CAAA;IACxB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"AuthorizationEvents.js","sourceRoot":"","sources":["../../../../src/events/authorization/AuthorizationEvents.ts"],"names":[],"mappings":"AAQA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sB,MAAM;QACjF,MAAM,CAAC,GAAG,IAAI,YAAY,CAA4B,uBAAuB,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;QACxG,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;QACvB,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,CAAA;IACxB,CAAC;CACF","sourcesContent":["/* eslint-disable @typescript-eslint/no-extraneous-class */\nimport {\n IOAuth2Authorization,\n ITokenRemoveOptions,\n IOidcTokenInfo,\n IOidcTokenError,\n ITokenInfo,\n} from '../../models/Authorization.js'\nimport { AuthorizationEventTypes } from './AuthorizationEventTypes.js'\nimport { ContextEvent } from '../BaseEvents.js'\n\nexport class AuthorizationEvents {\n static get OAuth2(): typeof OAuth2Events {\n return OAuth2Events\n }\n\n static get Oidc(): typeof OidcEvents {\n return OidcEvents\n }\n}\n\nclass OAuth2Events {\n /**\n * @param config Authorization options.\n * @param target A node on which to dispatch the event.\n * @returns Promise resolved with authorization result\n */\n static async authorize(config: IOAuth2Authorization, target: EventTarget = window): Promise<ITokenInfo | undefined> {\n const e = new ContextEvent<IOAuth2Authorization, ITokenInfo>(AuthorizationEventTypes.OAuth2.authorize, config)\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * @param config Authorization options.\n * @param target A node on which to dispatch the event.\n * @returns Promise resolved when the token is removed\n */\n static async removeToken(config: ITokenRemoveOptions, target: EventTarget = window): Promise<void> {\n const e = new ContextEvent<ITokenRemoveOptions, void>(AuthorizationEventTypes.OAuth2.removeToken, config)\n target.dispatchEvent(e)\n return e.detail.result\n }\n}\n\nclass OidcEvents {\n /**\n * @param config Authorization options.\n * @param target A node on which to dispatch the event.\n * @returns Promise resolved with authorization result\n */\n static async authorize(\n config: IOAuth2Authorization,\n target: EventTarget = window\n ): Promise<(IOidcTokenInfo | IOidcTokenError)[] | undefined> {\n const e = new ContextEvent<IOAuth2Authorization, (IOidcTokenInfo | IOidcTokenError)[]>(\n AuthorizationEventTypes.Oidc.authorize,\n config\n )\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * @param config Authorization options.\n * @param target A node on which to dispatch the event.\n * @returns Promise resolved when the token is removed\n */\n static async removeTokens(config: ITokenRemoveOptions, target: EventTarget = window): Promise<void> {\n const e = new ContextEvent<ITokenRemoveOptions, void>(AuthorizationEventTypes.Oidc.removeTokens, config)\n target.dispatchEvent(e)\n return e.detail.result\n }\n}\n"]}
|
|
@@ -24,7 +24,7 @@ export declare class CookieEvents {
|
|
|
24
24
|
* @param target The target on which to dispatch the event
|
|
25
25
|
* @returns The list of project index objects.
|
|
26
26
|
*/
|
|
27
|
-
static listAll(target
|
|
27
|
+
static listAll(target?: EventTarget): Promise<IHttpCookie[] | undefined>;
|
|
28
28
|
/**
|
|
29
29
|
* @param target The target on which to dispatch the event
|
|
30
30
|
* @param domain The cookie domain
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookieEvents.d.ts","sourceRoot":"","sources":["../../../../src/events/cookies/CookieEvents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAGL,mBAAmB,EAGpB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,qBAAa,YAAY;IACvB;;;;;;OAMG;WACU,OAAO,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"CookieEvents.d.ts","sourceRoot":"","sources":["../../../../src/events/cook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AAG,SAAS,CAAC;IAMxD;;;;;;OAMG;WACU,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,EAAE,MAAM,GAAE,WAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAO5F;;OAEG;IACH,MAAM,KAAK,KAAK,IAAI,OAAO,WAAW,CAErC;CACF;AAED,cAAM,WAAW;IACf;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,GAAE,WAAoB,GAAG,IAAI;IAUtE;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAE,WAAoB,GAAG,IAAI;CAI5F"}
|
|
@@ -9,7 +9,7 @@ export class CookieEvents {
|
|
|
9
9
|
* @param target The target on which to dispatch the event
|
|
10
10
|
* @returns The list of project index objects.
|
|
11
11
|
*/
|
|
12
|
-
static async listAll(target) {
|
|
12
|
+
static async listAll(target = window) {
|
|
13
13
|
const detail = {};
|
|
14
14
|
const e = new CustomEvent(CookieEventTypes.listAll, {
|
|
15
15
|
bubbles: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookieEvents.js","sourceRoot":"","sources":["../../../../src/events/cookies/CookieEvents.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,EAEL,YAAY,EAEZ,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,kBAAkB,CAAA;AAuBzB,MAAM,OAAO,YAAY;IACvB;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"CookieEvents.js","sourceRoot":"","sources":["../../../../src/events/cookies/CookieEvents.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,EAEL,YAAY,EAEZ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AAM,KAAK,KAAK;QACd,OAAO,WAAW,CAAA;IACpB,CAAC;CACF;AAED,MAAM,WAAW;IACf;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,MAAmB,EAAE,SAAsB,MAAM;QAC7D,MAAM,CAAC,GAAG,IAAI,WAAW,CAAgB,gBAAgB,CAAC,KAAK,CAAC,MAAM,EAAE;YACtE,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,EAAE,MAAM,EAAE;SACnB,CAAC,CAAA;QACF,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;IACzB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,MAAwC,EAAE,SAAsB,MAAM;QAClF,MAAM,CAAC,GAAG,IAAI,uBAAuB,CAAc,gBAAgB,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QACzF,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;IACzB,CAAC;CACF","sourcesContent":["/* eslint-disable @typescript-eslint/no-extraneous-class */\nimport { CookieEventTypes } from './CookieEventTypes.js'\nimport { IHttpCookie } from '../../models/HttpCookie.js'\nimport {\n ContextEventDetailWithResult,\n ContextEvent,\n ContextChangeRecord,\n ContextUpdateEvent,\n ContextStateUpdateEvent,\n} from '../BaseEvents.js'\n\nexport interface ICookieDomainListDetail {\n domain: string\n}\n\nexport interface ICookieUrlListDetail {\n url: string\n}\n\nexport interface ICookieItemsDetail {\n cookies: IHttpCookie[]\n}\n\nexport interface ICookieDetail {\n cookie: IHttpCookie\n}\n\nexport interface ICookieDeleteUrlDetail {\n url: string\n name?: string\n}\n\nexport class CookieEvents {\n /**\n * Lists all projects in the data store.\n * This does not return the whole project record. Instead it only returns the index object of the project.\n *\n * @param target The target on which to dispatch the event\n * @returns The list of project index objects.\n */\n static async listAll(target: EventTarget = window): Promise<IHttpCookie[] | undefined> {\n const detail: ContextEventDetailWithResult<IHttpCookie[]> = {}\n const e = new CustomEvent(CookieEventTypes.listAll, {\n bubbles: true,\n composed: true,\n cancelable: true,\n detail,\n })\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * @param target The target on which to dispatch the event\n * @param domain The cookie domain\n * @returns The list of project index objects.\n */\n static async listDomain(domain: string, target: EventTarget = window): Promise<IHttpCookie[] | undefined> {\n const detail: ICookieDomainListDetail = { domain }\n const e = new ContextEvent<ICookieDomainListDetail, IHttpCookie[]>(CookieEventTypes.listDomain, detail)\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * @param target The target on which to dispatch the event\n * @param url The cookie URL\n * @returns The list of project index objects.\n */\n static async listUrl(url: string, target: EventTarget = window): Promise<IHttpCookie[] | undefined> {\n const detail: ICookieUrlListDetail = { url }\n const e = new ContextEvent<ICookieUrlListDetail, IHttpCookie[]>(CookieEventTypes.listUrl, detail)\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * Deletes cookies from the store.\n *\n * @param target The target on which to dispatch the event\n * @param cookies The list of cookies to remove\n */\n static async delete(cookies: IHttpCookie[], target: EventTarget = window): Promise<void> {\n const detail: ICookieItemsDetail = { cookies }\n const e = new ContextEvent<ICookieItemsDetail, void>(CookieEventTypes.delete, detail)\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * Deletes cookies from the store.\n *\n * @param target The target on which to dispatch the event\n * @param url The url associated with the cookie. Depending on the session mechanism\n * the URL or the domain and the path is used.\n * @param name The name of the cookie to remove. When not set all cookies are removed for the given URL.\n */\n static async deleteUrl(url: string, name?: string, target: EventTarget = window): Promise<void> {\n const detail: ICookieDeleteUrlDetail = { url, name }\n const e = new ContextEvent<ICookieDeleteUrlDetail, void>(CookieEventTypes.deleteUrl, detail)\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * Updates a cookie in the store.\n *\n * @param target The target on which to dispatch the event\n * @param cookie A cookie to update\n * @returns The change record of the updated cookie.\n */\n static async update(\n cookie: IHttpCookie,\n target: EventTarget = window\n ): Promise<ContextChangeRecord<IHttpCookie> | undefined> {\n const e = new ContextUpdateEvent(CookieEventTypes.update, { item: cookie })\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * Updates a cookie in the store in a bulk operation.\n *\n * @param target The target on which to dispatch the event\n * @param cookies A list of cookies to update\n * @returns The change record of the updated cookie.\n */\n static async updateBulk(cookies: IHttpCookie[], target: EventTarget = window): Promise<void> {\n const detail: ICookieItemsDetail = { cookies }\n const e = new ContextEvent<ICookieItemsDetail, void>(CookieEventTypes.updateBulk, detail)\n target.dispatchEvent(e)\n return e.detail.result\n }\n\n /**\n * Events related to a state of a cookie store.\n */\n static get State(): typeof StateEvents {\n return StateEvents\n }\n}\n\nclass StateEvents {\n /**\n * Event dispatched when a cookie was deleted from the context store\n * @param target The target on which to dispatch the event\n * @param cookie The schema of the removed cookie\n */\n static delete(cookie: IHttpCookie, target: EventTarget = window): void {\n const e = new CustomEvent<ICookieDetail>(CookieEventTypes.State.delete, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: { cookie },\n })\n target.dispatchEvent(e)\n }\n\n /**\n * Event dispatched when a cookie was deleted from the context store\n * @param target The target on which to dispatch the event\n * @param record The change record.\n */\n static update(record: ContextChangeRecord<IHttpCookie>, target: EventTarget = window): void {\n const e = new ContextStateUpdateEvent<IHttpCookie>(CookieEventTypes.State.update, record)\n target.dispatchEvent(e)\n }\n}\n"]}
|
|
@@ -211,6 +211,20 @@ export declare class DataDomain extends DependentModel {
|
|
|
211
211
|
* ```
|
|
212
212
|
*/
|
|
213
213
|
listNamespaces(): Generator<DomainNamespace>;
|
|
214
|
+
/**
|
|
215
|
+
* Lists all namespaces in the graph that are part of specified domain.
|
|
216
|
+
*
|
|
217
|
+
* @param namespace The foreign namespace to search in. When not found, it throws an error.
|
|
218
|
+
* @returns A generator that yields each `DomainNamespace`.
|
|
219
|
+
* @throws Error When the foreign domain is not found.
|
|
220
|
+
* @example
|
|
221
|
+
* ```typescript
|
|
222
|
+
* for (const ns of dataDomain.listForeignNamespaces('foreignDomainKey')) {
|
|
223
|
+
* console.log(ns.key);
|
|
224
|
+
* }
|
|
225
|
+
* ```
|
|
226
|
+
*/
|
|
227
|
+
listForeignNamespaces(namespace: string): Generator<DomainNamespace>;
|
|
214
228
|
/**
|
|
215
229
|
* Checks if this data domain has any namespaces.
|
|
216
230
|
*
|
|
@@ -332,12 +346,26 @@ export declare class DataDomain extends DependentModel {
|
|
|
332
346
|
* @returns A generator that yields each `DomainModel`.
|
|
333
347
|
* @example
|
|
334
348
|
* ```typescript
|
|
335
|
-
* for (const
|
|
336
|
-
* console.log(
|
|
349
|
+
* for (const model of namespace.listModels()) {
|
|
350
|
+
* console.log(model.key);
|
|
337
351
|
* }
|
|
338
352
|
* ```
|
|
339
353
|
*/
|
|
340
354
|
listModels(): Generator<DomainModel>;
|
|
355
|
+
/**
|
|
356
|
+
* Lists all models in the graph that are part of specified domain.
|
|
357
|
+
*
|
|
358
|
+
* @param namespace The foreign namespace to search in. When not found, it throws an error.
|
|
359
|
+
* @returns A generator that yields each `DomainModel`.
|
|
360
|
+
* @throws Error When the foreign domain is not found.
|
|
361
|
+
* @example
|
|
362
|
+
* ```typescript
|
|
363
|
+
* for (const model of dataDomain.listForeignModels('foreignDomainKey')) {
|
|
364
|
+
* console.log(model.key);
|
|
365
|
+
* }
|
|
366
|
+
* ```
|
|
367
|
+
*/
|
|
368
|
+
listForeignModels(namespace: string): Generator<DomainModel>;
|
|
341
369
|
/**
|
|
342
370
|
* Checks if this data domain has any direct models.
|
|
343
371
|
*
|
|
@@ -437,10 +465,24 @@ export declare class DataDomain extends DependentModel {
|
|
|
437
465
|
* ```
|
|
438
466
|
*/
|
|
439
467
|
listEntities(parent?: string): Generator<DomainEntity>;
|
|
468
|
+
/**
|
|
469
|
+
* Lists all entities in the graph that are part of specified domain.
|
|
470
|
+
*
|
|
471
|
+
* @param namespace The foreign namespace to search in. When not found, it throws an error.
|
|
472
|
+
* @returns A generator that yields each `DomainEntity`.
|
|
473
|
+
* @throws Error When the foreign domain is not found.
|
|
474
|
+
* @example
|
|
475
|
+
* ```typescript
|
|
476
|
+
* for (const model of dataDomain.listForeignEntities('foreignDomainKey')) {
|
|
477
|
+
* console.log(model.key);
|
|
478
|
+
* }
|
|
479
|
+
* ```
|
|
480
|
+
*/
|
|
481
|
+
listForeignEntities(namespace: string): Generator<DomainEntity>;
|
|
440
482
|
/**
|
|
441
483
|
* Lists all entities in the graph that are not part of this domain.
|
|
442
484
|
*/
|
|
443
|
-
|
|
485
|
+
listAllForeignEntities(): Generator<DomainEntity>;
|
|
444
486
|
/**
|
|
445
487
|
* Finds an entity by its key.
|
|
446
488
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataDomain.d.ts","sourceRoot":"","sources":["../../../src/modeling/DataDomain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAA;AACxD,OAAO,EAEL,cAAc,EAKf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC9G,OAAO,EAAE,KAAK,qBAAqB,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAC7G,OAAO,EAAE,KAAK,iBAAiB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACtE,OAAO,EAAE,KAAK,kBAAkB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1E,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAGvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,KAAK,gB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