1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/src/lib/db
Nuno Góis db0a0d7097
refactor: PATs (#6101)
https://linear.app/unleash/issue/SR-379/refactor-pats

This PR refactors PATs.

- Adds a new `createPatSchema`, which better aligns with
https://docs.getunleash.io/contributing/ADRs/overarching/separation-request-response-schemas
- Drops the model type and class in favor of using the schema types
directly, which is more consistent with the rest of the codebase and
easier to maintain
 - Misc scouting, improvement and fixes

This breaks Enterprise temporarily, but it's faster to move forward this
way.
2024-02-01 14:28:46 +00:00
..
access-store.test.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
access-store.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
account-store.ts chore:system user and events created by userid migrations (#5612) 2023-12-22 11:19:39 +01:00
addon-store.ts OpenAPI: addon operations (#3421) 2023-04-18 10:50:34 +00:00
api-token-store.ts fix: add metrics for service account and api tokens (#5478) 2023-11-29 13:09:30 +01:00
client-applications-store.ts chore(deps): update dependency @biomejs/biome to v1.4.1 (#5709) 2024-01-10 09:11:49 +00:00
client-instance-store.ts fix: Use knex whereLike instead of whereRaw to fix escaping (#6041) 2024-01-26 10:44:53 +01:00
context-field-store.ts chore: remove context/segment usage flag (#4242) 2023-07-14 13:30:15 +03:00
db-pool.ts feat: add "application_name" as an optional DB option #1170 (#1478) 2022-04-07 20:55:56 +02:00
db.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
event-store.ts chore: re use extract user methods (#5947) 2024-01-18 13:15:21 +01:00
favorite-features-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
favorite-projects-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
feature-environment-store.ts fix: clone variants (featureEnv and strategy) when cloning an env (#6026) 2024-01-25 10:53:43 +02:00
feature-strategy-store.test.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
feature-tag-store.ts feat: implement column created_by_user_id in feature_tag (#5695) 2023-12-21 10:00:45 +01:00
feature-type-store.ts feat: feature type updated audit log (#5415) 2023-11-24 14:24:31 +01:00
group-store.ts fix: only delete SSO-synced group membership where membership was added by SSO sync (#4929) 2023-10-05 13:22:46 +02:00
index.ts chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
pat-store.ts refactor: PATs (#6101) 2024-02-01 14:28:46 +00:00
project-stats-store.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
project-store.ts feat: expose project time to production for project flag trends (#6068) 2024-01-30 13:28:20 +01:00
public-signup-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
reset-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
role-store.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
segment-store.test.ts chore: remove detectSegmentUsageInChangeRequests flag (#6080) 2024-01-31 17:24:35 +09:00
segment-store.ts chore: remove detectSegmentUsageInChangeRequests flag (#6080) 2024-01-31 17:24:35 +09:00
session-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
setting-store.ts chore: expose instanceId so it can be used from addons (#5231) 2023-10-31 12:38:21 +01:00
strategy-store.ts feat: add title to strategy (#3510) 2023-04-18 08:59:02 +02:00
tag-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
transaction.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
user-feedback-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-splash-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-store.ts chore:system user and events created by userid migrations (#5612) 2023-12-22 11:19:39 +01:00