@@ -82,10 +82,10 @@ extension Post {
8282
8383extension Post: ModelIdentifiable {
8484 public typealias IdentifierFormat = ModelIdentifierFormat .Custom
85- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
85+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
8686}
8787
88- extension Post.Identifier {
88+ extension Post.IdentifierProtocol {
8989 public static func identifier (id : String ,
9090 title : String ) - > Self {
9191 .make(fields : [(name : \\" id\\ " , value : id ), (name : \\" title\\ " , value : title )])
@@ -175,10 +175,10 @@ extension Comment {
175175
176176extension Comment: ModelIdentifiable {
177177 public typealias IdentifierFormat = ModelIdentifierFormat .Custom
178- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
178+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
179179}
180180
181- extension Comment.Identifier {
181+ extension Comment.IdentifierProtocol {
182182 public static func identifier (id : String ,
183183 content : String ) - > Self {
184184 .make(fields : [(name : \\" id\\ " , value : id ), (name : \\" content\\ " , value : content )])
@@ -261,10 +261,10 @@ extension ModelCompositePk {
261261
262262extension ModelCompositePk: ModelIdentifiable {
263263 public typealias IdentifierFormat = ModelIdentifierFormat .Custom
264- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
264+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
265265}
266266
267- extension ModelCompositePk.Identifier {
267+ extension ModelCompositePk.IdentifierProtocol {
268268 public static func identifier (id : String ,
269269 dob : Temporal .DateTime ) - > Self {
270270 .make(fields : [(name : \\" id\\ " , value : id ), (name : \\" dob\\ " , value : dob )])
@@ -340,10 +340,10 @@ extension ModelExplicitCustomPk {
340340
341341extension ModelExplicitCustomPk: ModelIdentifiable {
342342 public typealias IdentifierFormat = ModelIdentifierFormat .Custom
343- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
343+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
344344}
345345
346- extension ModelExplicitCustomPk.Identifier {
346+ extension ModelExplicitCustomPk.IdentifierProtocol {
347347 public static func identifier (userId : String ) - > Self {
348348 .make(fields : [(name : \\" userId\\ " , value : userId )])
349349 }
@@ -417,14 +417,8 @@ extension ModelExplicitDefaultPk {
417417}
418418
419419extension ModelExplicitDefaultPk: ModelIdentifiable {
420- public typealias IdentifierFormat = ModelIdentifierFormat .Custom
421- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
422- }
423-
424- extension ModelExplicitDefaultPk.Identifier {
425- public static func identifier (id : String ) - > Self {
426- .make(fields : [(name : \\" id\\ " , value : id )])
427- }
420+ public typealias IdentifierFormat = ModelIdentifierFormat .Default
421+ public typealias IdentifierProtocol = DefaultModelIdentifier <Self >
428422}"
429423`;
430424
@@ -495,7 +489,7 @@ extension ModelImplicitDefaultPk {
495489
496490extension ModelImplicitDefaultPk: ModelIdentifiable {
497491 public typealias IdentifierFormat = ModelIdentifierFormat .Default
498- public typealias Identifier = DefaultModelIdentifier <Self >
492+ public typealias IdentifierProtocol = DefaultModelIdentifier <Self >
499493}"
500494`;
501495
@@ -588,10 +582,10 @@ extension Project {
588582
589583extension Project: ModelIdentifiable {
590584 public typealias IdentifierFormat = ModelIdentifierFormat .Custom
591- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
585+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
592586}
593587
594- extension Project.Identifier {
588+ extension Project.IdentifierProtocol {
595589 public static func identifier (projectId : String ,
596590 name : String ) - > Self {
597591 .make(fields : [(name : \\" projectId\\ " , value : projectId ), (name : \\" name\\ " , value : name )])
@@ -674,10 +668,10 @@ extension Team {
674668
675669extension Team: ModelIdentifiable {
676670 public typealias IdentifierFormat = ModelIdentifierFormat .Custom
677- public typealias Identifier = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
671+ public typealias IdentifierProtocol = ModelIdentifier < Self , ModelIdentifierFormat .Custom >
678672}
679673
680- extension Team.Identifier {
674+ extension Team.IdentifierProtocol {
681675 public static func identifier (teamId : String ,
682676 name : String ) - > Self {
683677 .make(fields : [(name : \\" teamId\\ " , value : teamId ), (name : \\" name\\ " , value : name )])
0 commit comments