-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into 616-diff-style
- Loading branch information
Showing
66 changed files
with
2,743 additions
and
3,540 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
apps/api/prisma/migrations/20231231115803_add_terminal_border_type_property/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- AlterTable | ||
ALTER TABLE "SnippetTerminal" ADD COLUMN "borderType" TEXT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {TString, Type} from '@sinclair/typebox'; | ||
|
||
export const enumLiteral = <T extends string>(values: T[]): TString => { | ||
const literals = values.map(value => Type.Literal(value)); | ||
// TODO: validation should work but type must work as a string... | ||
return Type.Intersect([ | ||
Type.Union(literals), | ||
Type.String(), | ||
]) as unknown as TString; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import newBorderOptionUrl from './data/1-6-0/new-border-option.mp4'; | ||
import startingLineNumberUrl from './data/1-6-0/starting-line-number.mp4'; | ||
import {MdxVideo} from '../src/mdx/Video'; | ||
import {mdxComponents} from '../src/mdx/components'; | ||
|
||
# v1.6.0 | ||
|
||
<mdxComponents.h3>🎨 New Window border options</mdxComponents.h3> | ||
|
||
Editor has been updated allowing to update the window border options. With this update, | ||
a new macOS-like border is now available for everyone. | ||
|
||
You'll be able to update the border type through the new `border` option. | ||
|
||
<MdxVideo src={newBorderOptionUrl} ratio={'4/3'}/> | ||
|
||
## 🖥️ Starting line number | ||
|
||
Thanks to [@alexandercerutti](https://github.com/alexandercerutti), the editor | ||
will now let you decide the starting line number of your code. | ||
|
||
<MdxVideo src={startingLineNumberUrl} ratio={'4/3'} /> | ||
|
||
|
||
## Changes | ||
* feat(app): allow zero padding by [@SarjuHansaliya](https://github.com/SarjuHansaliya) in [!625](https://github.com/riccardoperra/codeimage/pull/625) | ||
* feat(app,api): add line number start option by [@riccardoperra](https://github.com/riccardoperra) in [!624](https://github.com/riccardoperra/codeimage/pull/624) | ||
* feat(app,api) add new border type glass option by [@riccardoperra](https://github.com/riccardoperra) in [!611](https://github.com/riccardoperra/codeimage/pull/611) | ||
|
||
## New Contributors | ||
* [@SarjuHansaliya](https://github.com/SarjuHansaliya) made their first contribution in [!625](https://github.com/riccardoperra/codeimage/pull/625) | ||
* [@alexandercerutti](https://github.com/alexandercerutti) made their first contribution in [!615](https://github.com/riccardoperra/codeimage/issues/615) | ||
|
||
|
||
|
Binary file not shown.
Binary file not shown.
Oops, something went wrong.