+1
-10
consumer.go
+1
-10
consumer.go
······-if err := p.handleCreate(ctx, *rec, evt.Time, evt.Rev, did.String(), collection.String(), rkey.String(), reccid.String()); err != nil {+if err := p.handleCreate(ctx, *rec, evt.Time, evt.Rev, did.String(), collection.String(), rkey.String(), reccid.String(), fmt.Sprintf("%d", evt.Seq)); err != nil {if err := p.handleDelete(ctx, did.String(), collection.String(), rkey.String()); err != nil {
+31
-2
handle_create.go
+31
-2
handle_create.go
···-func (p *Photocopy) handleCreate(ctx context.Context, recb []byte, indexedAt, rev, did, collection, rkey, cid string) error {+func (p *Photocopy) handleCreate(ctx context.Context, recb []byte, indexedAt, rev, did, collection, rkey, cid, seq string) error {···+func (p *Photocopy) handleCreateRecord(ctx context.Context, did, rkey, collection, cid string, raw []byte, seq string) error {
+13
handle_delete.go
+13
handle_delete.go
···
-1
models.go
-1
models.go
···
+9
models/delete.go
+9
models/delete.go
+13
models/record.go
+13
models/record.go
+28
photocopy.go
+28
photocopy.go
······