Commit 7b9acb6
committed
feat(api): add source metadata for env var imports
Add an optional discriminated `source` field to the import request schema
to capture whether variables are imported by a user or an integration and to
include the corresponding identifier (userId or integration). Propagate this
source into the database payloads (`lastUpdatedBy`) when creating or
syncing environment variables so the system records who/what initiated the
import.1 parent 6ecd2cc commit 7b9acb6
File tree
3 files changed
+10
-1
lines changed- apps/webapp/app/routes
- packages/core/src/v3/schemas
3 files changed
+10
-1
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1152 | 1152 | | |
1153 | 1153 | | |
1154 | 1154 | | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
1155 | 1161 | | |
1156 | 1162 | | |
1157 | 1163 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments