This repository was archived by the owner on Oct 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
P2-674 Adds exports needed for the apply button #1127
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b9f6afd
First iteration of index.ts exports.
hansjovis 5595b52
improve schema blocks exports
f4114ac
update BlockSuggestions export
increddibelly 6596d21
Fixed some named imports in the schema-blocks package.
hansjovis b5d0773
Fixed imports in schema-blocks tests.
hansjovis 9e0e3b7
Added optional message to BlockValidationResult.
hansjovis 703b242
Merge branch 'P2-704-same-post-and-job-title' of github.com:Yoast/jav…
hansjovis c033ce2
Added MissingBlock named constructor.
hansjovis 17016cd
Refactored SidebarWarningPresenter.
hansjovis 5c41b4f
Added test for BlockValidationResult.
hansjovis 68c3dbd
Fix schema imports.
hansjovis 9249563
Fixed spacing.
hansjovis cfc4bb6
Merge remote-tracking branch 'origin/develop' into P2-704-same-post-a…
hansjovis 9b53b60
Added extra exports needed for the apply button block.
hansjovis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Leaf class | ||
*/ | ||
export default abstract class Leaf { | ||
export abstract class Leaf { | ||
public parent: Leaf; | ||
} |
This file contains hidden or 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: 1 addition & 1 deletion
2
packages/schema-blocks/src/core/blocks/BlockDefinitionRepository.ts
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,4 @@ | ||
export { BlockDefinition, RenderEditProps, RenderSaveProps } from "./BlockDefinition"; | ||
export { getBlockDefinition, registerBlockDefinition } from "./BlockDefinitionRepository"; | ||
export { BlockInstruction } from "./BlockInstruction"; | ||
export { BlockLeaf } from "./BlockLeaf"; |
This file contains hidden or 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,7 @@ | ||
export * from "./blocks"; | ||
export * from "./schema"; | ||
export * from "./validation"; | ||
|
||
export { Leaf } from "./Leaf"; | ||
export { Instruction } from "./Instruction"; | ||
export { Definition } from "./Definition"; |
This file contains hidden or 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
5 changes: 5 additions & 0 deletions
5
packages/schema-blocks/src/core/schema/SchemaDefinitionConfiguration.ts
This file contains hidden or 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,5 @@ | ||
export type SchemaDefinitionConfiguration = { | ||
name: string; | ||
onlyNested?: boolean; | ||
separateInGraph?: boolean; | ||
}; |
This file contains hidden or 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 hidden or 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 hidden or 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,4 @@ | ||
export { SchemaDefinition } from "./SchemaDefinition"; | ||
export { SchemaDefinitionConfiguration } from "./SchemaDefinitionConfiguration"; | ||
export { SchemaInstruction } from "./SchemaInstruction"; | ||
export { SchemaLeaf } from "./SchemaLeaf"; |
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { BlockValidation } from "./BlockValidation"; | ||
import { BlockValidationResult } from "./BlockValidationResult"; | ||
import { RequiredBlockOption } from "./RequiredBlockOption"; | ||
import { RequiredBlock } from "./RequiredBlock"; | ||
import { RecommendedBlock } from "./RecommendedBlock"; | ||
import { SuggestedBlockProperties } from "./SuggestedBlockProperties"; | ||
|
||
export { BlockValidation, BlockValidationResult, RequiredBlockOption, RequiredBlock, RecommendedBlock, SuggestedBlockProperties }; | ||
export { BlockValidation } from "./BlockValidation"; | ||
export { BlockValidationResult } from "./BlockValidationResult"; | ||
export { RequiredBlockOption } from "./RequiredBlockOption"; | ||
export { RequiredBlock } from "./RequiredBlock"; | ||
export { RecommendedBlock } from "./RecommendedBlock"; | ||
export { SuggestedBlockProperties } from "./SuggestedBlockProperties"; |
This file contains hidden or 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
Empty file.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.