WEBVTT

00:00.400 --> 00:01.640
So hard.

00:01.640 --> 00:05.120
Everyone in this video, we need to do the pagination.

00:05.640 --> 00:07.760
Well, let's open the post.

00:08.520 --> 00:13.320
We need to build see very similar with the post over here.

00:13.800 --> 00:14.160
Okay.

00:14.160 --> 00:16.000
Firstly we need to sort that.

00:21.840 --> 00:24.720
Well what we need to sort over here.

00:27.440 --> 00:33.840
Unlike the boss we will start by updating are true.

00:35.960 --> 00:36.440
Okay.

00:36.480 --> 00:44.880
Will be what we call when we update the conversation.

00:45.560 --> 00:47.920
We need to move this on top okay.

00:47.960 --> 00:50.800
We need to move that on top over here okay.

00:51.120 --> 00:52.600
That's the real world example.

00:53.080 --> 00:54.960
I hope you are clear.

00:55.400 --> 01:05.430
And if you don't agree with me, you can feel free to load a creative app, but before that, let me

01:05.470 --> 01:07.590
add the creative art.

01:10.270 --> 01:12.790
For a little bit of TypeScript.

01:18.550 --> 01:20.830
Okay, we already have a time stamps.

01:25.270 --> 01:27.750
After us, we need to move the cursor over here.

01:32.030 --> 01:35.190
And we need a limit number.

01:38.390 --> 01:38.990
Right here.

01:39.310 --> 01:41.270
Let's build.

01:41.270 --> 01:41.790
Very.

01:42.470 --> 01:45.470
Firstly I will separate it into the battery.

01:52.470 --> 01:53.150
Over here.

01:56.910 --> 01:57.270
And.

02:03.620 --> 02:09.300
I can put the records spin any right now.

02:11.420 --> 02:14.580
Okay, let me check if we have a closure.

02:17.180 --> 02:18.060
What we need.

02:18.780 --> 02:20.860
We need to put a query dot.

02:24.900 --> 02:29.500
Let me say worry dot something else.

02:29.540 --> 02:30.540
Very similar.

02:30.580 --> 02:31.020
Right.

02:32.060 --> 02:32.540
Okay.

02:32.900 --> 02:35.740
We are with the last bar.

02:36.540 --> 02:37.100
Okay.

02:37.740 --> 02:41.700
Let's start a new dice crusher.

02:43.740 --> 02:44.620
And what value?

02:44.620 --> 02:45.180
Over here.

02:47.060 --> 02:49.620
And we need the limit.

02:52.260 --> 02:55.380
We may limit plus one.

02:56.340 --> 02:56.860
Okay.

03:01.730 --> 03:03.890
And we cannot lean method over here.

03:07.690 --> 03:14.330
And let me try to copy everything from here with us and return.

03:19.410 --> 03:20.410
I will call this here.

03:20.410 --> 03:22.050
We will converge as.

03:24.530 --> 03:26.250
Much as we await us.

03:28.810 --> 03:29.410
Over here.

03:29.650 --> 03:30.690
Conversation.

03:31.650 --> 03:36.290
And after that, let's return items.

03:39.410 --> 03:39.970
Okay.

03:48.690 --> 03:49.330
Let's buy.

03:51.010 --> 03:51.250
And.

03:56.050 --> 03:57.050
Only that.

03:57.320 --> 04:00.840
And after that we need to build controllers.

04:01.200 --> 04:01.640
Right.

04:04.080 --> 04:05.120
So we assume.

04:08.880 --> 04:10.080
These are controller.

04:10.480 --> 04:13.120
We need to view the transform video.

04:14.200 --> 04:16.480
And we need to fit a little bit over here.

04:18.800 --> 04:20.560
The first one we will limit.

04:26.200 --> 04:30.960
Um where are we limit.

04:34.400 --> 04:35.080
We found.

04:37.760 --> 04:38.320
Value.

04:40.560 --> 04:41.240
Pies.

04:43.800 --> 04:48.720
And crust in pie limit will be number.

05:00.470 --> 05:00.830
Mm.

05:08.950 --> 05:09.630
Let's say.

05:17.590 --> 05:17.990
Mm.

05:18.470 --> 05:19.670
Why let us.

05:21.510 --> 05:23.430
Oh, sorry.

05:24.230 --> 05:25.590
My bad, my bad.

05:29.070 --> 05:32.390
We should put this in a file over here.

05:33.190 --> 05:34.350
I don't know why.

05:38.470 --> 05:38.950
Okay.

05:39.790 --> 05:41.790
And after that, we need the worry.

05:53.870 --> 05:55.470
And so we move that over here.

06:04.580 --> 06:05.100
Okay.

06:05.780 --> 06:08.580
And let's create a little.

06:27.820 --> 06:31.940
Now, let's say what we need for life will be the array for sure.

06:36.620 --> 06:42.020
And now we need to populate the vaccination or not.

06:42.580 --> 06:48.540
Now let's say we actually don't need to populate the paginations.

06:48.820 --> 06:54.940
The reason because if you check right here it very simple UI okay.

06:55.050 --> 07:01.650
We all need the avatars and group name and the last message and all of that.

07:02.050 --> 07:06.010
It can be shown over here, right?

07:06.610 --> 07:10.690
So for that reason, in this case we just need to return.

07:10.730 --> 07:16.330
The ID is group and group name.

07:16.330 --> 07:18.570
Group okay.

07:18.570 --> 07:22.370
Group name and maybe some dice over here.

07:23.010 --> 07:25.130
And also the group media.

07:28.490 --> 07:31.770
Group avatar over here also let me show you.

07:34.050 --> 07:37.010
Guys this code.

07:38.530 --> 07:39.010
Right.

07:39.050 --> 07:39.970
Object ID.

07:44.410 --> 07:46.610
And is group.

07:59.880 --> 08:01.080
Group owners.

08:02.120 --> 08:04.440
We will need group owners, right?

08:05.240 --> 08:09.360
But maybe you can remove that.

08:10.360 --> 08:15.280
Okay, maybe you can put that group owner right here.

08:15.280 --> 08:19.280
Maybe we will miss that for some stuff.

08:20.000 --> 08:21.240
I don't know right now.

08:23.200 --> 08:28.800
So for that reason, in order to make sure right here we will populate.

08:31.840 --> 08:36.080
The group owner over here.

08:37.440 --> 08:37.800
Okay.

08:37.800 --> 08:38.760
Let me say it again.

08:39.400 --> 08:40.200
So say.

08:45.520 --> 08:45.800
Look.

08:45.800 --> 08:46.560
Why a little bit.

08:54.870 --> 08:59.830
Okay, we already got an owner and we need to format it a bit.

09:00.470 --> 09:01.990
Inside here, insert a group of.

09:01.990 --> 09:11.670
Now we only need to type the email id, a email id name.

09:15.030 --> 09:17.550
Email and name over here.

09:29.550 --> 09:30.030
Okay.

09:30.910 --> 09:35.230
And inside here we need to format it a little bit.

09:36.390 --> 09:43.070
We don't want the nested object because it's very poor for performance.

09:44.070 --> 09:44.470
Okay.

09:44.510 --> 09:46.710
Firstly group.

09:48.870 --> 09:52.350
Owner id group.

09:54.380 --> 09:55.060
owner.

09:57.620 --> 09:58.060
Name.

10:03.180 --> 10:05.700
And group owner.

10:05.740 --> 10:06.300
Email.

10:09.500 --> 10:10.060
Okay.

10:11.300 --> 10:15.220
It can be here for a little more.

10:15.260 --> 10:19.180
And because this is the custom, we need to transform.

10:47.820 --> 10:52.930
Again, after we already have a group, we need a group avatar You are right.

10:57.250 --> 10:59.130
So let me ask you somewhere.

11:00.450 --> 11:03.170
Is that a post schema over here?

11:04.730 --> 11:08.730
Sorry, these are the possibility of response.

11:10.170 --> 11:12.090
We will copy this over here.

11:12.570 --> 11:12.890
Okay.

11:12.890 --> 11:14.050
Let's copy that.

11:17.130 --> 11:20.530
Follow me a little bit more and move that over here.

11:21.250 --> 11:25.770
Transform object dot avatar.

11:27.250 --> 11:27.770
Sorry.

11:28.210 --> 11:30.290
Group avatar.

11:34.170 --> 11:34.890
Over here.

12:07.200 --> 12:07.720
Okay.

12:10.800 --> 12:18.040
And plus I want we need half a name for sure.

12:28.800 --> 12:30.880
And createdat and updatedat.

12:57.310 --> 12:59.510
So insert a controller.

13:17.190 --> 13:20.790
Now let me say okay.

13:21.030 --> 13:21.790
Very cool.

13:21.790 --> 13:29.030
We already have the very nice object over here right.

13:30.030 --> 13:32.150
We have some stuff like that.

13:32.310 --> 13:33.710
Very very cool.

13:36.190 --> 13:39.430
So not for this one little.

13:41.910 --> 13:44.110
And very cool.

13:44.150 --> 13:46.230
I hope you understand this video.

13:46.710 --> 13:48.550
I will see you in the next one.
