refactor(ivy): Update @publicApi to @codeGenApi on ivy instructions (#29820)
- Removes `@publicApi` annotation from ivy instructions - Adds new `@codeGenApi` annotation to ivy instructions - Updates ts_api_guardian to support the new annotation properly PR Close #29820
This commit is contained in:
@ -39,7 +39,7 @@ let _renderCompCount = 0;
|
||||
* });
|
||||
* }
|
||||
* ```
|
||||
* @publicApi
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔdefineComponent<T>(componentDefinition: {
|
||||
/**
|
||||
@ -305,7 +305,7 @@ export function ΔdefineComponent<T>(componentDefinition: {
|
||||
}
|
||||
|
||||
/**
|
||||
* @publicApi
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔsetComponentScope(
|
||||
type: ComponentType<any>, directives: Type<any>[], pipes: Type<any>[]): void {
|
||||
@ -332,7 +332,7 @@ export function extractPipeDef(type: PipeType<any>): PipeDef<any> {
|
||||
}
|
||||
|
||||
/**
|
||||
* @publicApi
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔdefineNgModule<T>(def: {
|
||||
/** Token representing the module. Used by DI. */
|
||||
@ -376,7 +376,7 @@ export function ΔdefineNgModule<T>(def: {
|
||||
* marked pure to tree-shake it from the bundle, allowing for all referenced declarations
|
||||
* to become eligible for tree-shaking as well.
|
||||
*
|
||||
* @publicApi
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔsetNgModuleScope(type: any, scope: {
|
||||
/** List of components, directives, and pipes declared by this module. */
|
||||
@ -488,7 +488,7 @@ function invertObject<T>(
|
||||
*
|
||||
* @param baseDefinition The base definition parameters
|
||||
*
|
||||
* @publicApi
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔdefineBase<T>(baseDefinition: {
|
||||
/**
|
||||
@ -570,7 +570,7 @@ export function ΔdefineBase<T>(baseDefinition: {
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @publicApi
|
||||
* @codeGenApi
|
||||
*/
|
||||
export const ΔdefineDirective = ΔdefineComponent as any as<T>(directiveDefinition: {
|
||||
/**
|
||||
@ -688,7 +688,7 @@ export const ΔdefineDirective = ΔdefineComponent as any as<T>(directiveDefinit
|
||||
* ```
|
||||
* @param pipeDef Pipe definition generated by the compiler
|
||||
*
|
||||
* @publicApi
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔdefinePipe<T>(pipeDef: {
|
||||
/** Name of the pipe. Used for matching pipes in template to pipe defs. */
|
||||
|
Reference in New Issue
Block a user