@@ -82,10 +82,10 @@ extension Post {
82
82
83
83
extension Post: ModelIdentifiable {
84
84
public typealias IdentifierFormat = ModelIdentifierFormat .Custom
85
- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
85
+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
86
86
}
87
87
88
- extension Post.Identifier {
88
+ extension Post.IdentifierProtocol {
89
89
public static func identifier (id : String ,
90
90
title : String ) - > Self {
91
91
.make(fields : [(name : \\" id\\ " , value : id ), (name : \\" title\\ " , value : title )])
@@ -175,10 +175,10 @@ extension Comment {
175
175
176
176
extension Comment: ModelIdentifiable {
177
177
public typealias IdentifierFormat = ModelIdentifierFormat .Custom
178
- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
178
+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
179
179
}
180
180
181
- extension Comment.Identifier {
181
+ extension Comment.IdentifierProtocol {
182
182
public static func identifier (id : String ,
183
183
content : String ) - > Self {
184
184
.make(fields : [(name : \\" id\\ " , value : id ), (name : \\" content\\ " , value : content )])
@@ -261,10 +261,10 @@ extension ModelCompositePk {
261
261
262
262
extension ModelCompositePk: ModelIdentifiable {
263
263
public typealias IdentifierFormat = ModelIdentifierFormat .Custom
264
- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
264
+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
265
265
}
266
266
267
- extension ModelCompositePk.Identifier {
267
+ extension ModelCompositePk.IdentifierProtocol {
268
268
public static func identifier (id : String ,
269
269
dob : Temporal .DateTime ) - > Self {
270
270
.make(fields : [(name : \\" id\\ " , value : id ), (name : \\" dob\\ " , value : dob )])
@@ -340,10 +340,10 @@ extension ModelExplicitCustomPk {
340
340
341
341
extension ModelExplicitCustomPk: ModelIdentifiable {
342
342
public typealias IdentifierFormat = ModelIdentifierFormat .Custom
343
- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
343
+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
344
344
}
345
345
346
- extension ModelExplicitCustomPk.Identifier {
346
+ extension ModelExplicitCustomPk.IdentifierProtocol {
347
347
public static func identifier (userId : String ) - > Self {
348
348
.make(fields : [(name : \\" userId\\ " , value : userId )])
349
349
}
@@ -418,10 +418,10 @@ extension ModelExplicitDefaultPk {
418
418
419
419
extension ModelExplicitDefaultPk: ModelIdentifiable {
420
420
public typealias IdentifierFormat = ModelIdentifierFormat .Custom
421
- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
421
+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
422
422
}
423
423
424
- extension ModelExplicitDefaultPk.Identifier {
424
+ extension ModelExplicitDefaultPk.IdentifierProtocol {
425
425
public static func identifier (id : String ) - > Self {
426
426
.make(fields : [(name : \\" id\\ " , value : id )])
427
427
}
@@ -495,7 +495,7 @@ extension ModelImplicitDefaultPk {
495
495
496
496
extension ModelImplicitDefaultPk: ModelIdentifiable {
497
497
public typealias IdentifierFormat = ModelIdentifierFormat .Default
498
- public typealias Identifier = DefaultModelIdentifier <Self >
498
+ public typealias IdentifierProtocol = DefaultModelIdentifier <Self >
499
499
}"
500
500
`;
501
501
@@ -588,10 +588,10 @@ extension Project {
588
588
589
589
extension Project: ModelIdentifiable {
590
590
public typealias IdentifierFormat = ModelIdentifierFormat .Custom
591
- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
591
+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
592
592
}
593
593
594
- extension Project.Identifier {
594
+ extension Project.IdentifierProtocol {
595
595
public static func identifier (projectId : String ,
596
596
name : String ) - > Self {
597
597
.make(fields : [(name : \\" projectId\\ " , value : projectId ), (name : \\" name\\ " , value : name )])
@@ -674,10 +674,10 @@ extension Team {
674
674
675
675
extension Team: ModelIdentifiable {
676
676
public typealias IdentifierFormat = ModelIdentifierFormat .Custom
677
- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
677
+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
678
678
}
679
679
680
- extension Team.Identifier {
680
+ extension Team.IdentifierProtocol {
681
681
public static func identifier (teamId : String ,
682
682
name : String ) - > Self {
683
683
.make(fields : [(name : \\" teamId\\ " , value : teamId ), (name : \\" name\\ " , value : name )])
0 commit comments