Skip to content

Commit 8e76d7b

Browse files
authored
chore: fix formatting (#16750)
1 parent 9749ba1 commit 8e76d7b

File tree

26 files changed

+124
-94
lines changed

26 files changed

+124
-94
lines changed

.github/ISSUE_TEMPLATE/feature_request.md

+2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ assignees: ""
4949
(Share it here.)
5050

5151
---
52+
5253
##### House rules
54+
5355
- If this issue has a `🚨 needs approval` label, don't start coding yet. Wait until a core member approves feature request by removing this label, then you can start coding.
5456
- For clarity: Non-core member issues automatically get the `🚨 needs approval` label.
5557
- Your feature ideas are invaluable to us! However, they undergo review to ensure alignment with the product's direction.

CONTRIBUTING.md

+12-9
Original file line numberDiff line numberDiff line change
@@ -177,24 +177,25 @@ Do not commit your `yarn.lock` unless you've made changes to the `package.json`.
177177

178178
If your last commit has the `yarn.lock` file alongside other files and you only wish to uncommit the `yarn.lock`:
179179

180-
```bash
181-
git checkout HEAD~1 yarn.lock
182-
git commit -m "Revert yarn.lock changes"
183-
```
180+
```bash
181+
git checkout HEAD~1 yarn.lock
182+
git commit -m "Revert yarn.lock changes"
183+
```
184184

185185
_NB_: You may have to bypass the pre-commit hook with by appending `--no-verify` to the git commit
186186
If you've pushed the commit with the `yarn.lock`:
187187

188-
1. Correct the commit locally using the above method.
189-
2. Carefully force push:
188+
1. Correct the commit locally using the above method.
189+
2. Carefully force push:
190190

191-
```bash
192-
git push origin <your-branch-name> --force
193-
```
191+
```bash
192+
git push origin <your-branch-name> --force
193+
```
194194

195195
If `yarn.lock` was committed a while ago and there have been several commits since, you can use the following steps to revert just the `yarn.lock` changes without impacting the subsequent changes:
196196

197197
1. **Checkout a Previous Version**:
198+
198199
- Find the commit hash before the `yarn.lock` was unintentionally committed. You can do this by viewing the Git log:
199200

200201
```bash
@@ -208,13 +209,15 @@ If `yarn.lock` was committed a while ago and there have been several commits sin
208209
```
209210

210211
2. **Commit the Reverted Version**:
212+
211213
- After checking out the previous version of the `yarn.lock`, commit this change:
212214

213215
```bash
214216
git commit -m "Revert yarn.lock to its state before unintended changes"
215217
```
216218

217219
3. **Proceed with Caution**:
220+
218221
- If you need to push this change, first pull the latest changes from your remote branch to ensure you're not overwriting other recent changes:
219222
220223
```bash

README.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ yarn dx
175175

176176
Add `NEXT_PUBLIC_LOGGER_LEVEL={level}` to your .env file to control the logging verbosity for all tRPC queries and mutations.\
177177
Where {level} can be one of the following:
178-
178+
179179
`0` for silly \
180180
`1` for trace \
181181
`2` for debug \
@@ -187,14 +187,14 @@ Where {level} can be one of the following:
187187
When you set `NEXT_PUBLIC_LOGGER_LEVEL={level}` in your .env file, it enables logging at that level and higher. Here's how it works:
188188

189189
The logger will include all logs that are at the specified level or higher. For example: \
190+
190191
- If you set `NEXT_PUBLIC_LOGGER_LEVEL=2`, it will log from level 2 (debug) upwards, meaning levels 2 (debug), 3 (info), 4 (warn), 5 (error), and (fatal) will be logged. \
191192
- If you set `NEXT_PUBLIC_LOGGER_LEVEL=3`, it will log from level 3 (info) upwards, meaning levels 3 (info), 4 (warn), 5 (error), and 6 (fatal) will be logged, but level 2 (debug) and level 1 (trace) will be ignored. \
192193

193-
194-
195194
```sh
196195
echo 'NEXT_PUBLIC_LOGGER_LEVEL=3' >> .env
197196
```
197+
198198
for Logger level to be set at info, for example.
199199

200200
#### Gitpod Setup
@@ -417,25 +417,25 @@ Cal.com, Inc. is a commercial open source company, which means some parts of thi
417417
> [!NOTE]
418418
> Our philosophy is simple, all "Singleplayer APIs" are open-source under AGPLv3. All commercial "Multiplayer APIs" are under a commercial license.
419419
420-
| | AGPLv3 | EE |
421-
|---|---|---|
422-
| Self-host for commercial purposes || |
423-
| Clone privately |||
424-
| Fork publicly |||
425-
| Requires CLA | ||
426-
| Official Support| ❌ ||
427-
| Derivative work privately |||
428-
| SSO |||
429-
| Admin Panel |||
430-
| Impersonation |||
431-
| Managed Event Types |||
432-
| Organizations |||
433-
| Payments |||
434-
| Platform |||
435-
| Teams |||
436-
| Users |||
437-
| Video |||
438-
| Workflows |||
420+
| | AGPLv3 | EE |
421+
| --------------------------------- | ------ | --- |
422+
| Self-host for commercial purposes | | |
423+
| Clone privately | ||
424+
| Fork publicly | | |
425+
| Requires CLA | ||
426+
|  Official Support | ❌  | |
427+
| Derivative work privately | | |
428+
|  SSO | | |
429+
| Admin Panel | | |
430+
| Impersonation | | |
431+
| Managed Event Types | | |
432+
| Organizations | | |
433+
| Payments | | |
434+
| Platform | | |
435+
| Teams | | |
436+
| Users | | |
437+
| Video | | |
438+
| Workflows | | |
439439

440440
> [!TIP]
441441
> We work closely with the community and always invite feedback about what should be open and what is fine to be commercial. This list is not set and stone and we have moved things from commercial to open in the past. Please open a [discussion](https://github.com/calcom/cal.com/discussions) if you feel like something is wrong.

apps/api/v2/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Copy `.env.example` to `.env` and fill values.
4444

4545
## Add license Key to deployments table in DB
4646

47-
id, logo theme licenseKey agreedLicenseAt
48-
1, null, null, 'c4234812-12ab-42s6-a1e3-55bedd4a5bb7', '2023-05-15 21:39:47.611'
47+
id, logo theme licenseKey agreedLicenseAt
48+
1, null, null, 'c4234812-12ab-42s6-a1e3-55bedd4a5bb7', '2023-05-15 21:39:47.611'
4949

5050
your CALCOM_LICENSE_KEY env var need to contain the same value
5151

apps/web/app/_trpc/trpc-provider.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ export const TrpcProvider: React.FC<{ children: React.ReactNode; dehydratedState
5555
// adds pretty logs to your console in development and logs errors in production
5656
loggerLink({
5757
enabled: (opts) =>
58-
(typeof process.env.NEXT_PUBLIC_LOGGER_LEVEL === 'number' && process.env.NEXT_PUBLIC_LOGGER_LEVEL >= 0) || (opts.direction === "down" && opts.result instanceof Error),
58+
(typeof process.env.NEXT_PUBLIC_LOGGER_LEVEL === "number" &&
59+
process.env.NEXT_PUBLIC_LOGGER_LEVEL >= 0) ||
60+
(opts.direction === "down" && opts.result instanceof Error),
5961
}),
6062
splitLink({
6163
// check for context property `skipBatch`

example-apps/credential-sync/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ This is an example app that acts as the source of truth for Cal.com Apps credent
66
`yarn dev` starts the server on port 5100. After this open http://localhost:5100 and from there you would be able to manage the tokens for various Apps.
77

88
## Endpoints
9-
http://localhost:5100/api/getToken should be set as the value of env variable CALCOM_CREDENTIAL_SYNC_ENDPOINT in Cal.com
9+
10+
http://localhost:5100/api/getToken should be set as the value of env variable CALCOM_CREDENTIAL_SYNC_ENDPOINT in Cal.com

infra/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Infrastructure Folder
2-
This folder, located within the "infra" directory of our monorepo, is dedicated to managing the infrastructure as code (IaC) and Docker-related files for our project. It plays a critical role in orchestrating, configuring, and maintaining the infrastructure that our applications rely on.
32

3+
This folder, located within the "infra" directory of our monorepo, is dedicated to managing the infrastructure as code (IaC) and Docker-related files for our project. It plays a critical role in orchestrating, configuring, and maintaining the infrastructure that our applications rely on.

packages/app-store/clic/DESCRIPTION.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
items:
3-
- preview.png
3+
- preview.png
44
- previewcheckins.png
55
- previewcontacts.png
66
- previewcreation.png

packages/app-store/demodesk/DESCRIPTION.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,22 @@ items:
1212
### AI superpowers for your sales meetings
1313

1414
#### Coach and onboard sellers with AI-based insights
15+
1516
- Automatically record all meetings, GDPR & MiFID compliant
1617
- Transcribe and summarize meetings using Demodesk’s AI
1718
- Coach teams along conversational metrics and scorecards
1819
- Automatically log key information into your CRM
1920

2021
#### Schedule more customer meetings, on auto-pilot
22+
2123
- Let customers schedule time without email back-and-forth
2224
- Qualify website leads and route them to the right person
2325
- Automate and control handoff processes in your team
2426
- Automate admin work and sync interactions to your CRM
2527

2628
#### Run secure video meetings that convert into revenue
29+
2730
- Host professional, secure video meetings without downloads
2831
- Engage customers with interactive screen sharing
2932
- Coach sellers in real-time along standardized playbooks
30-
- Automate preparation, follow-up and CRM documentation
33+
- Automate preparation, follow-up and CRM documentation

packages/app-store/linear/DESCRIPTION.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ items:
66
{DESCRIPTION}
77

88
### Overview
9+
910
The Linear integration with Google calendar allows you to connect your calendar and automate your status. If your teammates need to know whether you’re out of office, now they will.
1011

1112
### How it works
13+
1214
Once connected, your Linear status will detect out of office events in Google calendar and update your status when those events are upcoming or active.
1315

1416
### To Configure
17+
1518
Install Google Calendar from your Linear settings under My Account > Linked accounts.
1619

1720
Connect your account and sign into your Google account to allow access.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
items:
3-
- pipedrive-banner.jpeg
3+
- pipedrive-banner.jpeg
44
---
55

66
{DESCRIPTION}

packages/app-store/pipedrive-crm/README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
#### Obtaining Pipedrive Client ID and Secret
44

5-
* Open [Pipedrive Developers Corner](https://developers.pipedrive.com/) and sign in to your account, or create a new one
6-
* Go to Settings > (company name) Developer Hub
7-
* Create a Pipedrive app, using the steps mentioned [here](https://pipedrive.readme.io/docs/marketplace-creating-a-proper-app#create-an-app-in-5-simple-steps)
8-
* You can skip this step and use the default revert Pipedrive app
9-
* Set `https://app.revert.dev/oauth-callback/pipedrive` as a callback url for your app
10-
* **Get your client\_id and client\_secret**:
11-
* Go to the "OAuth & access scopes" tab of your app
12-
* Copy your client\_id and client\_secret
5+
- Open [Pipedrive Developers Corner](https://developers.pipedrive.com/) and sign in to your account, or create a new one
6+
- Go to Settings > (company name) Developer Hub
7+
- Create a Pipedrive app, using the steps mentioned [here](https://pipedrive.readme.io/docs/marketplace-creating-a-proper-app#create-an-app-in-5-simple-steps)
8+
- You can skip this step and use the default revert Pipedrive app
9+
- Set `https://app.revert.dev/oauth-callback/pipedrive` as a callback url for your app
10+
- **Get your client_id and client_secret**:
11+
- Go to the "OAuth & access scopes" tab of your app
12+
- Copy your client_id and client_secret
1313

1414
#### Obtaining Revert API keys
1515

16-
* Create an account on Revert if you don't already have one. (https://app.revert.dev/sign-up)
17-
* Login to your revert dashboard (https://app.revert.dev/sign-in) and click on `Customize your apps` - `Pipedrive`
18-
* Enter the `client_id` and `client_secret` you copied in the previous step
19-
* Enter the `client_id` and `client_secret` previously copied to `Settings > Admin > Apps > CRM > Pipedrive` by clicking the `Edit` button on the app settings.
16+
- Create an account on Revert if you don't already have one. (https://app.revert.dev/sign-up)
17+
- Login to your revert dashboard (https://app.revert.dev/sign-in) and click on `Customize your apps` - `Pipedrive`
18+
- Enter the `client_id` and `client_secret` you copied in the previous step
19+
- Enter the `client_id` and `client_secret` previously copied to `Settings > Admin > Apps > CRM > Pipedrive` by clicking the `Edit` button on the app settings.

packages/app-store/retell-ai/DESCRIPTION.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,22 @@ items:
1111

1212
Discover the new way to build, test, deploy, and monitor production-ready AI voice agents at scale.
1313

14-
1514
## Robust AI agent building platform
15+
1616
Build and test complex workflows in a matter of minutes, then deploy them via phone call, web call, or anywhere else.
1717

1818
## Preset Functions
19+
1920
Ease of use functions like book a meeting at Cal.com, Call transfer, voicemail dection, etc...
2021

2122
## Humanlike Voice Experience
23+
2224
Lifelike AI conversations with just 600ms latency, smooth turn-taking, and natural back-channeling.
2325

2426
## Multi-lingual Support
27+
2528
Support n+ languages, n+ countries phone numbers
2629

2730
## Effortless Prodcution
31+
2832
Effortlessly handle millions of calls with scalable concurrent calling

packages/app-store/roam/DESCRIPTION.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ items:
33
- 1.jpg
44
- 2.jpg
55
- 3.jpg
6-
76
---
87

98
{DESCRIPTION}
109

1110
Roam makes companies:
11+
1212
- more productive with shorter meetings
1313
- more connected with a map that gives a feeling of working together without meeting
1414
- & Roam saves companies money with our all-in-one bundle
1515

16-
When the whole company is in one HQ, productivity is high, people feel connected to the company. Calendars are emptied. Culture comes back. And companies using Roam benefit from our all-in-one approach to cut tools and save money.
16+
When the whole company is in one HQ, productivity is high, people feel connected to the company. Calendars are emptied. Culture comes back. And companies using Roam benefit from our all-in-one approach to cut tools and save money.

packages/app-store/routing-forms/pages/layout-handler/[...appPages].tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ export async function getServerSideProps(
5757
) {
5858
const component = getComponent(context.params?.pages?.[0] || "");
5959
return component.getServerSideProps?.(context, ...rest) || { props: {} };
60-
}
60+
}

packages/app-store/synthflow/DESCRIPTION.md

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ One of the best ways for a service business to create and close more customers i
1515
1. Easily connect Cal.com with Synthflow using Cal.com API key.
1616
2. Set up actions and define specific booking parameters tailored to your needs.
1717
3. Attach the scheduling action to your assistant. Your AI Voice Assistants can now book appointments directly into live calendars and send instant notifications.
18-

packages/app-store/zapier/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Create the other triggers (booking rescheduled, booking cancelled and meeting en
6262
- Key: ooo_created
6363
- Name: Out Of Office Created
6464
- Noun: OOO Entry
65-
- Description: Triggers when a new Out Of Office entry is created.
65+
- Description: Triggers when a new Out Of Office entry is created.
6666
2. API Configuration (apiKey is set automatically, leave it like it is):
6767
- Trigger Type: REST Hook
6868
- Subscribe: POST `<baseUrl>`/api/integrations/zapier/addSubscription
@@ -76,7 +76,6 @@ Create the other triggers (booking rescheduled, booking cancelled and meeting en
7676
3. Test your API request
7777
4. Note: When creating the ZAP you need to remember that data is stored in the { payload: { oooEntry: { ... } } }
7878

79-
8079
### Set ZAPIER_INVITE_LINK
8180

8281
The invite link can be found under Manage → Sharing.

packages/features/ee/organizations/README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@ From the [Original RFC](https://github.com/calcom/cal.com/issues/7142):
2323
1. `sudo npx hostile set localhost app.cal.local`
2424
2. Add it yourself
2525

26-
6. Add `acme.cal.local` to host file given that the org create for it will be `acme`, otherwise do this for whatever slug will be assigned to the org. This is needed to test org-related public URLs, such as sub-teams, members and event-types.
26+
4. Add `acme.cal.local` to host file given that the org create for it will be `acme`, otherwise do this for whatever slug will be assigned to the org. This is needed to test org-related public URLs, such as sub-teams, members and event-types.
2727

28-
7. Be sure to be logged in with any type of user and visit `/settings/organizations/new` and follow setup steps with the slug matching the org slug from step 3
28+
5. Be sure to be logged in with any type of user and visit `/settings/organizations/new` and follow setup steps with the slug matching the org slug from step 3
2929

30-
8. Log in as admin and go to Settings and under Organizations you will need to accept the newly created organization in order to be operational
30+
6. Log in as admin and go to Settings and under Organizations you will need to accept the newly created organization in order to be operational
3131

32-
9. After finishing the org creation, you will be automatically logged in as the owner of the organization, and the app will be shown in organization mode
32+
7. After finishing the org creation, you will be automatically logged in as the owner of the organization, and the app will be shown in organization mode
3333

3434
### Note
3535

3636
Browsers do not allow camera/mic access on any non-HTTPS hosts except for localhost. To test cal video organization meeting links locally (`app.cal.local/video/[uid]`). You can access the meeting link by replacing app.cal.local with localhost in the URL.
3737

38-
For eg:- Use `http://localhost:3000/video/nAjnkjejuzis99NhN72rGt` instead of `http://app.cal.local:3000/video/nAjnkjejuzis99NhN72rGt`.
38+
For eg:- Use `http://localhost:3000/video/nAjnkjejuzis99NhN72rGt` instead of `http://app.cal.local:3000/video/nAjnkjejuzis99NhN72rGt`.
3939

4040
To get an HTTPS URL for localhost, you can use a tunneling tool such as `ngrok` or [Tunnelmole](https://github.com/robbie-cahill/tunnelmole-client) . Alternatively, you can generate an SSL certificate for your local domain using `mkcert`. Turn off any SSL certificate validation in your HTTPS client (be sure to do this for local only, otherwise its a security risk).
4141

4242
#### Tunnelmole - Open Source Tunnelling Tool:
4343

44-
To install Tunnelmole, execute the command:
44+
To install Tunnelmole, execute the command:
4545

4646
```
4747
curl -O https://install.tunnelmole.com/8dPBw/install && sudo bash install
@@ -59,15 +59,14 @@ View the Tunnelmole [README](https://github.com/robbie-cahill/tunnelmole-client)
5959

6060
#### ngrok - Closed Source Tunnelling Tool:
6161

62-
ngrok is a popular closed source tunneling tool. You can run ngrok using the same port, using the format `ngrok http <port>` replacing `<port>` with your actual port number. For example:
62+
ngrok is a popular closed source tunneling tool. You can run ngrok using the same port, using the format `ngrok http <port>` replacing `<port>` with your actual port number. For example:
6363

6464
```
6565
ngrok http 8000
6666
```
6767

6868
This will generate a public URL that you can use to access your localhost server.
6969

70-
7170
## DNS setup
7271

7372
When a new organization is created, other than not being verified up until the admin accepts it in settings as explained in step 6, a flag gets created that marks the organization as missing DNS setup. That flag get auto-checked by the system upon organization creation when the Cal instance is deployed in Vercel and the subdomain registration was successful. Logging in as admin and going to Settings > Organizations section, you will see that flag as a badge, designed to give admins a glimpe on what is pending in terms of making an organization work. Alongside the mentioned badge, an email gets sent to admins in order to warn them there is a pending action about setting up DNS for the newly created organization to work.

packages/platform/constants/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
this folder contains the constants for the platform
1+
this folder contains the constants for the platform

packages/platform/enums/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Contains enums shared by platform api and packages
22

33
from api-v2 please import from @calcom/platform-enums
44

5-
from any other package please import from @calcom/platform-enums/monorepo
5+
from any other package please import from @calcom/platform-enums/monorepo

0 commit comments

Comments
 (0)