| |
|
|
| package runtime |
|
|
| import ( |
| "time" |
|
|
| "github.com/Wei-Shaw/sub2api/ent/account" |
| "github.com/Wei-Shaw/sub2api/ent/accountgroup" |
| "github.com/Wei-Shaw/sub2api/ent/announcement" |
| "github.com/Wei-Shaw/sub2api/ent/announcementread" |
| "github.com/Wei-Shaw/sub2api/ent/apikey" |
| "github.com/Wei-Shaw/sub2api/ent/errorpassthroughrule" |
| "github.com/Wei-Shaw/sub2api/ent/group" |
| "github.com/Wei-Shaw/sub2api/ent/idempotencyrecord" |
| "github.com/Wei-Shaw/sub2api/ent/promocode" |
| "github.com/Wei-Shaw/sub2api/ent/promocodeusage" |
| "github.com/Wei-Shaw/sub2api/ent/proxy" |
| "github.com/Wei-Shaw/sub2api/ent/redeemcode" |
| "github.com/Wei-Shaw/sub2api/ent/schema" |
| "github.com/Wei-Shaw/sub2api/ent/securitysecret" |
| "github.com/Wei-Shaw/sub2api/ent/setting" |
| "github.com/Wei-Shaw/sub2api/ent/usagecleanuptask" |
| "github.com/Wei-Shaw/sub2api/ent/usagelog" |
| "github.com/Wei-Shaw/sub2api/ent/user" |
| "github.com/Wei-Shaw/sub2api/ent/userallowedgroup" |
| "github.com/Wei-Shaw/sub2api/ent/userattributedefinition" |
| "github.com/Wei-Shaw/sub2api/ent/userattributevalue" |
| "github.com/Wei-Shaw/sub2api/ent/usersubscription" |
| ) |
|
|
| |
| |
| |
| func init() { |
| apikeyMixin := schema.APIKey{}.Mixin() |
| apikeyMixinHooks1 := apikeyMixin[1].Hooks() |
| apikey.Hooks[0] = apikeyMixinHooks1[0] |
| apikeyMixinInters1 := apikeyMixin[1].Interceptors() |
| apikey.Interceptors[0] = apikeyMixinInters1[0] |
| apikeyMixinFields0 := apikeyMixin[0].Fields() |
| _ = apikeyMixinFields0 |
| apikeyFields := schema.APIKey{}.Fields() |
| _ = apikeyFields |
| |
| apikeyDescCreatedAt := apikeyMixinFields0[0].Descriptor() |
| |
| apikey.DefaultCreatedAt = apikeyDescCreatedAt.Default.(func() time.Time) |
| |
| apikeyDescUpdatedAt := apikeyMixinFields0[1].Descriptor() |
| |
| apikey.DefaultUpdatedAt = apikeyDescUpdatedAt.Default.(func() time.Time) |
| |
| apikey.UpdateDefaultUpdatedAt = apikeyDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| apikeyDescKey := apikeyFields[1].Descriptor() |
| |
| apikey.KeyValidator = func() func(string) error { |
| validators := apikeyDescKey.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(key string) error { |
| for _, fn := range fns { |
| if err := fn(key); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| apikeyDescName := apikeyFields[2].Descriptor() |
| |
| apikey.NameValidator = func() func(string) error { |
| validators := apikeyDescName.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(name string) error { |
| for _, fn := range fns { |
| if err := fn(name); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| apikeyDescStatus := apikeyFields[4].Descriptor() |
| |
| apikey.DefaultStatus = apikeyDescStatus.Default.(string) |
| |
| apikey.StatusValidator = apikeyDescStatus.Validators[0].(func(string) error) |
| |
| apikeyDescQuota := apikeyFields[8].Descriptor() |
| |
| apikey.DefaultQuota = apikeyDescQuota.Default.(float64) |
| |
| apikeyDescQuotaUsed := apikeyFields[9].Descriptor() |
| |
| apikey.DefaultQuotaUsed = apikeyDescQuotaUsed.Default.(float64) |
| |
| apikeyDescRateLimit5h := apikeyFields[11].Descriptor() |
| |
| apikey.DefaultRateLimit5h = apikeyDescRateLimit5h.Default.(float64) |
| |
| apikeyDescRateLimit1d := apikeyFields[12].Descriptor() |
| |
| apikey.DefaultRateLimit1d = apikeyDescRateLimit1d.Default.(float64) |
| |
| apikeyDescRateLimit7d := apikeyFields[13].Descriptor() |
| |
| apikey.DefaultRateLimit7d = apikeyDescRateLimit7d.Default.(float64) |
| |
| apikeyDescUsage5h := apikeyFields[14].Descriptor() |
| |
| apikey.DefaultUsage5h = apikeyDescUsage5h.Default.(float64) |
| |
| apikeyDescUsage1d := apikeyFields[15].Descriptor() |
| |
| apikey.DefaultUsage1d = apikeyDescUsage1d.Default.(float64) |
| |
| apikeyDescUsage7d := apikeyFields[16].Descriptor() |
| |
| apikey.DefaultUsage7d = apikeyDescUsage7d.Default.(float64) |
| accountMixin := schema.Account{}.Mixin() |
| accountMixinHooks1 := accountMixin[1].Hooks() |
| account.Hooks[0] = accountMixinHooks1[0] |
| accountMixinInters1 := accountMixin[1].Interceptors() |
| account.Interceptors[0] = accountMixinInters1[0] |
| accountMixinFields0 := accountMixin[0].Fields() |
| _ = accountMixinFields0 |
| accountFields := schema.Account{}.Fields() |
| _ = accountFields |
| |
| accountDescCreatedAt := accountMixinFields0[0].Descriptor() |
| |
| account.DefaultCreatedAt = accountDescCreatedAt.Default.(func() time.Time) |
| |
| accountDescUpdatedAt := accountMixinFields0[1].Descriptor() |
| |
| account.DefaultUpdatedAt = accountDescUpdatedAt.Default.(func() time.Time) |
| |
| account.UpdateDefaultUpdatedAt = accountDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| accountDescName := accountFields[0].Descriptor() |
| |
| account.NameValidator = func() func(string) error { |
| validators := accountDescName.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(name string) error { |
| for _, fn := range fns { |
| if err := fn(name); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| accountDescPlatform := accountFields[2].Descriptor() |
| |
| account.PlatformValidator = func() func(string) error { |
| validators := accountDescPlatform.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(platform string) error { |
| for _, fn := range fns { |
| if err := fn(platform); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| accountDescType := accountFields[3].Descriptor() |
| |
| account.TypeValidator = func() func(string) error { |
| validators := accountDescType.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(_type string) error { |
| for _, fn := range fns { |
| if err := fn(_type); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| accountDescCredentials := accountFields[4].Descriptor() |
| |
| account.DefaultCredentials = accountDescCredentials.Default.(func() map[string]interface{}) |
| |
| accountDescExtra := accountFields[5].Descriptor() |
| |
| account.DefaultExtra = accountDescExtra.Default.(func() map[string]interface{}) |
| |
| accountDescConcurrency := accountFields[7].Descriptor() |
| |
| account.DefaultConcurrency = accountDescConcurrency.Default.(int) |
| |
| accountDescPriority := accountFields[9].Descriptor() |
| |
| account.DefaultPriority = accountDescPriority.Default.(int) |
| |
| accountDescRateMultiplier := accountFields[10].Descriptor() |
| |
| account.DefaultRateMultiplier = accountDescRateMultiplier.Default.(float64) |
| |
| accountDescStatus := accountFields[11].Descriptor() |
| |
| account.DefaultStatus = accountDescStatus.Default.(string) |
| |
| account.StatusValidator = accountDescStatus.Validators[0].(func(string) error) |
| |
| accountDescAutoPauseOnExpired := accountFields[15].Descriptor() |
| |
| account.DefaultAutoPauseOnExpired = accountDescAutoPauseOnExpired.Default.(bool) |
| |
| accountDescSchedulable := accountFields[16].Descriptor() |
| |
| account.DefaultSchedulable = accountDescSchedulable.Default.(bool) |
| |
| accountDescSessionWindowStatus := accountFields[24].Descriptor() |
| |
| account.SessionWindowStatusValidator = accountDescSessionWindowStatus.Validators[0].(func(string) error) |
| accountgroupFields := schema.AccountGroup{}.Fields() |
| _ = accountgroupFields |
| |
| accountgroupDescPriority := accountgroupFields[2].Descriptor() |
| |
| accountgroup.DefaultPriority = accountgroupDescPriority.Default.(int) |
| |
| accountgroupDescCreatedAt := accountgroupFields[3].Descriptor() |
| |
| accountgroup.DefaultCreatedAt = accountgroupDescCreatedAt.Default.(func() time.Time) |
| announcementFields := schema.Announcement{}.Fields() |
| _ = announcementFields |
| |
| announcementDescTitle := announcementFields[0].Descriptor() |
| |
| announcement.TitleValidator = func() func(string) error { |
| validators := announcementDescTitle.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(title string) error { |
| for _, fn := range fns { |
| if err := fn(title); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| announcementDescContent := announcementFields[1].Descriptor() |
| |
| announcement.ContentValidator = announcementDescContent.Validators[0].(func(string) error) |
| |
| announcementDescStatus := announcementFields[2].Descriptor() |
| |
| announcement.DefaultStatus = announcementDescStatus.Default.(string) |
| |
| announcement.StatusValidator = announcementDescStatus.Validators[0].(func(string) error) |
| |
| announcementDescNotifyMode := announcementFields[3].Descriptor() |
| |
| announcement.DefaultNotifyMode = announcementDescNotifyMode.Default.(string) |
| |
| announcement.NotifyModeValidator = announcementDescNotifyMode.Validators[0].(func(string) error) |
| |
| announcementDescCreatedAt := announcementFields[9].Descriptor() |
| |
| announcement.DefaultCreatedAt = announcementDescCreatedAt.Default.(func() time.Time) |
| |
| announcementDescUpdatedAt := announcementFields[10].Descriptor() |
| |
| announcement.DefaultUpdatedAt = announcementDescUpdatedAt.Default.(func() time.Time) |
| |
| announcement.UpdateDefaultUpdatedAt = announcementDescUpdatedAt.UpdateDefault.(func() time.Time) |
| announcementreadFields := schema.AnnouncementRead{}.Fields() |
| _ = announcementreadFields |
| |
| announcementreadDescReadAt := announcementreadFields[2].Descriptor() |
| |
| announcementread.DefaultReadAt = announcementreadDescReadAt.Default.(func() time.Time) |
| |
| announcementreadDescCreatedAt := announcementreadFields[3].Descriptor() |
| |
| announcementread.DefaultCreatedAt = announcementreadDescCreatedAt.Default.(func() time.Time) |
| errorpassthroughruleMixin := schema.ErrorPassthroughRule{}.Mixin() |
| errorpassthroughruleMixinFields0 := errorpassthroughruleMixin[0].Fields() |
| _ = errorpassthroughruleMixinFields0 |
| errorpassthroughruleFields := schema.ErrorPassthroughRule{}.Fields() |
| _ = errorpassthroughruleFields |
| |
| errorpassthroughruleDescCreatedAt := errorpassthroughruleMixinFields0[0].Descriptor() |
| |
| errorpassthroughrule.DefaultCreatedAt = errorpassthroughruleDescCreatedAt.Default.(func() time.Time) |
| |
| errorpassthroughruleDescUpdatedAt := errorpassthroughruleMixinFields0[1].Descriptor() |
| |
| errorpassthroughrule.DefaultUpdatedAt = errorpassthroughruleDescUpdatedAt.Default.(func() time.Time) |
| |
| errorpassthroughrule.UpdateDefaultUpdatedAt = errorpassthroughruleDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| errorpassthroughruleDescName := errorpassthroughruleFields[0].Descriptor() |
| |
| errorpassthroughrule.NameValidator = func() func(string) error { |
| validators := errorpassthroughruleDescName.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(name string) error { |
| for _, fn := range fns { |
| if err := fn(name); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| errorpassthroughruleDescEnabled := errorpassthroughruleFields[1].Descriptor() |
| |
| errorpassthroughrule.DefaultEnabled = errorpassthroughruleDescEnabled.Default.(bool) |
| |
| errorpassthroughruleDescPriority := errorpassthroughruleFields[2].Descriptor() |
| |
| errorpassthroughrule.DefaultPriority = errorpassthroughruleDescPriority.Default.(int) |
| |
| errorpassthroughruleDescMatchMode := errorpassthroughruleFields[5].Descriptor() |
| |
| errorpassthroughrule.DefaultMatchMode = errorpassthroughruleDescMatchMode.Default.(string) |
| |
| errorpassthroughrule.MatchModeValidator = errorpassthroughruleDescMatchMode.Validators[0].(func(string) error) |
| |
| errorpassthroughruleDescPassthroughCode := errorpassthroughruleFields[7].Descriptor() |
| |
| errorpassthroughrule.DefaultPassthroughCode = errorpassthroughruleDescPassthroughCode.Default.(bool) |
| |
| errorpassthroughruleDescPassthroughBody := errorpassthroughruleFields[9].Descriptor() |
| |
| errorpassthroughrule.DefaultPassthroughBody = errorpassthroughruleDescPassthroughBody.Default.(bool) |
| |
| errorpassthroughruleDescSkipMonitoring := errorpassthroughruleFields[11].Descriptor() |
| |
| errorpassthroughrule.DefaultSkipMonitoring = errorpassthroughruleDescSkipMonitoring.Default.(bool) |
| groupMixin := schema.Group{}.Mixin() |
| groupMixinHooks1 := groupMixin[1].Hooks() |
| group.Hooks[0] = groupMixinHooks1[0] |
| groupMixinInters1 := groupMixin[1].Interceptors() |
| group.Interceptors[0] = groupMixinInters1[0] |
| groupMixinFields0 := groupMixin[0].Fields() |
| _ = groupMixinFields0 |
| groupFields := schema.Group{}.Fields() |
| _ = groupFields |
| |
| groupDescCreatedAt := groupMixinFields0[0].Descriptor() |
| |
| group.DefaultCreatedAt = groupDescCreatedAt.Default.(func() time.Time) |
| |
| groupDescUpdatedAt := groupMixinFields0[1].Descriptor() |
| |
| group.DefaultUpdatedAt = groupDescUpdatedAt.Default.(func() time.Time) |
| |
| group.UpdateDefaultUpdatedAt = groupDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| groupDescName := groupFields[0].Descriptor() |
| |
| group.NameValidator = func() func(string) error { |
| validators := groupDescName.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(name string) error { |
| for _, fn := range fns { |
| if err := fn(name); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| groupDescRateMultiplier := groupFields[2].Descriptor() |
| |
| group.DefaultRateMultiplier = groupDescRateMultiplier.Default.(float64) |
| |
| groupDescIsExclusive := groupFields[3].Descriptor() |
| |
| group.DefaultIsExclusive = groupDescIsExclusive.Default.(bool) |
| |
| groupDescStatus := groupFields[4].Descriptor() |
| |
| group.DefaultStatus = groupDescStatus.Default.(string) |
| |
| group.StatusValidator = groupDescStatus.Validators[0].(func(string) error) |
| |
| groupDescPlatform := groupFields[5].Descriptor() |
| |
| group.DefaultPlatform = groupDescPlatform.Default.(string) |
| |
| group.PlatformValidator = groupDescPlatform.Validators[0].(func(string) error) |
| |
| groupDescSubscriptionType := groupFields[6].Descriptor() |
| |
| group.DefaultSubscriptionType = groupDescSubscriptionType.Default.(string) |
| |
| group.SubscriptionTypeValidator = groupDescSubscriptionType.Validators[0].(func(string) error) |
| |
| groupDescDefaultValidityDays := groupFields[10].Descriptor() |
| |
| group.DefaultDefaultValidityDays = groupDescDefaultValidityDays.Default.(int) |
| |
| groupDescSoraStorageQuotaBytes := groupFields[18].Descriptor() |
| |
| group.DefaultSoraStorageQuotaBytes = groupDescSoraStorageQuotaBytes.Default.(int64) |
| |
| groupDescClaudeCodeOnly := groupFields[19].Descriptor() |
| |
| group.DefaultClaudeCodeOnly = groupDescClaudeCodeOnly.Default.(bool) |
| |
| groupDescModelRoutingEnabled := groupFields[23].Descriptor() |
| |
| group.DefaultModelRoutingEnabled = groupDescModelRoutingEnabled.Default.(bool) |
| |
| groupDescMcpXMLInject := groupFields[24].Descriptor() |
| |
| group.DefaultMcpXMLInject = groupDescMcpXMLInject.Default.(bool) |
| |
| groupDescSupportedModelScopes := groupFields[25].Descriptor() |
| |
| group.DefaultSupportedModelScopes = groupDescSupportedModelScopes.Default.([]string) |
| |
| groupDescSortOrder := groupFields[26].Descriptor() |
| |
| group.DefaultSortOrder = groupDescSortOrder.Default.(int) |
| |
| groupDescAllowMessagesDispatch := groupFields[27].Descriptor() |
| |
| group.DefaultAllowMessagesDispatch = groupDescAllowMessagesDispatch.Default.(bool) |
| |
| groupDescDefaultMappedModel := groupFields[28].Descriptor() |
| |
| group.DefaultDefaultMappedModel = groupDescDefaultMappedModel.Default.(string) |
| |
| group.DefaultMappedModelValidator = groupDescDefaultMappedModel.Validators[0].(func(string) error) |
| idempotencyrecordMixin := schema.IdempotencyRecord{}.Mixin() |
| idempotencyrecordMixinFields0 := idempotencyrecordMixin[0].Fields() |
| _ = idempotencyrecordMixinFields0 |
| idempotencyrecordFields := schema.IdempotencyRecord{}.Fields() |
| _ = idempotencyrecordFields |
| |
| idempotencyrecordDescCreatedAt := idempotencyrecordMixinFields0[0].Descriptor() |
| |
| idempotencyrecord.DefaultCreatedAt = idempotencyrecordDescCreatedAt.Default.(func() time.Time) |
| |
| idempotencyrecordDescUpdatedAt := idempotencyrecordMixinFields0[1].Descriptor() |
| |
| idempotencyrecord.DefaultUpdatedAt = idempotencyrecordDescUpdatedAt.Default.(func() time.Time) |
| |
| idempotencyrecord.UpdateDefaultUpdatedAt = idempotencyrecordDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| idempotencyrecordDescScope := idempotencyrecordFields[0].Descriptor() |
| |
| idempotencyrecord.ScopeValidator = idempotencyrecordDescScope.Validators[0].(func(string) error) |
| |
| idempotencyrecordDescIdempotencyKeyHash := idempotencyrecordFields[1].Descriptor() |
| |
| idempotencyrecord.IdempotencyKeyHashValidator = idempotencyrecordDescIdempotencyKeyHash.Validators[0].(func(string) error) |
| |
| idempotencyrecordDescRequestFingerprint := idempotencyrecordFields[2].Descriptor() |
| |
| idempotencyrecord.RequestFingerprintValidator = idempotencyrecordDescRequestFingerprint.Validators[0].(func(string) error) |
| |
| idempotencyrecordDescStatus := idempotencyrecordFields[3].Descriptor() |
| |
| idempotencyrecord.StatusValidator = idempotencyrecordDescStatus.Validators[0].(func(string) error) |
| |
| idempotencyrecordDescErrorReason := idempotencyrecordFields[6].Descriptor() |
| |
| idempotencyrecord.ErrorReasonValidator = idempotencyrecordDescErrorReason.Validators[0].(func(string) error) |
| promocodeFields := schema.PromoCode{}.Fields() |
| _ = promocodeFields |
| |
| promocodeDescCode := promocodeFields[0].Descriptor() |
| |
| promocode.CodeValidator = func() func(string) error { |
| validators := promocodeDescCode.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(code string) error { |
| for _, fn := range fns { |
| if err := fn(code); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| promocodeDescBonusAmount := promocodeFields[1].Descriptor() |
| |
| promocode.DefaultBonusAmount = promocodeDescBonusAmount.Default.(float64) |
| |
| promocodeDescMaxUses := promocodeFields[2].Descriptor() |
| |
| promocode.DefaultMaxUses = promocodeDescMaxUses.Default.(int) |
| |
| promocodeDescUsedCount := promocodeFields[3].Descriptor() |
| |
| promocode.DefaultUsedCount = promocodeDescUsedCount.Default.(int) |
| |
| promocodeDescStatus := promocodeFields[4].Descriptor() |
| |
| promocode.DefaultStatus = promocodeDescStatus.Default.(string) |
| |
| promocode.StatusValidator = promocodeDescStatus.Validators[0].(func(string) error) |
| |
| promocodeDescCreatedAt := promocodeFields[7].Descriptor() |
| |
| promocode.DefaultCreatedAt = promocodeDescCreatedAt.Default.(func() time.Time) |
| |
| promocodeDescUpdatedAt := promocodeFields[8].Descriptor() |
| |
| promocode.DefaultUpdatedAt = promocodeDescUpdatedAt.Default.(func() time.Time) |
| |
| promocode.UpdateDefaultUpdatedAt = promocodeDescUpdatedAt.UpdateDefault.(func() time.Time) |
| promocodeusageFields := schema.PromoCodeUsage{}.Fields() |
| _ = promocodeusageFields |
| |
| promocodeusageDescUsedAt := promocodeusageFields[3].Descriptor() |
| |
| promocodeusage.DefaultUsedAt = promocodeusageDescUsedAt.Default.(func() time.Time) |
| proxyMixin := schema.Proxy{}.Mixin() |
| proxyMixinHooks1 := proxyMixin[1].Hooks() |
| proxy.Hooks[0] = proxyMixinHooks1[0] |
| proxyMixinInters1 := proxyMixin[1].Interceptors() |
| proxy.Interceptors[0] = proxyMixinInters1[0] |
| proxyMixinFields0 := proxyMixin[0].Fields() |
| _ = proxyMixinFields0 |
| proxyFields := schema.Proxy{}.Fields() |
| _ = proxyFields |
| |
| proxyDescCreatedAt := proxyMixinFields0[0].Descriptor() |
| |
| proxy.DefaultCreatedAt = proxyDescCreatedAt.Default.(func() time.Time) |
| |
| proxyDescUpdatedAt := proxyMixinFields0[1].Descriptor() |
| |
| proxy.DefaultUpdatedAt = proxyDescUpdatedAt.Default.(func() time.Time) |
| |
| proxy.UpdateDefaultUpdatedAt = proxyDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| proxyDescName := proxyFields[0].Descriptor() |
| |
| proxy.NameValidator = func() func(string) error { |
| validators := proxyDescName.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(name string) error { |
| for _, fn := range fns { |
| if err := fn(name); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| proxyDescProtocol := proxyFields[1].Descriptor() |
| |
| proxy.ProtocolValidator = func() func(string) error { |
| validators := proxyDescProtocol.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(protocol string) error { |
| for _, fn := range fns { |
| if err := fn(protocol); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| proxyDescHost := proxyFields[2].Descriptor() |
| |
| proxy.HostValidator = func() func(string) error { |
| validators := proxyDescHost.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(host string) error { |
| for _, fn := range fns { |
| if err := fn(host); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| proxyDescUsername := proxyFields[4].Descriptor() |
| |
| proxy.UsernameValidator = proxyDescUsername.Validators[0].(func(string) error) |
| |
| proxyDescPassword := proxyFields[5].Descriptor() |
| |
| proxy.PasswordValidator = proxyDescPassword.Validators[0].(func(string) error) |
| |
| proxyDescStatus := proxyFields[6].Descriptor() |
| |
| proxy.DefaultStatus = proxyDescStatus.Default.(string) |
| |
| proxy.StatusValidator = proxyDescStatus.Validators[0].(func(string) error) |
| redeemcodeFields := schema.RedeemCode{}.Fields() |
| _ = redeemcodeFields |
| |
| redeemcodeDescCode := redeemcodeFields[0].Descriptor() |
| |
| redeemcode.CodeValidator = func() func(string) error { |
| validators := redeemcodeDescCode.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(code string) error { |
| for _, fn := range fns { |
| if err := fn(code); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| redeemcodeDescType := redeemcodeFields[1].Descriptor() |
| |
| redeemcode.DefaultType = redeemcodeDescType.Default.(string) |
| |
| redeemcode.TypeValidator = redeemcodeDescType.Validators[0].(func(string) error) |
| |
| redeemcodeDescValue := redeemcodeFields[2].Descriptor() |
| |
| redeemcode.DefaultValue = redeemcodeDescValue.Default.(float64) |
| |
| redeemcodeDescStatus := redeemcodeFields[3].Descriptor() |
| |
| redeemcode.DefaultStatus = redeemcodeDescStatus.Default.(string) |
| |
| redeemcode.StatusValidator = redeemcodeDescStatus.Validators[0].(func(string) error) |
| |
| redeemcodeDescCreatedAt := redeemcodeFields[7].Descriptor() |
| |
| redeemcode.DefaultCreatedAt = redeemcodeDescCreatedAt.Default.(func() time.Time) |
| |
| redeemcodeDescValidityDays := redeemcodeFields[9].Descriptor() |
| |
| redeemcode.DefaultValidityDays = redeemcodeDescValidityDays.Default.(int) |
| securitysecretMixin := schema.SecuritySecret{}.Mixin() |
| securitysecretMixinFields0 := securitysecretMixin[0].Fields() |
| _ = securitysecretMixinFields0 |
| securitysecretFields := schema.SecuritySecret{}.Fields() |
| _ = securitysecretFields |
| |
| securitysecretDescCreatedAt := securitysecretMixinFields0[0].Descriptor() |
| |
| securitysecret.DefaultCreatedAt = securitysecretDescCreatedAt.Default.(func() time.Time) |
| |
| securitysecretDescUpdatedAt := securitysecretMixinFields0[1].Descriptor() |
| |
| securitysecret.DefaultUpdatedAt = securitysecretDescUpdatedAt.Default.(func() time.Time) |
| |
| securitysecret.UpdateDefaultUpdatedAt = securitysecretDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| securitysecretDescKey := securitysecretFields[0].Descriptor() |
| |
| securitysecret.KeyValidator = func() func(string) error { |
| validators := securitysecretDescKey.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(key string) error { |
| for _, fn := range fns { |
| if err := fn(key); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| securitysecretDescValue := securitysecretFields[1].Descriptor() |
| |
| securitysecret.ValueValidator = securitysecretDescValue.Validators[0].(func(string) error) |
| settingFields := schema.Setting{}.Fields() |
| _ = settingFields |
| |
| settingDescKey := settingFields[0].Descriptor() |
| |
| setting.KeyValidator = func() func(string) error { |
| validators := settingDescKey.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(key string) error { |
| for _, fn := range fns { |
| if err := fn(key); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| settingDescUpdatedAt := settingFields[2].Descriptor() |
| |
| setting.DefaultUpdatedAt = settingDescUpdatedAt.Default.(func() time.Time) |
| |
| setting.UpdateDefaultUpdatedAt = settingDescUpdatedAt.UpdateDefault.(func() time.Time) |
| usagecleanuptaskMixin := schema.UsageCleanupTask{}.Mixin() |
| usagecleanuptaskMixinFields0 := usagecleanuptaskMixin[0].Fields() |
| _ = usagecleanuptaskMixinFields0 |
| usagecleanuptaskFields := schema.UsageCleanupTask{}.Fields() |
| _ = usagecleanuptaskFields |
| |
| usagecleanuptaskDescCreatedAt := usagecleanuptaskMixinFields0[0].Descriptor() |
| |
| usagecleanuptask.DefaultCreatedAt = usagecleanuptaskDescCreatedAt.Default.(func() time.Time) |
| |
| usagecleanuptaskDescUpdatedAt := usagecleanuptaskMixinFields0[1].Descriptor() |
| |
| usagecleanuptask.DefaultUpdatedAt = usagecleanuptaskDescUpdatedAt.Default.(func() time.Time) |
| |
| usagecleanuptask.UpdateDefaultUpdatedAt = usagecleanuptaskDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| usagecleanuptaskDescStatus := usagecleanuptaskFields[0].Descriptor() |
| |
| usagecleanuptask.StatusValidator = func() func(string) error { |
| validators := usagecleanuptaskDescStatus.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(status string) error { |
| for _, fn := range fns { |
| if err := fn(status); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| usagecleanuptaskDescDeletedRows := usagecleanuptaskFields[3].Descriptor() |
| |
| usagecleanuptask.DefaultDeletedRows = usagecleanuptaskDescDeletedRows.Default.(int64) |
| usagelogFields := schema.UsageLog{}.Fields() |
| _ = usagelogFields |
| |
| usagelogDescRequestID := usagelogFields[3].Descriptor() |
| |
| usagelog.RequestIDValidator = func() func(string) error { |
| validators := usagelogDescRequestID.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(request_id string) error { |
| for _, fn := range fns { |
| if err := fn(request_id); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| usagelogDescModel := usagelogFields[4].Descriptor() |
| |
| usagelog.ModelValidator = func() func(string) error { |
| validators := usagelogDescModel.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(model string) error { |
| for _, fn := range fns { |
| if err := fn(model); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| usagelogDescUpstreamModel := usagelogFields[5].Descriptor() |
| |
| usagelog.UpstreamModelValidator = usagelogDescUpstreamModel.Validators[0].(func(string) error) |
| |
| usagelogDescInputTokens := usagelogFields[8].Descriptor() |
| |
| usagelog.DefaultInputTokens = usagelogDescInputTokens.Default.(int) |
| |
| usagelogDescOutputTokens := usagelogFields[9].Descriptor() |
| |
| usagelog.DefaultOutputTokens = usagelogDescOutputTokens.Default.(int) |
| |
| usagelogDescCacheCreationTokens := usagelogFields[10].Descriptor() |
| |
| usagelog.DefaultCacheCreationTokens = usagelogDescCacheCreationTokens.Default.(int) |
| |
| usagelogDescCacheReadTokens := usagelogFields[11].Descriptor() |
| |
| usagelog.DefaultCacheReadTokens = usagelogDescCacheReadTokens.Default.(int) |
| |
| usagelogDescCacheCreation5mTokens := usagelogFields[12].Descriptor() |
| |
| usagelog.DefaultCacheCreation5mTokens = usagelogDescCacheCreation5mTokens.Default.(int) |
| |
| usagelogDescCacheCreation1hTokens := usagelogFields[13].Descriptor() |
| |
| usagelog.DefaultCacheCreation1hTokens = usagelogDescCacheCreation1hTokens.Default.(int) |
| |
| usagelogDescInputCost := usagelogFields[14].Descriptor() |
| |
| usagelog.DefaultInputCost = usagelogDescInputCost.Default.(float64) |
| |
| usagelogDescOutputCost := usagelogFields[15].Descriptor() |
| |
| usagelog.DefaultOutputCost = usagelogDescOutputCost.Default.(float64) |
| |
| usagelogDescCacheCreationCost := usagelogFields[16].Descriptor() |
| |
| usagelog.DefaultCacheCreationCost = usagelogDescCacheCreationCost.Default.(float64) |
| |
| usagelogDescCacheReadCost := usagelogFields[17].Descriptor() |
| |
| usagelog.DefaultCacheReadCost = usagelogDescCacheReadCost.Default.(float64) |
| |
| usagelogDescTotalCost := usagelogFields[18].Descriptor() |
| |
| usagelog.DefaultTotalCost = usagelogDescTotalCost.Default.(float64) |
| |
| usagelogDescActualCost := usagelogFields[19].Descriptor() |
| |
| usagelog.DefaultActualCost = usagelogDescActualCost.Default.(float64) |
| |
| usagelogDescRateMultiplier := usagelogFields[20].Descriptor() |
| |
| usagelog.DefaultRateMultiplier = usagelogDescRateMultiplier.Default.(float64) |
| |
| usagelogDescBillingType := usagelogFields[22].Descriptor() |
| |
| usagelog.DefaultBillingType = usagelogDescBillingType.Default.(int8) |
| |
| usagelogDescStream := usagelogFields[23].Descriptor() |
| |
| usagelog.DefaultStream = usagelogDescStream.Default.(bool) |
| |
| usagelogDescUserAgent := usagelogFields[26].Descriptor() |
| |
| usagelog.UserAgentValidator = usagelogDescUserAgent.Validators[0].(func(string) error) |
| |
| usagelogDescIPAddress := usagelogFields[27].Descriptor() |
| |
| usagelog.IPAddressValidator = usagelogDescIPAddress.Validators[0].(func(string) error) |
| |
| usagelogDescImageCount := usagelogFields[28].Descriptor() |
| |
| usagelog.DefaultImageCount = usagelogDescImageCount.Default.(int) |
| |
| usagelogDescImageSize := usagelogFields[29].Descriptor() |
| |
| usagelog.ImageSizeValidator = usagelogDescImageSize.Validators[0].(func(string) error) |
| |
| usagelogDescMediaType := usagelogFields[30].Descriptor() |
| |
| usagelog.MediaTypeValidator = usagelogDescMediaType.Validators[0].(func(string) error) |
| |
| usagelogDescCacheTTLOverridden := usagelogFields[31].Descriptor() |
| |
| usagelog.DefaultCacheTTLOverridden = usagelogDescCacheTTLOverridden.Default.(bool) |
| |
| usagelogDescCreatedAt := usagelogFields[32].Descriptor() |
| |
| usagelog.DefaultCreatedAt = usagelogDescCreatedAt.Default.(func() time.Time) |
| userMixin := schema.User{}.Mixin() |
| userMixinHooks1 := userMixin[1].Hooks() |
| user.Hooks[0] = userMixinHooks1[0] |
| userMixinInters1 := userMixin[1].Interceptors() |
| user.Interceptors[0] = userMixinInters1[0] |
| userMixinFields0 := userMixin[0].Fields() |
| _ = userMixinFields0 |
| userFields := schema.User{}.Fields() |
| _ = userFields |
| |
| userDescCreatedAt := userMixinFields0[0].Descriptor() |
| |
| user.DefaultCreatedAt = userDescCreatedAt.Default.(func() time.Time) |
| |
| userDescUpdatedAt := userMixinFields0[1].Descriptor() |
| |
| user.DefaultUpdatedAt = userDescUpdatedAt.Default.(func() time.Time) |
| |
| user.UpdateDefaultUpdatedAt = userDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| userDescEmail := userFields[0].Descriptor() |
| |
| user.EmailValidator = func() func(string) error { |
| validators := userDescEmail.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(email string) error { |
| for _, fn := range fns { |
| if err := fn(email); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| userDescPasswordHash := userFields[1].Descriptor() |
| |
| user.PasswordHashValidator = func() func(string) error { |
| validators := userDescPasswordHash.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(password_hash string) error { |
| for _, fn := range fns { |
| if err := fn(password_hash); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| userDescRole := userFields[2].Descriptor() |
| |
| user.DefaultRole = userDescRole.Default.(string) |
| |
| user.RoleValidator = userDescRole.Validators[0].(func(string) error) |
| |
| userDescBalance := userFields[3].Descriptor() |
| |
| user.DefaultBalance = userDescBalance.Default.(float64) |
| |
| userDescConcurrency := userFields[4].Descriptor() |
| |
| user.DefaultConcurrency = userDescConcurrency.Default.(int) |
| |
| userDescStatus := userFields[5].Descriptor() |
| |
| user.DefaultStatus = userDescStatus.Default.(string) |
| |
| user.StatusValidator = userDescStatus.Validators[0].(func(string) error) |
| |
| userDescUsername := userFields[6].Descriptor() |
| |
| user.DefaultUsername = userDescUsername.Default.(string) |
| |
| user.UsernameValidator = userDescUsername.Validators[0].(func(string) error) |
| |
| userDescNotes := userFields[7].Descriptor() |
| |
| user.DefaultNotes = userDescNotes.Default.(string) |
| |
| userDescTotpEnabled := userFields[9].Descriptor() |
| |
| user.DefaultTotpEnabled = userDescTotpEnabled.Default.(bool) |
| |
| userDescSoraStorageQuotaBytes := userFields[11].Descriptor() |
| |
| user.DefaultSoraStorageQuotaBytes = userDescSoraStorageQuotaBytes.Default.(int64) |
| |
| userDescSoraStorageUsedBytes := userFields[12].Descriptor() |
| |
| user.DefaultSoraStorageUsedBytes = userDescSoraStorageUsedBytes.Default.(int64) |
| userallowedgroupFields := schema.UserAllowedGroup{}.Fields() |
| _ = userallowedgroupFields |
| |
| userallowedgroupDescCreatedAt := userallowedgroupFields[2].Descriptor() |
| |
| userallowedgroup.DefaultCreatedAt = userallowedgroupDescCreatedAt.Default.(func() time.Time) |
| userattributedefinitionMixin := schema.UserAttributeDefinition{}.Mixin() |
| userattributedefinitionMixinHooks1 := userattributedefinitionMixin[1].Hooks() |
| userattributedefinition.Hooks[0] = userattributedefinitionMixinHooks1[0] |
| userattributedefinitionMixinInters1 := userattributedefinitionMixin[1].Interceptors() |
| userattributedefinition.Interceptors[0] = userattributedefinitionMixinInters1[0] |
| userattributedefinitionMixinFields0 := userattributedefinitionMixin[0].Fields() |
| _ = userattributedefinitionMixinFields0 |
| userattributedefinitionFields := schema.UserAttributeDefinition{}.Fields() |
| _ = userattributedefinitionFields |
| |
| userattributedefinitionDescCreatedAt := userattributedefinitionMixinFields0[0].Descriptor() |
| |
| userattributedefinition.DefaultCreatedAt = userattributedefinitionDescCreatedAt.Default.(func() time.Time) |
| |
| userattributedefinitionDescUpdatedAt := userattributedefinitionMixinFields0[1].Descriptor() |
| |
| userattributedefinition.DefaultUpdatedAt = userattributedefinitionDescUpdatedAt.Default.(func() time.Time) |
| |
| userattributedefinition.UpdateDefaultUpdatedAt = userattributedefinitionDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| userattributedefinitionDescKey := userattributedefinitionFields[0].Descriptor() |
| |
| userattributedefinition.KeyValidator = func() func(string) error { |
| validators := userattributedefinitionDescKey.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(key string) error { |
| for _, fn := range fns { |
| if err := fn(key); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| userattributedefinitionDescName := userattributedefinitionFields[1].Descriptor() |
| |
| userattributedefinition.NameValidator = func() func(string) error { |
| validators := userattributedefinitionDescName.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(name string) error { |
| for _, fn := range fns { |
| if err := fn(name); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| userattributedefinitionDescDescription := userattributedefinitionFields[2].Descriptor() |
| |
| userattributedefinition.DefaultDescription = userattributedefinitionDescDescription.Default.(string) |
| |
| userattributedefinitionDescType := userattributedefinitionFields[3].Descriptor() |
| |
| userattributedefinition.TypeValidator = func() func(string) error { |
| validators := userattributedefinitionDescType.Validators |
| fns := [...]func(string) error{ |
| validators[0].(func(string) error), |
| validators[1].(func(string) error), |
| } |
| return func(_type string) error { |
| for _, fn := range fns { |
| if err := fn(_type); err != nil { |
| return err |
| } |
| } |
| return nil |
| } |
| }() |
| |
| userattributedefinitionDescOptions := userattributedefinitionFields[4].Descriptor() |
| |
| userattributedefinition.DefaultOptions = userattributedefinitionDescOptions.Default.([]map[string]interface{}) |
| |
| userattributedefinitionDescRequired := userattributedefinitionFields[5].Descriptor() |
| |
| userattributedefinition.DefaultRequired = userattributedefinitionDescRequired.Default.(bool) |
| |
| userattributedefinitionDescValidation := userattributedefinitionFields[6].Descriptor() |
| |
| userattributedefinition.DefaultValidation = userattributedefinitionDescValidation.Default.(map[string]interface{}) |
| |
| userattributedefinitionDescPlaceholder := userattributedefinitionFields[7].Descriptor() |
| |
| userattributedefinition.DefaultPlaceholder = userattributedefinitionDescPlaceholder.Default.(string) |
| |
| userattributedefinition.PlaceholderValidator = userattributedefinitionDescPlaceholder.Validators[0].(func(string) error) |
| |
| userattributedefinitionDescDisplayOrder := userattributedefinitionFields[8].Descriptor() |
| |
| userattributedefinition.DefaultDisplayOrder = userattributedefinitionDescDisplayOrder.Default.(int) |
| |
| userattributedefinitionDescEnabled := userattributedefinitionFields[9].Descriptor() |
| |
| userattributedefinition.DefaultEnabled = userattributedefinitionDescEnabled.Default.(bool) |
| userattributevalueMixin := schema.UserAttributeValue{}.Mixin() |
| userattributevalueMixinFields0 := userattributevalueMixin[0].Fields() |
| _ = userattributevalueMixinFields0 |
| userattributevalueFields := schema.UserAttributeValue{}.Fields() |
| _ = userattributevalueFields |
| |
| userattributevalueDescCreatedAt := userattributevalueMixinFields0[0].Descriptor() |
| |
| userattributevalue.DefaultCreatedAt = userattributevalueDescCreatedAt.Default.(func() time.Time) |
| |
| userattributevalueDescUpdatedAt := userattributevalueMixinFields0[1].Descriptor() |
| |
| userattributevalue.DefaultUpdatedAt = userattributevalueDescUpdatedAt.Default.(func() time.Time) |
| |
| userattributevalue.UpdateDefaultUpdatedAt = userattributevalueDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| userattributevalueDescValue := userattributevalueFields[2].Descriptor() |
| |
| userattributevalue.DefaultValue = userattributevalueDescValue.Default.(string) |
| usersubscriptionMixin := schema.UserSubscription{}.Mixin() |
| usersubscriptionMixinHooks1 := usersubscriptionMixin[1].Hooks() |
| usersubscription.Hooks[0] = usersubscriptionMixinHooks1[0] |
| usersubscriptionMixinInters1 := usersubscriptionMixin[1].Interceptors() |
| usersubscription.Interceptors[0] = usersubscriptionMixinInters1[0] |
| usersubscriptionMixinFields0 := usersubscriptionMixin[0].Fields() |
| _ = usersubscriptionMixinFields0 |
| usersubscriptionFields := schema.UserSubscription{}.Fields() |
| _ = usersubscriptionFields |
| |
| usersubscriptionDescCreatedAt := usersubscriptionMixinFields0[0].Descriptor() |
| |
| usersubscription.DefaultCreatedAt = usersubscriptionDescCreatedAt.Default.(func() time.Time) |
| |
| usersubscriptionDescUpdatedAt := usersubscriptionMixinFields0[1].Descriptor() |
| |
| usersubscription.DefaultUpdatedAt = usersubscriptionDescUpdatedAt.Default.(func() time.Time) |
| |
| usersubscription.UpdateDefaultUpdatedAt = usersubscriptionDescUpdatedAt.UpdateDefault.(func() time.Time) |
| |
| usersubscriptionDescStatus := usersubscriptionFields[4].Descriptor() |
| |
| usersubscription.DefaultStatus = usersubscriptionDescStatus.Default.(string) |
| |
| usersubscription.StatusValidator = usersubscriptionDescStatus.Validators[0].(func(string) error) |
| |
| usersubscriptionDescDailyUsageUsd := usersubscriptionFields[8].Descriptor() |
| |
| usersubscription.DefaultDailyUsageUsd = usersubscriptionDescDailyUsageUsd.Default.(float64) |
| |
| usersubscriptionDescWeeklyUsageUsd := usersubscriptionFields[9].Descriptor() |
| |
| usersubscription.DefaultWeeklyUsageUsd = usersubscriptionDescWeeklyUsageUsd.Default.(float64) |
| |
| usersubscriptionDescMonthlyUsageUsd := usersubscriptionFields[10].Descriptor() |
| |
| usersubscription.DefaultMonthlyUsageUsd = usersubscriptionDescMonthlyUsageUsd.Default.(float64) |
| |
| usersubscriptionDescAssignedAt := usersubscriptionFields[12].Descriptor() |
| |
| usersubscription.DefaultAssignedAt = usersubscriptionDescAssignedAt.Default.(func() time.Time) |
| } |
|
|
| const ( |
| Version = "v0.14.5" |
| Sum = "h1:Rj2WOYJtCkWyFo6a+5wB3EfBRP0rnx1fMk6gGA0UUe4=" |
| ) |
|
|