chore(medusa): remove PublishableAPIKeys feature flag (#3087)

This commit is contained in:
Frane Polić authored and GitHub committed 2023-02-20 21:16:08 +01:00
1 parent 46547f29c7
commit 6c04624727
21 files changed
+58 -133

No files matched your search

@@ -1,9 +1,6 @@
import { PrimaryColumn } from "typeorm"
import { Entity, PrimaryColumn } from "typeorm"
import { FeatureFlagEntity } from "../utils/feature-flag-decorators"
import PublishableAPIKeysFeatureFlag from "../loaders/feature-flags/publishable-api-keys"
@FeatureFlagEntity(PublishableAPIKeysFeatureFlag.key)
@Entity()
export class PublishableApiKeySalesChannel {
@PrimaryColumn()
sales_channel_id: string
@@ -1,12 +1,9 @@
import { BeforeInsert, Column } from "typeorm"
import { BeforeInsert, Column, Entity } from "typeorm"
import { BaseEntity } from "../interfaces"
import { resolveDbType } from "../utils/db-aware-column"
import { generateEntityId } from "../utils"
import { FeatureFlagEntity } from "../utils/feature-flag-decorators"
import PublishableAPIKeysFeatureFlag from "../loaders/feature-flags/publishable-api-keys"
import { generateEntityId, resolveDbType } from "../utils"
@FeatureFlagEntity(PublishableAPIKeysFeatureFlag.key)
@Entity()
export class PublishableApiKey extends BaseEntity {
@Column({ type: "varchar", nullable: true })
created_by: string | null